ecore_evas: implement the move method for basic buffer canvas

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
This commit is contained in:
Cedric BAIL 2018-03-12 15:19:38 -04:00
parent 363ea8676e
commit 45c143a64f
1 changed files with 11 additions and 1 deletions

View File

@ -37,6 +37,16 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
free(bdata);
}
static void
_ecore_evas_move(Ecore_Evas *ee, int x, int y)
{
Ecore_Evas_Engine_Buffer_Data *bdata = ee->engine.data;
if (bdata->image) return;
ee->x = ee->req.x = x;
ee->y = ee->req.y = y;
}
static void
_ecore_evas_resize(Ecore_Evas *ee, int w, int h)
{
@ -637,7 +647,7 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
NULL,
NULL,
NULL,
NULL,
_ecore_evas_move,
NULL,
_ecore_evas_resize,
_ecore_evas_move_resize,