summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_surface.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:33:19 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:33:19 +0200
commitde08a3bc0422a157ed60072710f1fa0a5508cf2a (patch)
treebf47fc671862fb467f2f63facd789198786e3126 /src/lib/ector/software/ector_software_surface.c
parentf603f5ed21977be80f5577ae667c42b42e3669fb (diff)
ector: add reference point to define (0, 0) and don't repeat the same value everywhere.
Diffstat (limited to 'src/lib/ector/software/ector_software_surface.c')
-rw-r--r--src/lib/ector/software/ector_software_surface.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/ector/software/ector_software_surface.c b/src/lib/ector/software/ector_software_surface.c
index e32477ecc0..1999feae68 100644
--- a/src/lib/ector/software/ector_software_surface.c
+++ b/src/lib/ector/software/ector_software_surface.c
@@ -90,5 +90,14 @@ _ector_software_surface_eo_base_destructor(Eo *obj EINA_UNUSED,
90 eo_do_super(obj, ECTOR_SOFTWARE_SURFACE_CLASS, eo_destructor()); 90 eo_do_super(obj, ECTOR_SOFTWARE_SURFACE_CLASS, eo_destructor());
91} 91}
92 92
93static void
94_ector_software_surface_ector_generic_surface_reference_point_set(Eo *obj EINA_UNUSED,
95 Ector_Software_Surface_Data *pd,
96 int x, int y)
97{
98 pd->x = x;
99 pd->y = y;
100}
101
93#include "ector_software_surface.eo.c" 102#include "ector_software_surface.eo.c"
94#include "ector_renderer_software_base.eo.c" 103#include "ector_renderer_software_base.eo.c"