On Wed, 7 Mar 2012 16:04:12 +0900 Hyoyoung Chang <hyoyo...@gmail.com> said:

why? here i disagree. this is too much direct control. this way the programmer
easily can make selectable itmes too small for a user to select. the
ELM_OBJECT_NO_SELECT should be and is enough.

reject! :)

> Dear all.
> I made a patch about genlist_item_display_only_set()
> This api consist of setting finger size flag and making item no select mode.
> So I split with two apis.
> 
> +EAPI void
> +elm_genlist_item_select_mode_set(Elm_Object_Item *it,
> +                                 Elm_Object_Select_Mode_Type mode);
> +EAPI void
> +elm_genlist_item_no_finger_size_calc_set(Elm_Object_Item *it,
> Eina_Bool no_finger_size);
> 
> Also two getting apis is added
> 
> +EAPI Eina_Bool
> +elm_genlist_item_no_finger_size_calc_get(const Elm_Object_Item *it);
> +EAPI Elm_Object_Select_Mode_Type
> +elm_genlist_item_select_mode_get(const Elm_Object_Item *it);
> 
> After applied this patch, users can selectively applying finger size
> and item select.
> Such as
> -             elm_genlist_item_display_only_set(git, EINA_TRUE);
> +             elm_genlist_item_no_finger_size_calc_set(git, EINA_TRUE);
> +             elm_genlist_item_select_mode_set(git, ELM_OBJECT_NO_SELECT);
> 
> Thanks


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


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to