On Sat, 01 Aug 2009 16:27:43 +0200 Valentin Brault <[email protected]> said:
> Le vendredi 31 juillet 2009 à 09:32 +1000, Carsten Haitzler a écrit : > > On Wed, 29 Jul 2009 18:33:34 +0200 Valentin Brault <[email protected]> > > said: > > > > > Hello everybody. > > > > > > I have a small suggestion about backgrounds. > > > > > > I currently play with animated backgrounds, and I have thought it would > > > be nice if backgrounds could interact with modules and their events. > > > > > > Example : a background animation which start when i play a song with mpd > > > (via the module mpdule), and which stops when i pause mpd. > > > > > > It seems (to me) this would be interesting and nice. > > > > this is already possible. moduels can access the bg object and emit signals > > to it - or even listen for signals and add callbacks... :) > > > > Yes, but I must modify modules to do that ? The background can't use > events directly ? you must write a module that will take some events, action, thing etc. and emit a signal. it will be very silly to try and do this to everything. you start with the bg - now every window border, menu, menu item, shelf, etc. are all edje objects - you'll now be emitting every event signal to 100's of objects. e will slow to a crawl. that is why there are modules. you can extend things to emit just the things you want to where you want. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
