On Wed, 21 Sep 2005 01:15:46 -0400 Jose O Gonzalez <[EMAIL PROTECTED]> babbled:
> > > On Fri, 16 Sep 2005 09:44:08 +0900 Carsten writes: > > On Thu, 15 Sep 2005 19:48:31 -0400 Rodolfo Hansen <[EMAIL PROTECTED]> > > babbled: > > > > > I'm not very familiar with how evas or smart objects are currently > > > structured, > > > but since you are looking for mechanisms for structured event > > handling > > > I was wondering if any of you have thought about using > > statecharts? > > > > > > I work alot with statecharts in my workplace (mostly a GSM Car > > alarm) > > > and have been very curious about > > > implementing statechart behavior in a GUI or graphics related > > stuff... > > > > > > To be honest, I am rather interested in what people who actualy > > write a > > > GUI think about statecharts in general... > > > > if you are talking about what i think you are - thats kind of how > > things work - > > when u move an object evas sees if this obj intersected the poitner > > xo-ord, if > > it did evas tries to determine if the pointer left the object (or > > entered) and > > then calls the enter or leave callbacks accordingly - thus it's > > handlign a > > state transition as such implicitly. > > > > Ummmm... With the current evas CVS, this will only ocurr when > there's a really deep "thaw", ie. if the events_frozen count is < 0. > Only then will the show, hide, move, resize,... functions actually > generate a mouse_move event feed. Is that what you want? err no - i meant that if the canvas is unfrozen (freeze==0) then if u manipulate an object (move, resize, show, hide, raise, lower etc.) evas sees if the change itnersects the pointer and if so generates an event, based on prev and current state. redrawing is more complex in terms that it takes all objects and their states before a render and now and sees what changed and sets up rendering regions accordingly. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel