summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_list_private.h
diff options
context:
space:
mode:
authorSangHyeon Lee <sh10233.lee@samsung.com>2017-12-20 12:30:29 +0900
committerSangHyeon Lee <sh10233.lee@samsung.com>2017-12-20 15:22:22 +0900
commit0c579c82c3787620f395e7cc34499a064eac4a7f (patch)
tree15a3aa1cbe18eabbf6e8a264c21a9a0c8a3caa71 /src/lib/elementary/efl_ui_list_private.h
parent0d85525dc895a414d0f50d4a7e82049aa0afc69d (diff)
elm: apply new scroll interface in efl_ui_list
Summary: Apply new scroll inteface in efl_ui_list. Test Plan: tested by examples Reviewers: jpeg, eagleeye Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5690
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_list_private.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_list_private.h b/src/lib/elementary/efl_ui_list_private.h
index 607d1fe2b2..5cd1fb3caf 100644
--- a/src/lib/elementary/efl_ui_list_private.h
+++ b/src/lib/elementary/efl_ui_list_private.h
@@ -34,7 +34,8 @@ typedef struct _Efl_Ui_List_Data Efl_Ui_List_Data;
34struct _Efl_Ui_List_Data 34struct _Efl_Ui_List_Data
35{ 35{
36 Eo *obj; 36 Eo *obj;
37 Evas_Object *hit_rect; 37 Eo *scrl_mgr;
38 Efl_Ui_List_Pan *pan_obj;
38 Efl_Model *model; 39 Efl_Model *model;
39 40
40 Efl_Orient orient; 41 Efl_Orient orient;
@@ -61,8 +62,6 @@ struct _Efl_Ui_List_Data
61 int segarray_first; 62 int segarray_first;
62 Efl_Ui_List_SegArray segarray; 63 Efl_Ui_List_SegArray segarray;
63 64
64 Evas_Object *pan_obj;
65
66 Efl_Ui_Layout_Factory *factory; 65 Efl_Ui_Layout_Factory *factory;
67 Eina_List *selected_items; 66 Eina_List *selected_items;
68 // struct { 67 // struct {
@@ -73,6 +72,7 @@ struct _Efl_Ui_List_Data
73 Elm_List_Mode mode; 72 Elm_List_Mode mode;
74 73
75 Efl_Ui_Focus_Manager *manager; 74 Efl_Ui_Focus_Manager *manager;
75 Eina_Rect gmt;
76 Eina_Size2D min; 76 Eina_Size2D min;
77 int /*average_item_size, avsom, */item_count; 77 int /*average_item_size, avsom, */item_count;
78 Efl_Future *slice_future; 78 Efl_Future *slice_future;
@@ -86,6 +86,7 @@ struct _Efl_Ui_List_Data
86 Eina_Bool homogeneous : 1; 86 Eina_Bool homogeneous : 1;
87 Eina_Bool recalc : 1; 87 Eina_Bool recalc : 1;
88 Eina_Bool on_hold : 1; 88 Eina_Bool on_hold : 1;
89 Eina_Bool scrl_freeze : 1;
89}; 90};
90 91
91typedef struct _Efl_Ui_List_Pan_Data Efl_Ui_List_Pan_Data; 92typedef struct _Efl_Ui_List_Pan_Data Efl_Ui_List_Pan_Data;
@@ -93,7 +94,8 @@ typedef struct _Efl_Ui_List_Pan_Data Efl_Ui_List_Pan_Data;
93struct _Efl_Ui_List_Pan_Data 94struct _Efl_Ui_List_Pan_Data
94{ 95{
95 Eo *wobj; 96 Eo *wobj;
96 Evas_Coord x, y, move_diff; 97 Eina_Rect gmt;
98 Evas_Coord move_diff;
97 99
98 Ecore_Job *resize_job; 100 Ecore_Job *resize_job;
99}; 101};