summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 14:35:52 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-16 14:35:52 +0900
commite3b8bcc7710e489021b10374c7dddde877212749 (patch)
tree0f2b00a513b0abfaf9356d71ac2addf3be1704cc /src/lib/evas/include/evas_private.h
parentb0c67adb101d7cab029be0b3c3a400c8d95a4aae (diff)
evas: Change int into a single bit
clean_layer is a bool
Diffstat (limited to 'src/lib/evas/include/evas_private.h')
-rw-r--r--src/lib/evas/include/evas_private.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 2d8bd34b92..25e7a7db39 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1154,10 +1154,7 @@ struct _Evas_Object_Protected_Data
1154 1154
1155 int last_mouse_down_counter; 1155 int last_mouse_down_counter;
1156 int last_mouse_up_counter; 1156 int last_mouse_up_counter;
1157 1157 int last_event_id;
1158 // Daniel: Added because the destructor can't take parameters, at least for the moment
1159 int clean_layer;
1160 int last_event;
1161 Evas_Callback_Type last_event_type; 1158 Evas_Callback_Type last_event_type;
1162 1159
1163 struct { 1160 struct {
@@ -1204,6 +1201,7 @@ struct _Evas_Object_Protected_Data
1204 Eina_Bool efl_del_called : 1; 1201 Eina_Bool efl_del_called : 1;
1205 Eina_Bool no_render : 1; // since 1.15 1202 Eina_Bool no_render : 1; // since 1.15
1206 Eina_Bool legacy : 1; // used legacy constructor 1203 Eina_Bool legacy : 1; // used legacy constructor
1204 Eina_Bool clean_layer : 1; // destructor option
1207 1205
1208 struct { 1206 struct {
1209 Eina_Bool pass_events : 1; 1207 Eina_Bool pass_events : 1;
@@ -1586,7 +1584,7 @@ Evas_Object *evas_object_new(Evas *e);
1586void evas_object_change_reset(Evas_Object *obj); 1584void evas_object_change_reset(Evas_Object *obj);
1587void evas_object_clip_recalc(Evas_Object_Protected_Data *obj); 1585void evas_object_clip_recalc(Evas_Object_Protected_Data *obj);
1588void evas_object_cur_prev(Evas_Object *obj); 1586void evas_object_cur_prev(Evas_Object *obj);
1589void evas_object_free(Evas_Object *obj, int clean_layer); 1587void evas_object_free(Evas_Object *obj, Eina_Bool clean_layer);
1590void evas_object_update_bounding_box(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas_Smart_Data *s); 1588void evas_object_update_bounding_box(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas_Smart_Data *s);
1591void evas_object_inject(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas *e); 1589void evas_object_inject(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas *e);
1592void evas_object_release(Evas_Object *obj, Evas_Object_Protected_Data *pd, int clean_layer); 1590void evas_object_release(Evas_Object *obj, Evas_Object_Protected_Data *pd, int clean_layer);