in svn. thanks^^ 2012년 11월 12일 월요일에 ChunEon Park님이 작성:
> since -> @since in doc. > > > > ------------------------------------ > > -Regards, Hermet- > > -----Original Message----- > From: "Enlightenment SVN"<no-re...@enlightenment.org <javascript:;>> > To: <enlightenment-...@lists.sourceforge.net <javascript:;>>; > Cc: > Sent: 2012-11-12 (월) 16:29:18 > Subject: E SVN: jaehwan IN trunk/elementary: . src/lib > > Log: > Add elm_toolbar_item_show/bring_in. It show or bring a specific item, when > the toolbar can be scrolled. > > > Author: jaehwan > Date: 2012-11-11 23:29:17 -0800 (Sun, 11 Nov 2012) > New Revision: 79134 > Trac: http://trac.enlightenment.org/e/changeset/79134 > > Modified: > trunk/elementary/ChangeLog trunk/elementary/NEWS > trunk/elementary/src/lib/elm_toolbar.c > trunk/elementary/src/lib/elm_toolbar.h > > Modified: trunk/elementary/ChangeLog > =================================================================== > --- trunk/elementary/ChangeLog 2012-11-12 05:53:16 UTC (rev 79133) > +++ trunk/elementary/ChangeLog 2012-11-12 07:29:17 UTC (rev 79134) > @@ -669,3 +669,8 @@ > > * Support virtualkeypad, clipbard state shange signals from > conformant > + > +2012-11-12 Jaehwan Kim > + > + * Add elm_toolbar_item_show/bring_in. > + It show or bring a specific item, when the toolbar can be > scrolled. > > Modified: trunk/elementary/NEWS > =================================================================== > --- trunk/elementary/NEWS 2012-11-12 05:53:16 UTC (rev 79133) > +++ trunk/elementary/NEWS 2012-11-12 07:29:17 UTC (rev 79134) > @@ -13,6 +13,7 @@ > * Add a search API to list all localisations corresponding to a name > in map > * Add elm_notify_align_set/get > * Add virtualkeypad, clipboard state change signals from conformant. > + * Add elm_toolbar_item_show/bring_in. > > Improvements: > > > Modified: trunk/elementary/src/lib/elm_toolbar.c > =================================================================== > --- trunk/elementary/src/lib/elm_toolbar.c 2012-11-12 05:53:16 UTC > (rev 79133) > +++ trunk/elementary/src/lib/elm_toolbar.c 2012-11-12 07:29:17 UTC > (rev 79134) > @@ -3256,3 +3256,35 @@ > > return sd->reorder_mode; > } > + > +EAPI void > +elm_toolbar_item_show(Elm_Object_Item *it) > +{ > + Evas_Coord x, y, w, h, bx, by; > + Elm_Toolbar_Item *item = (Elm_Toolbar_Item *)it; > + > + ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it); > + ELM_TOOLBAR_DATA_GET(WIDGET(item), sd); > + > + evas_object_geometry_get(sd->bx, &bx, &by, NULL, NULL); > + evas_object_geometry_get(VIEW(item), &x, &y, &w, &h); > + x = x - bx; > + y = y - by; > + sd->s_iface->content_region_show(WIDGET(item), x, y, w, h); > +} > + > +EAPI void > +elm_toolbar_item_bring_in(Elm_Object_Item *it) > +{ > + Evas_Coord x, y, w, h, bx, by; > + Elm_Toolbar_Item *item = (Elm_Toolbar_Item *)it; > + > + ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it); > + ELM_TOOLBAR_DATA_GET(WIDGET(item), sd); > + > + evas_object_geometry_get(sd->bx, &bx, &by, NULL, NULL); > + evas_object_geometry_get(VIEW(item), &x, &y, &w, &h); > + x = x - bx; > + y = y - by; > + sd->s_iface->region_bring_in(WIDGET(item), x, y, w, h); > +} > > Modified: trunk/elementary/src/lib/elm_toolbar.h > =================================================================== > --- trunk/elementary/src/lib/elm_toolbar.h 2012-11-12 05:53:16 UTC > (rev 79133) > +++ trunk/elementary/src/lib/elm_toolbar.h 2012-11-12 07:29:17 UTC > (rev 79134) > @@ -998,5 +998,29 @@ > EAPI Eina_Bool elm_toolbar_reorder_mode_get(const > Evas_Object *obj); > > /** > + * Show a specific item, when the toolbar can be scrolled. > + * > + * @param it the toolbar item > + * > + * see elm_toolbar_item_bring_in() > + * > + * since 1.8 > + * @ingroup Toolbar > + */ > +EAPI void elm_toolbar_item_show(Elm_Object_Item > *it); > + > +/** > + * Show a specific item with scroll animation, when the toolbar can be > scrolled. > + * > + * @param it the toolbar item > + * > + * see elm_toolbar_item_show() > + * > + * since 1.8 > + * @ingroup Toolbar > + */ > +EAPI void > elm_toolbar_item_bring_in(Elm_Object_Item *it); > + > +/** > * @} > */ > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net <javascript:;> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_nov > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net <javascript:;> > 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel