summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_container.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
new file mode 100644
index 0000000..fc008bb
--- /dev/null
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -0,0 +1,33 @@
1#include "evas_common_private.h"
2#include "evas_private.h"
3
4#include "evas_vg_private.h"
5
6#define MY_CLASS EVAS_VG_CONTAINER_CLASS
7
8void
9_evas_vg_container_eo_base_constructor(Eo *obj, Evas_VG_Container_Data *pd)
10{
11 Eo *parent;
12
13 eo_do_super(obj, MY_CLASS, eo_constructor());
14
15 eo_do(obj, parent = eo_parent_get());
16 if (!eo_isa(obj, EVAS_VG_CONTAINER_CLASS) &&
17 !eo_isa(obj, EVAS_VG_CLASS))
18 {
19 ERR("Parent must be either an Evas_Object_VG or an Evas_VG_Container.");
20 eo_error_set(obj);
21 }
22}
23
24Eina_Bool
25_evas_vg_container_evas_vg_node_bound_get(Eo *obj,
26 Evas_VG_Container_Data *pd,
27 Eina_Rectangle *r)
28{
29 // FIXME: iterate children and get their boundary to
30}
31
32
33#include "evas_vg_container.eo.c"