summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_buffer.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-12 15:19:38 -0400
committerCedric BAIL <cedric@osg.samsung.com>2018-03-13 15:14:50 -0700
commit45c143a64f3334f523d538d4e6a68edee7ff9d7a (patch)
treeeca871207488863385fac0ed6099881a0e035214 /src/lib/ecore_evas/ecore_evas_buffer.c
parent363ea8676e25049972bb9273e926b14a07f54941 (diff)
ecore_evas: implement the move method for basic buffer canvas
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_buffer.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index dcb9fa13f1..efa729cb0b 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -38,6 +38,16 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
38} 38}
39 39
40static void 40static void
41_ecore_evas_move(Ecore_Evas *ee, int x, int y)
42{
43 Ecore_Evas_Engine_Buffer_Data *bdata = ee->engine.data;
44
45 if (bdata->image) return;
46 ee->x = ee->req.x = x;
47 ee->y = ee->req.y = y;
48}
49
50static void
41_ecore_evas_resize(Ecore_Evas *ee, int w, int h) 51_ecore_evas_resize(Ecore_Evas *ee, int w, int h)
42{ 52{
43 Evas_Engine_Info_Buffer *einfo; 53 Evas_Engine_Info_Buffer *einfo;
@@ -637,7 +647,7 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
637 NULL, 647 NULL,
638 NULL, 648 NULL,
639 NULL, 649 NULL,
640 NULL, 650 _ecore_evas_move,
641 NULL, 651 NULL,
642 _ecore_evas_resize, 652 _ecore_evas_resize,
643 _ecore_evas_move_resize, 653 _ecore_evas_move_resize,