From 297a8569e20888486337aa31734fc7c5852701ef Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 20 Oct 2011 22:23:29 +0000 Subject: [PATCH] more reordering git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64213 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_genlist.c | 136 +++++++++++++++++++++++++------------------------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 172687a..b9c7c92 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -14,6 +14,74 @@ typedef struct _Item_Block Item_Block; typedef struct _Pan Pan; typedef struct _Item_Cache Item_Cache; +struct _Elm_Genlist_Item +{ + Elm_Widget_Item base; + EINA_INLIST; + Widget_Data *wd; + const Elm_Genlist_Item_Class *itc; + Elm_Genlist_Item *parent; + Item_Block *block; + Eina_List *items; + Evas_Coord x, y, w, h, minw, minh; + Elm_Genlist_Item *group_item; + Elm_Genlist_Item_Flags flags; + struct + { + Evas_Smart_Cb func; + const void *data; + } func; + + Evas_Object *spacer; + Eina_List *labels, *icons, *states, *icon_objs; + Eina_List *mode_labels, *mode_icons, *mode_states, *mode_icon_objs; + Ecore_Timer *long_timer; + Ecore_Timer *swipe_timer; + Evas_Coord dx, dy; + Evas_Coord scrl_x, scrl_y, old_scrl_y; + + Elm_Genlist_Item *rel; + Evas_Object *mode_view; + + struct + { + const void *data; + Elm_Tooltip_Item_Content_Cb content_cb; + Evas_Smart_Cb del_cb; + const char *style; + Eina_Bool free_size : 1; + } tooltip; + + const char *mouse_cursor; + + int relcount; + int walking; + int expanded_depth; + int order_num_in; + + Eina_Bool before : 1; + + Eina_Bool want_unrealize : 1; + Eina_Bool want_realize : 1; + Eina_Bool realized : 1; + Eina_Bool selected : 1; + Eina_Bool highlighted : 1; + Eina_Bool expanded : 1; + Eina_Bool disabled : 1; + Eina_Bool display_only : 1; + Eina_Bool mincalcd : 1; + Eina_Bool queued : 1; + Eina_Bool showme : 1; + Eina_Bool delete_me : 1; + Eina_Bool down : 1; + Eina_Bool dragging : 1; + Eina_Bool updateme : 1; + Eina_Bool nocache : 1; + Eina_Bool stacking_even : 1; + Eina_Bool nostacking : 1; + Eina_Bool move_effect_enabled : 1; +}; + struct _Widget_Data { Eina_Inlist_Sorted_State *state; @@ -96,74 +164,6 @@ struct _Item_Block Eina_Bool must_recalc : 1; }; -struct _Elm_Genlist_Item -{ - Elm_Widget_Item base; - EINA_INLIST; - Widget_Data *wd; - Item_Block *block; - Eina_List *items; - Evas_Coord x, y, w, h, minw, minh; - const Elm_Genlist_Item_Class *itc; - Elm_Genlist_Item *parent; - Elm_Genlist_Item *group_item; - Elm_Genlist_Item_Flags flags; - struct - { - Evas_Smart_Cb func; - const void *data; - } func; - - Evas_Object *spacer; - Eina_List *labels, *icons, *states, *icon_objs; - Eina_List *mode_labels, *mode_icons, *mode_states, *mode_icon_objs; - Ecore_Timer *long_timer; - Ecore_Timer *swipe_timer; - Evas_Coord dx, dy; - Evas_Coord scrl_x, scrl_y, old_scrl_y; - - Elm_Genlist_Item *rel; - Evas_Object *mode_view; - - struct - { - const void *data; - Elm_Tooltip_Item_Content_Cb content_cb; - Evas_Smart_Cb del_cb; - const char *style; - Eina_Bool free_size : 1; - } tooltip; - - const char *mouse_cursor; - - int relcount; - int walking; - int expanded_depth; - int order_num_in; - - Eina_Bool before : 1; - - Eina_Bool want_unrealize : 1; - Eina_Bool want_realize : 1; - Eina_Bool realized : 1; - Eina_Bool selected : 1; - Eina_Bool highlighted : 1; - Eina_Bool expanded : 1; - Eina_Bool disabled : 1; - Eina_Bool display_only : 1; - Eina_Bool mincalcd : 1; - Eina_Bool queued : 1; - Eina_Bool showme : 1; - Eina_Bool delete_me : 1; - Eina_Bool down : 1; - Eina_Bool dragging : 1; - Eina_Bool updateme : 1; - Eina_Bool nocache : 1; - Eina_Bool stacking_even : 1; - Eina_Bool nostacking : 1; - Eina_Bool move_effect_enabled : 1; -}; - struct _Item_Cache { EINA_INLIST; -- 2.7.4