summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2015-06-19 13:01:46 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2015-06-26 10:30:21 +0900
commit3c655aa5ae2c4361526cade434c726be41baea59 (patch)
treec0929fad9b7ba5a6fed97964228543419432baec
parentdd31aac227c250a12dc59647eb58325eadb5ec7a (diff)
downloadelementary-3c655aa5ae2c4361526cade434c726be41baea59.tar.gz
layout: Add more description for layout's internal smart data members.
-rw-r--r--src/lib/elm_widget_layout.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/lib/elm_widget_layout.h b/src/lib/elm_widget_layout.h
index 0e0871c54..a8c5e1719 100644
--- a/src/lib/elm_widget_layout.h
+++ b/src/lib/elm_widget_layout.h
@@ -72,19 +72,20 @@ struct _Elm_Layout_Part_Alias_Description
*/
typedef struct _Elm_Layout_Smart_Data
{
- Evas_Object *obj; /* The object itself */
- Eina_List *subs; /**< List of Elm_Layout_Sub_Object_Data structs, to hold the actual sub objects */
- Eina_List *edje_signals;
- Eina_List *parts_cursors;
- const char *klass, *group;
+ Evas_Object *obj; /**< The object itself */
+ 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. */
+ Eina_List *edje_signals; /**< The list of edje signal callbacks. */
+ Eina_List *parts_cursors; /**< The list of cursor names of layout parts. This is a list of Elm_Layout_Sub_Object_Cursor struct. */
+ const char *klass; /**< 1st identifier of an edje object group which is used in theme_set. klass and group are used together. */
+ const char *group; /**< 2nd identifier of an edje object group which is used in theme_set. klass and group are used together. */
int frozen; /**< Layout freeze counter */
- Eina_Bool needs_size_calc : 1;
- Eina_Bool restricted_calc_w : 1;
- Eina_Bool restricted_calc_h : 1;
+ 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. */
+ Eina_Bool restricted_calc_w : 1; /**< This is a flag to support edje restricted_calc in w axis. */
+ Eina_Bool restricted_calc_h : 1; /**< This is a flag to support edje restricted_calc in y axis. */
Eina_Bool can_access : 1; /**< This is true when all text(including textblock) parts can be accessible by accessibility. */
- Eina_Bool destructed_is : 1; /**< This flag indicates if Elm_Layout destructor was called */
- Eina_Bool file_set : 1; /**< This flag indicates if Elm_Layout source file is set */
+ Eina_Bool destructed_is : 1; /**< This flag indicates if Elm_Layout destructor was called. This is needed to avoid unnecessary calculation of subobject deletion during layout object's deletion. */
+ Eina_Bool file_set : 1; /**< This flag indicates if Elm_Layout source is set from a file*/
} Elm_Layout_Smart_Data;
/**