Atton Jonathan wrote: > 2009/8/14 Gustavo Sverzut Barbieri <barbi...@profusion.mobi> > >> On Fri, Aug 14, 2009 at 1:57 PM, Atton Jonathan<jonathan.at...@gmail.com> >> wrote: >>> hey, >>> >>> I am working on an elementary client for eyelight. Currently I display >> the >>> presentation in an elm_scroll container and we can change the size of the >>> presentation with a slider. >>> >>> I need 3 things: >>> - if the content of the scroll widget is smaller than the scroll widget, >>> center the content. >> did you try: evas_object_size_hints_align_set(child, 0.5, 0.5)? Maybe >> it works, maybe it needs implementing/fixing. >> > It seems not working but I need to do some test, layout are a bit complicate >> .< > >> >>> - deactivate the mouse wheel >>> - send an event mouse_wheel, I wish to change the size of the >> presentation >>> with the wheel instead of scrolling. >>> >>> I am ok to write these patchs but I wait yours advises. I don't want >> write a >>> patch for nothing :) >> I guess you can just add an object on top of the scroller to get the >> events. Set it to repeat events, so you get them first, if you handle >> it you just set on_hold flag and scroller should ignore the event... >> if not, just add check for on_hold events in scroller. >> > Work great, I have patch elementary and add the test on on_hold. > The EFL are a treasure of tips. > Because you are now in the field of the best in the industry !!! :)
E has rocked for 15+ years !!! Always on the for-front of things that others want to be !!!!!! dh > >> -- >> Gustavo Sverzut Barbieri >> http://profusion.mobi embedded systems >> -------------------------------------- >> MSN: barbi...@gmail.com >> Skype: gsbarbieri >> Mobile: +55 (19) 9225-2202 >> > > > ------------------------------------------------------------------------------ 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel