aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJi-Youn Park <jy0703.park@samsung.com>2016-06-17 10:30:22 +0830
committerJi-Youn Park <jy0703.park@samsung.com>2016-06-17 10:30:22 +0830
commit76d2778177681cd170dfce4575a0e4c7c2385771 (patch)
tree540237c3a06d30099b89c80e215e28f8b105d829 /src/lib/elementary/efl_ui_win.c
parentefl: Move promise parameter to return in data model (diff)
downloadefl-76d2778177681cd170dfce4575a0e4c7c2385771.tar.gz
efl_ui_win: add some evas feature(pointer, cache ) to efl.canvas and efl_ui_win
evas will be internal, so APIs need to open public are moved efl.canvas eo and efl_ui_win.
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index a037fc5d17..0256465cbb 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2148,6 +2148,54 @@ _efl_ui_win_evas_object_smart_hide(Eo *obj, Efl_Ui_Win_Data *sd)
_elm_win_flush_cache_and_exit(obj);
}
+EOLIAN static void
+_efl_ui_win_efl_canvas_pointer_canvas_xy_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int *x, int *y)
+{
+ evas_pointer_canvas_xy_get(sd->evas, x, y);
+}
+
+EOLIAN static Eina_Bool
+_efl_ui_win_efl_canvas_pointer_inside_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+{
+ return evas_pointer_inside_get(sd->evas);
+}
+
+EOLIAN static Eina_Bool
+_efl_ui_win_efl_canvas_image_max_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int *maxw, int *maxh)
+{
+ return evas_image_max_size_get(sd->evas, maxw, maxh);
+}
+
+EOLIAN static void
+_efl_ui_win_efl_canvas_image_cache_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int size)
+{
+ evas_image_cache_set(sd->evas, size);
+}
+
+EOLIAN static int
+_efl_ui_win_efl_canvas_image_cache_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+{
+ return evas_image_cache_get(sd->evas);
+}
+
+EOLIAN static void
+_efl_ui_win_efl_canvas_font_cache_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int size)
+{
+ evas_font_cache_set(sd->evas, size);
+}
+
+EOLIAN static int
+_efl_ui_win_efl_canvas_font_cache_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+{
+ return evas_font_cache_get(sd->evas);
+}
+
+EOLIAN static void
+_efl_ui_win_efl_canvas_smart_objects_calculate(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
+{
+ evas_smart_objects_calculate(sd->evas);
+}
+
static void
_elm_win_on_parent_del(void *data,
Evas *e EINA_UNUSED,