diff options
Diffstat (limited to 'src/lib/elementary/efl_ui_list_private.h')
-rw-r--r-- | src/lib/elementary/efl_ui_list_private.h | 49 |
1 files changed, 35 insertions, 14 deletions
diff --git a/src/lib/elementary/efl_ui_list_private.h b/src/lib/elementary/efl_ui_list_private.h index 3b02e0a5e9..1385c364a6 100644 --- a/src/lib/elementary/efl_ui_list_private.h +++ b/src/lib/elementary/efl_ui_list_private.h @@ -21,14 +21,14 @@ struct _Efl_Ui_List_Item Elm_Layout *layout; Efl_Future *future; unsigned int index; - Evas_Coord x, y, w, h; + Evas_Coord x, y, minw, minh; + double h, v, wx, wy; Eina_Bool down: 1; Eina_Bool selected: 1; Eina_Bool longpressed : 1; Ecore_Timer *long_timer; }; - typedef struct _Efl_Ui_List_Data Efl_Ui_List_Data; struct _Efl_Ui_List_Data @@ -37,33 +37,45 @@ struct _Efl_Ui_List_Data Evas_Object *hit_rect; Efl_Model *model; - Efl_Orient orient; + Efl_Orient orient; Eina_Bool homogeneous : 1; - Eina_Bool delete_me : 1; Eina_Bool recalc : 1; Eina_Bool on_hold : 1; - Eina_Bool was_selected : 1; struct { - double h, v; - Eina_Bool scalable: 1; + double h, v; + Eina_Bool scalable: 1; } pad; struct { - double h, v; + double h, v; } align; - Eina_List *items, *selected; - Eina_List *realizes; + struct { + double x, y; + } weight; + + struct { + Evas_Coord x, y, w, h; + int start; + int slice; + } realized; + + struct { + Evas_Coord x, y, diff; + Evas_Object *obj; + } pan; + + Eina_List *selected; + Eina_Array *items; Eina_Stringshare *style; Elm_Object_Select_Mode select_mode; Elm_List_Mode mode; - unsigned int re_idx; - Evas_Object *pan_obj; - Eina_Bool pan_changed : 1; - Evas_Coord pan_x, pan_y, minw, minh, dx, dy, rlzw, rlzh; + Evas_Coord minw, minh; Efl_Ui_List_Item *focused; + int avit, avsom, item_count; + Efl_Future *future; }; typedef struct _Efl_Ui_List_Pan_Data Efl_Ui_List_Pan_Data; @@ -75,6 +87,15 @@ struct _Efl_Ui_List_Pan_Data Ecore_Job *resize_job; }; +typedef struct _Efl_Ui_List_Slice Efl_Ui_List_Slice; + +struct _Efl_Ui_List_Slice +{ + Efl_Ui_List_Data *pd; + int newstart, slicestart, newsize; +}; + + #define EFL_UI_LIST_DATA_GET(o, ptr) \ Efl_Ui_List_Data * ptr = efl_data_scope_get(o, EFL_UI_LIST_CLASS) |