projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
491f13d
)
ecore_evas: implement the move method for basic buffer canvas
author
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 12 Mar 2018 19:19:38 +0000
(15:19 -0400)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:55 +0000
(20:10 +0900)
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
src/lib/ecore_evas/ecore_evas_buffer.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_evas/ecore_evas_buffer.c
b/src/lib/ecore_evas/ecore_evas_buffer.c
index
24d093d
..
3a2155b
100644
(file)
--- 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)
}
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)
{
Evas_Engine_Info_Buffer *einfo;
@@
-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,