summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget_genlist.h
diff options
context:
space:
mode:
authorGodly T.Alias <godlytalias@yahoo.co.in>2017-11-01 16:11:30 +0900
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>2017-11-01 16:11:30 +0900
commit0496b7988ab8df1c20874ebc81c8ff909aee58e1 (patch)
tree244d508c720e66090c6354ccf736f2325f8c279c /src/lib/elementary/elm_widget_genlist.h
parent9d946fa83985df67c8465757aea52509985775ea (diff)
Genlist Item Pin Feature
Summary: **@feature** T6241 This feature enables genlist to pin an item to viewport which will be available always for user to view/select. **Use Case**: In a big list of music, most times when user finds a song which they like, before playing that they may want to go through the entire list to check whether there is some other good songs, but after seeing the entire list user have to again scroll back to the position of item which they liked to play it then. In this case item pinning can be used, so that the item which they want to keep for future selection can be pinned and then it will remain in viewport, finally when user want to do operation on item, it will be readily available in viewport. Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in> Test Plan: Elementary Test -> Genlist -> Double click on items to enable/disable pinning Reviewers: raster, cedric, prince.dubey, SanghyeonLee Subscribers: rajeshps, jpeg, shilpasingh Tags: #efl Differential Revision: https://phab.enlightenment.org/D5340
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_widget_genlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_widget_genlist.h b/src/lib/elementary/elm_widget_genlist.h
index 5a1f4e8008..5e81cbe8ac 100644
--- a/src/lib/elementary/elm_widget_genlist.h
+++ b/src/lib/elementary/elm_widget_genlist.h
@@ -89,7 +89,7 @@ struct _Elm_Genlist_Data
89 Ecore_Idler *must_recalc_idler; 89 Ecore_Idler *must_recalc_idler;
90 Eina_List *queue; 90 Eina_List *queue;
91 Elm_Gen_Item *show_item, *anchor_item, *mode_item, 91 Elm_Gen_Item *show_item, *anchor_item, *mode_item,
92 *reorder_rel, *expanded_item; 92 *reorder_rel, *expanded_item, *pin_item;
93 Eina_Inlist *item_cache; /* an inlist of 93 Eina_Inlist *item_cache; /* an inlist of
94 * edje object it 94 * edje object it
95 * cache. */ 95 * cache. */
@@ -201,6 +201,7 @@ struct _Elm_Genlist_Data
201 Eina_Bool item_looping_on : 1; 201 Eina_Bool item_looping_on : 1;
202 202
203 Eina_Bool tree_effect_animator : 1; 203 Eina_Bool tree_effect_animator : 1;
204 Eina_Bool pin_item_top : 1;
204}; 205};
205 206
206typedef struct _Item_Block Item_Block; 207typedef struct _Item_Block Item_Block;