summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:37:56 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:37:56 +0200
commit9e3cfef8d7e94675b6162b5b406a11397345362e (patch)
tree2cf142608ef650e75bd60478bf3e9d47464cdbed /src/lib/evas/canvas
parent510a3e42e84859d6e883c19c08c9e8ed06ac0d78 (diff)
evas: add missing boung_get and above/below get.
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/efl_vg_gradient_linear.eo1
-rw-r--r--src/lib/evas/canvas/efl_vg_gradient_radial.eo1
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c1
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_linear.c7
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_radial.c5
-rw-r--r--src/lib/evas/canvas/evas_vg_node.c6
6 files changed, 16 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/efl_vg_gradient_linear.eo b/src/lib/evas/canvas/efl_vg_gradient_linear.eo
index bc9c664..8e32309 100644
--- a/src/lib/evas/canvas/efl_vg_gradient_linear.eo
+++ b/src/lib/evas/canvas/efl_vg_gradient_linear.eo
@@ -6,6 +6,7 @@ class Efl.VG.Gradient_Linear (Efl.VG.Gradient, Efl.Gfx.Gradient.Linear)
6 Efl.Gfx.Gradient.Linear.start.get; 6 Efl.Gfx.Gradient.Linear.start.get;
7 Efl.Gfx.Gradient.Linear.end.set; 7 Efl.Gfx.Gradient.Linear.end.set;
8 Efl.Gfx.Gradient.Linear.end.get; 8 Efl.Gfx.Gradient.Linear.end.get;
9 Efl.VG.Base.bound_get;
9 Eo.Base.constructor; 10 Eo.Base.constructor;
10 Eo.Base.destructor; 11 Eo.Base.destructor;
11 } 12 }
diff --git a/src/lib/evas/canvas/efl_vg_gradient_radial.eo b/src/lib/evas/canvas/efl_vg_gradient_radial.eo
index 0d60589..acf0d3b 100644
--- a/src/lib/evas/canvas/efl_vg_gradient_radial.eo
+++ b/src/lib/evas/canvas/efl_vg_gradient_radial.eo
@@ -8,6 +8,7 @@ class Efl.VG.Gradient_Radial (Efl.VG.Gradient, Efl.Gfx.Gradient.Radial)
8 Efl.Gfx.Gradient.Radial.radius.get; 8 Efl.Gfx.Gradient.Radial.radius.get;
9 Efl.Gfx.Gradient.Radial.focal.set; 9 Efl.Gfx.Gradient.Radial.focal.set;
10 Efl.Gfx.Gradient.Radial.focal.get; 10 Efl.Gfx.Gradient.Radial.focal.get;
11 Efl.VG.Base.bound_get;
11 Eo.Base.constructor; 12 Eo.Base.constructor;
12 Eo.Base.destructor; 13 Eo.Base.destructor;
13 } 14 }
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
index e85ff3b..5b5d60e 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -82,5 +82,4 @@ evas_vg_container_add(Efl_VG *parent)
82 return eo_add(EFL_VG_CONTAINER_CLASS, parent); 82 return eo_add(EFL_VG_CONTAINER_CLASS, parent);
83} 83}
84 84
85
86#include "efl_vg_container.eo.c" 85#include "efl_vg_container.eo.c"
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 814bd47..8c152da 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -101,12 +101,17 @@ _efl_vg_gradient_linear_eo_base_constructor(Eo *obj,
101 nd->data = pd; 101 nd->data = pd;
102} 102}
103 103
104void 104static void
105_efl_vg_gradient_linear_eo_base_destructor(Eo *obj, Efl_VG_Gradient_Linear_Data *pd EINA_UNUSED) 105_efl_vg_gradient_linear_eo_base_destructor(Eo *obj, Efl_VG_Gradient_Linear_Data *pd EINA_UNUSED)
106{ 106{
107 eo_do_super(obj, MY_CLASS, eo_destructor()); 107 eo_do_super(obj, MY_CLASS, eo_destructor());
108} 108}
109 109
110static Eina_Bool
111_efl_vg_gradient_linear_efl_vg_base_bound_get(Eo *obj, Efl_VG_Gradient_Linear_Data *pd, Eina_Rectangle *r)
112{
113}
114
110EAPI void 115EAPI void
111evas_vg_gradient_linear_start_set(Eo *obj, double x, double y) 116evas_vg_gradient_linear_start_set(Eo *obj, double x, double y)
112{ 117{
diff --git a/src/lib/evas/canvas/evas_vg_gradient_radial.c b/src/lib/evas/canvas/evas_vg_gradient_radial.c
index d28f9f4..fe4bb78 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_radial.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_radial.c
@@ -124,6 +124,11 @@ _efl_vg_gradient_radial_eo_base_destructor(Eo *obj,
124 eo_do_super(obj, MY_CLASS, eo_destructor()); 124 eo_do_super(obj, MY_CLASS, eo_destructor());
125} 125}
126 126
127static Eina_Bool
128_efl_vg_gradient_radial_efl_vg_base_bound_get(Eo *obj, Efl_VG_Gradient_Radial_Data *pd, Eina_Rectangle *r)
129{
130}
131
127EAPI void 132EAPI void
128evas_vg_gradient_radial_center_set(Eo *obj, double x, double y) 133evas_vg_gradient_radial_center_set(Eo *obj, double x, double y)
129{ 134{
diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c
index c5e96b8..7197f89 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -408,16 +408,16 @@ _efl_vg_base_efl_gfx_stack_lower(Eo *obj, Efl_VG_Base_Data *pd EINA_UNUSED)
408} 408}
409 409
410Efl_Gfx_Stack * 410Efl_Gfx_Stack *
411_efl_vg_base_efl_gfx_stack_below_get(Eo *obj, Efl_VG_Base_Data *pd) 411_efl_vg_base_efl_gfx_stack_below_get(Eo *obj EINA_UNUSED, Efl_VG_Base_Data *pd EINA_UNUSED)
412{ 412{
413 // FIXME: need to implement bound_get 413 // Actually a VG base node won't have any children so nothing stacked below it.
414 return NULL; 414 return NULL;
415} 415}
416 416
417Efl_Gfx_Stack * 417Efl_Gfx_Stack *
418_efl_vg_base_efl_gfx_stack_above_get(Eo *obj, Efl_VG_Base_Data *pd) 418_efl_vg_base_efl_gfx_stack_above_get(Eo *obj, Efl_VG_Base_Data *pd)
419{ 419{
420 // FIXME: need to implement bound_get 420 // FIXME bound get every child of my parent and go up until vg root
421 return NULL; 421 return NULL;
422} 422}
423 423