summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorsubhransu mohanty <sub.mohanty@samsung.com>2017-10-23 11:05:34 -0700
committerCedric Bail <cedric@osg.samsung.com>2017-10-23 11:05:38 -0700
commitd26759555737681f454dbf80653a72dc506d355f (patch)
tree025abce62951f7808ba8dd1c8ee8ae5644221026 /src/lib/evas/canvas/evas_vg_private.h
parent74155b6e3424fe2cf9c6a92e0853e627ba865359 (diff)
evas: add set function for root_node property.
Summary: Currently user ask for the root_node from the evas_vg object and then attach its tree by setting the root node as parent. With this change this process will be explicit. user has to set the root node to the evas_vg object and the object will take the ownership of the tree. User can query the current vg_tree by root_node_get api. Test Plan: Fixed the test app to reflects this change. Reviewers: jpeg, cedric Reviewed By: jpeg, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5347 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index ac945bc21a..47003def5b 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -12,14 +12,17 @@ typedef struct _Evas_VG_Data Evas_VG_Data;
12 12
13struct _Evas_VG_Data 13struct _Evas_VG_Data
14{ 14{
15 void *engine_data; 15 void *engine_data;
16 Efl_VG *root; 16 Efl_VG *root;
17 Efl_VG *vg_tree;
17 18
18 Eina_Rect fill; 19 Eina_Rect fill;
19 20
20 unsigned int width, height; 21 unsigned int width, height;
21 22
22 Eina_Array cleanup; 23 Eina_Array cleanup;
24
25 Eina_Bool changed;
23}; 26};
24 27
25struct _Efl_VG_Data 28struct _Efl_VG_Data