On Mon, 7 Jan 2013 21:04:41 +0900 Bluezery <ohpo...@gmail.com> said:

:(```
elm_widget.c: In function '_elm_widget_focus_region_show':
elm_widget.c:660:14: warning: implicit declaration of function
'ELM_SCROLLABLE_IFACE_GET' [-Wimplicit-function-declaration]
elm_widget.c:660:42: error: 's_iface' undeclared (first use in this function)
elm_widget.c:660:42: note: each undeclared identifier is reported only once for
each function it appears in
:(...

> It's final fix.  :)
> Previsouly, I do not considerthe case which is in the scroller in the
> scroller. Current logic is that:
> Find scroller in parent objects. And calculate region to focus in the
> scroller. And show focused object.  That's all.
> 
> 2013/1/7 Bluezery <ohpo...@gmail.com>:
> > I have changed patch a little.
> > Region show should be performed only for the objects which implement
> > elm_wdg_focus_region_get(), such as entry.
> > Otherwise, do not show region the object when it is focused.
> >
> > 2013/1/5 Bluezery <ohpo...@gmail.com>:
> >> Hello,
> >>
> >> I have made a patch for fixing region show of widget focus in scroller.
> >> Previously, region show is not correct if focused object is not in the
> >> viewport of ther scroller
> >> Because region show calculation is done only by evas object geometry.
> >> But scroller object can know the viewport region in the scroller. It
> >> is different from evas object geometry.
> >>
> >> In my patch,
> >> if focused object is requested to be shown, focused object calculates
> >> it itself (by elm_widget_focus_region_get)  or evas geometry is
> >> gained.
> >> If parent is not scroller, geometry is changed by this parent for
> >> showing this parent in the scroller if grand parent is scroller.
> >> If parent is scroller, it find out whether the object is in the
> >> viewport of the scroller object (parent) and region to be shown is
> >> calculated.
> >>
> >> Please review this patch.
> >>
> >> --
> >> BRs,
> >> Kim.
> >
> >
> >
> > --
> > BRs,
> > Kim.
> 
> 
> 
> -- 
> BRs,
> Kim.


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


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to