summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget_layout.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-01-26 16:56:53 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit756f4cee0e32cb662c4728f64b83b31b5c3f4107 (patch)
tree60371ea029f88c7f32ca07989a089c676be99712 /src/lib/elementary/elm_widget_layout.h
parent8093eca7f32395fa52fc1ae3d2a690623ebbdbb7 (diff)
elementary: migrate Efl.Ui.Layout to use the new Efl.Model API.
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_widget_layout.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_widget_layout.h b/src/lib/elementary/elm_widget_layout.h
index a0833b6fc3..5b871790ac 100644
--- a/src/lib/elementary/elm_widget_layout.h
+++ b/src/lib/elementary/elm_widget_layout.h
@@ -53,9 +53,16 @@ typedef struct _Elm_Layout_Smart_Data
53 Eina_List *subs; /**< List of Elm_Layout_Sub_Object_Data structs, to hold the actual sub objects such as text, content and the children of box and table. */ 53 Eina_List *subs; /**< List of Elm_Layout_Sub_Object_Data structs, to hold the actual sub objects such as text, content and the children of box and table. */
54 Eina_List *edje_signals; /**< The list of edje signal callbacks. */ 54 Eina_List *edje_signals; /**< The list of edje signal callbacks. */
55 Eina_List *parts_cursors; /**< The list of cursor names of layout parts. This is a list of Elm_Layout_Sub_Object_Cursor struct. */ 55 Eina_List *parts_cursors; /**< The list of cursor names of layout parts. This is a list of Elm_Layout_Sub_Object_Cursor struct. */
56 Eina_List *prop_connect; /**< The list of properties connected to layout parts. */ 56
57 Eina_Hash *factories; /**< The hash with parts connected to factories. */ 57 struct {
58 Efl_Model *model; /**< The model */ 58 Eina_Hash *properties; /**< The list of properties connected to layout parts. */
59 Eina_Hash *signals; /**< The list of signals connected. */
60 Eina_Hash *factories; /**< The hash with parts connected to factories. */
61 Efl_Model *model; /**< The model */
62
63 Eina_Bool updating : 1;
64 } connect;
65
59 int frozen; /**< Layout freeze counter */ 66 int frozen; /**< Layout freeze counter */
60 67
61 Eina_Bool needs_size_calc : 1; /**< This flas is set true when the layout sizing eval is already requested. This defers sizing evaluation until smart calculation to avoid unnecessary calculation. */ 68 Eina_Bool needs_size_calc : 1; /**< This flas is set true when the layout sizing eval is already requested. This defers sizing evaluation until smart calculation to avoid unnecessary calculation. */
@@ -64,7 +71,6 @@ typedef struct _Elm_Layout_Smart_Data
64 Eina_Bool can_access : 1; /**< This is true when all text(including textblock) parts can be accessible by accessibility. */ 71 Eina_Bool can_access : 1; /**< This is true when all text(including textblock) parts can be accessible by accessibility. */
65 Eina_Bool destructed_is : 1; /**< This flag indicates if Efl.Ui.Layout destructor was called. This is needed to avoid unnecessary calculation of subobject deletion during layout object's deletion. */ 72 Eina_Bool destructed_is : 1; /**< This flag indicates if Efl.Ui.Layout destructor was called. This is needed to avoid unnecessary calculation of subobject deletion during layout object's deletion. */
66 Eina_Bool file_set : 1; /**< This flag indicates if Efl.Ui.Layout source is set from a file*/ 73 Eina_Bool file_set : 1; /**< This flag indicates if Efl.Ui.Layout source is set from a file*/
67 Eina_Bool view_updated : 1; /**< This flag indicates to Efl.Ui.Layout don't update model in text_set */
68} Efl_Ui_Layout_Object_Data; 74} Efl_Ui_Layout_Object_Data;
69 75
70/** 76/**