Rearrange structures to reduce padding
[platform/upstream/elementary.git] / src / lib / elm_widget_popup.h
index 4aca309..ecef90c 100644 (file)
@@ -58,6 +58,12 @@ struct _Elm_Popup_Data
    Evas_Display_Mode     dispmode;
    //
 
+   //TIZEN_ONLY(20161107): Supprot scrollable content
+   //FIXME: genlist only now, it should be changed to support other scrollable.
+   Evas_Coord            min_scrollable_content_h;
+   Eina_Bool             scrollable_content: 1;
+   //
+
    Eina_Bool             visible : 1;
    Eina_Bool             scr_size_recalc : 1;
    Eina_Bool             scroll : 1;
@@ -66,12 +72,6 @@ struct _Elm_Popup_Data
    //TIZEN_ONLY(20160624): add a allow eval flag not to call another sizing eval during sizing eval
    Eina_Bool             allow_eval : 1;
    //
-
-   //TIZEN_ONLY(20161107): Supprot scrollable content
-   //FIXME: genlist only now, it should be changed to support other scrollable.
-   Evas_Coord            min_scrollable_content_h;
-   Eina_Bool             scrollable_content: 1;
-   //
 };
 
 typedef struct _Elm_Popup_Item_Data Elm_Popup_Item_Data;
@@ -89,7 +89,7 @@ struct _Action_Area_Data
 {
    Evas_Object *obj;
    Evas_Object *btn;
-   Eina_Bool    delete_me;
+   Eina_Bool    delete_me : 1;
 };
 
 /**