ecore_evas: implement the move method for basic buffer canvas
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
This commit is contained in:
parent
363ea8676e
commit
45c143a64f
|
@ -37,6 +37,16 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
|
||||||
free(bdata);
|
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
|
static void
|
||||||
_ecore_evas_resize(Ecore_Evas *ee, int w, int h)
|
_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,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
_ecore_evas_move,
|
||||||
NULL,
|
NULL,
|
||||||
_ecore_evas_resize,
|
_ecore_evas_resize,
|
||||||
_ecore_evas_move_resize,
|
_ecore_evas_move_resize,
|
||||||
|
|
Loading…
Reference in New Issue