Thanks!
I'll commit this after seunggyun's patch is committed.

Daniel Juyung Seo (SeoZ)

On Mon, Apr 18, 2011 at 7:51 PM, Carsten Haitzler <ras...@rasterman.com>wrote:

> On Mon, 18 Apr 2011 15:18:43 +0900 Daniel Juyung Seo <seojuyu...@gmail.com
> >
> said:
>
> should i bitch about the little things? :) like stick:
>
> +   const char       *mode_type;
> +   Elm_Genlist_Item *mode_item;
> +   Ecore_Timer      *scr_hold_timer;
>
> next to some other ptrs in the struct. better struct packing (tho yes its
> after
> a double so it wont matter in real life - just in principal it matters).
> actually that's about it. :)
>
> no further bitching. i like. +1.
>
> > Any suggestion about API or anything?
> >
> > According to the youtube video, it looks like this feature is related to
> the
> > effect.
> > So I thought using elm_genlist_item_effect_mode_set() will be fine
> before.
> >
> > But it is not. Because the effect is described in edc.
> > There is nothing to do with effect in genlist source code.
> > So I will keep using elm_genlist_item_mode_set() if there is no comment.
> >
> > Thanks.
> > Daniel Juyung Seo (SeoZ)
> >
> > On Mon, Apr 18, 2011 at 10:08 AM, Daniel Juyung Seo
> > <juyung....@samsung.com>wrote:
> >
> > > Dear all,
> > > I introduce a new concept to genlist.
> > > I named it "genlist mode" after I discussed it with raster.
> > > Using this feature, one can activate/deactivate any mode(effect) to an
> > > item.
> > > The mode is defined in genlist item edc.
> > >
> > > You can watch a sample video on youtube.
> > > http://www.youtube.com/watch?v=ZPbwpzwwiS8
> > > I created two sample mode: Slide and Rotate.
> > >
> > > [Feature Description]
> > >  - One can activate a specific mode to an item.
> > >  - One item is activated at one time while others are deactivated.
> > >  - Genlist handles deactivating other items when one item is activated.
> > >  - There are two different view: before activated, after activated.
> > >  - Genlist creates the second view when the first view is activated.
> > >    Usually the first view is animated.
> > >  - Genlist destroys the second view when the item finishes
> deactivating.
> > >  - Creating/Destroying the second view on the fly gives performance
> > > enhancement because there is no reason to hold all objects in two views
> all
> > > the time.
> > >  - Mode is defined in genlist edc so one can easily add it more.
> > >  - Mode edc style is separated from normal genlist styles. One can
> combine
> > > any genlist style with mode edc style.
> > >
> > > [API]
> > >  - EAPI void elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char
> > > *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
> > >    Activate/Deactivate a mode to an item.
> > >  - EAPI const char *elm_genlist_mode_get(const Evas_Object *obj)
> > > EINA_ARG_NONNULL(1);
> > >    Get activated mode name.
> > >  - EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const
> Evas_Object
> > > *obj) EINA_ARG_NONNULL(1);
> > >    Get activated item.
> > >
> > > [Structure]
> > >  - Elm_Genlist_Item
> > >    Added const char *mode_item_style;
> > >
> > > [Usage]
> > >  - Set mode style name to genlist item class.
> > >    itc.mode_item_style = "mode";
> > >  - Activated mode to an item whenever you want.
> > >    elm_genlist_item_mode_set(it, "slide", EINA_TRUE);
> > >
> > > Please review this patch, if there is no issues I will commit this to
> > > upstream.
> > > Thanks.
> > >
> > > Daniel Juyung Seo (SeoZ)
> > >
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Benefiting from Server Virtualization: Beyond Initial Workload
> > > Consolidation -- Increasing the use of server virtualization is a top
> > > priority.Virtualization can reduce costs, simplify management, and
> improve
> > > application availability and disaster protection. Learn more about
> boosting
> > > the value of server virtualization.
> http://p.sf.net/sfu/vmware-sfdev2dev
> > > _______________________________________________
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > Benefiting from Server Virtualization: Beyond Initial Workload
> > Consolidation -- Increasing the use of server virtualization is a top
> > priority.Virtualization can reduce costs, simplify management, and
> improve
> > application availability and disaster protection. Learn more about
> boosting
> > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
>
> --
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to