On Sat, Nov 24, 2012 at 02:20:49PM -0200, Leandro Dorileo wrote:
> Hi Hermet,
> 
> Think about an use case where a registered callback must reacts differently 
> depending on
> which proxy triggered the event, like:
> 
> 1) an evas object gets a callback registered to it
> 2) proxies are created


I forgot to mention that in that use case the proxies creation is 
hidden/wrapped by a subsystem
or library. Like on EPhysics, for soft bodies we create a whole bunch of evas 
objects proxing
an evas object provided by the user(every triangle in a trimesh becomes a 
proxy), the user doesn`t
know about the proxies and doesnt control their life cicle, callbacks are 
registered to the former
evas object in that callback the user can then query EPhysics to make some 
operations on EPhysics
bodies but with soft bodies the user may want to do something but in a specific 
proxy/slice.


> 3) proxy event propagation is enabled with evas_object_image_source_events_set
> 4) callback reacts differently based on which proxy triggered the event.
> 
> 
> Regards....
> 
> On Sat, Nov 24, 2012 at 08:54:34PM +0900, ChunEon Park wrote:
> > Btw, does it really source need to care about proxy in the events?
> > Doesn't it enough to add callbacks to proxy directly if you need to care 
> > something?
> > 
> > 
> > ------------------------------------
> > 
> > -Regards, Hermet-
> > 
> > -----Original Message-----
> > From: "Leandro Dorileo"<[email protected]> 
> > To: "Carsten Haitzler"<[email protected]>; 
> > Cc: "Enlightenment developer 
> > list"<[email protected]>; 
> > Sent: 2012-11-18 (일) 09:49:49
> > Subject: Re: [E-devel] [PATH] evas: add event source evas object
> > 
> > Hi Raster,
> > 
> > On Thu, Nov 15, 2012 at 02:25:38PM +0900, Carsten Haitzler wrote:
> > > On Tue, 13 Nov 2012 11:49:47 -0200 Leandro Dorileo 
> > <dorileo>@profusion.mobi>
> > > said:
> > > 
> > > noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo!
> > > 
> > > this breaks abi.
> > > 
> > > never ADD structure members in the middle of a structure - add them at 
> > the
> > > END... always! at least in public api's!
> > 
> > 
> > Ok, attached goes a version considering the ABI thing. Thank you for 
> > reviewing.
> > 
> > 
> > > 
> > > > Hi,
> > > > 
> > > > Attached patch introduces fields to events Evas_Event_Mouse_* 
> > structures
> > > > to hold the event source evas object in case of evas source events
> > > > propagation.
> > > > 
> > > > Regards....
> > > > 
> > 
> > 
> > Regards....
> > 
> > 
> > -- 
> > Leandro Dorileo
> > ProFUSION embedded systems
> > http://profusion.mobi
> > 
> > ------------------------------------------------------------------------------
> > Monitor your physical, virtual and cloud infrastructure from a single
> > web console. Get in-depth insight into apps, servers, databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > Pricing starts from $795 for 25 servers or applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > _______________________________________________
> > enlightenment-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > 
> > ------------------------------------------------------------------------------
> > Monitor your physical, virtual and cloud infrastructure from a single
> > web console. Get in-depth insight into apps, servers, databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > Pricing starts from $795 for 25 servers or applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > _______________________________________________
> > enlightenment-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> -- 
> Leandro Dorileo
> ProFUSION embedded systems
> http://profusion.mobi

-- 
Leandro Dorileo
ProFUSION embedded systems
http://profusion.mobi

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to