On Fri, 01 May 2009 11:59:45 +0200 Viktor Kojouharov <vkojouha...@gmail.com>
said:

> On Fri, 2009-05-01 at 10:33 +1000, Carsten Haitzler wrote:
> > On Fri, 01 May 2009 02:02:01 +0200 Viktor Kojouharov <vkojouha...@gmail.com>
> > said:
> > 
> > > I've updated the patch with a few fixes and also with sending a message
> > > with all the info that can be used to reproduce the animation (see line
> > > 249). The question is, how easy would be for a designer to use this info
> > > and create the parallax effect in edje? I don't know embryo that much,
> > > but I haven't seen a way to run a program and specify a transition for
> > > it as well.
> > 
> > as per my previous mail - look at e_fwin.c - in fact COPY the code that is
> > in _e_fwin_pan_scroll_update(). ALL you need to do is figure out pan.x/y,
> > pan.max_x/max_y and pan.w/h for the desktop while scrolling.
> > 
> > pan.w/h would be the size of the zone (zone->w,h). pan.x/y would be top-left
> > x,y of the desktop relative to all the virtual desktops. i.e. pan.x =
> > desk->x * zone->w, pan.y = desk->y * zone->h (and of course you need to
> > interpolate this as you slide/switch desks) and pan.max_x =
> > (e_config->zone_desks_x_count - 1) * zone->w (and same for y).
> > 
> > i'm sure you can figure out the rest :) and you have a working example bg
> > (the fileman one) to test with (and build off). you'll get the idea.
> > 
> 
> And here's patch number three. I'm sending the same info that the fwin
> is sending (current pos, total drag size and total size). It works great
> so far. The only difference is that the bg_object itself slides from the
> scrollframe, whereas the fwin bg theme needs to handle all the moving.
> 
> I could also look for a data item in the bg edje, which would tell me
> whether I should not scroll the bg object itself, and let the edje
> handle all changes, for ever more freedom in theming. Though I think
> that by default, the bg object should scroll with desk change, since it
> doesn't require any themeing (the user can just use a larger image, and
> it will scroll without any edc programming).
> 
> cast: http://www.youtube.com/watch?v=AqUcbp0VvPc
> 
> p.s.: raster, since you have a bunch of screencasts on your site, what
> program do you use to record the screen?

i'e used several - xvidcap, enthrall and some other one i cant remember...

btw - good job on the scrolly bg thing. now i need to just make a slick,
minimal yet nice scrollable bg... something involving landscapes...


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to