diff options
Diffstat (limited to 'src/tests/emotion/emotion_test_main-eo.c')
-rw-r--r-- | src/tests/emotion/emotion_test_main-eo.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tests/emotion/emotion_test_main-eo.c b/src/tests/emotion/emotion_test_main-eo.c index b5848517cc..2d5df2f9ab 100644 --- a/src/tests/emotion/emotion_test_main-eo.c +++ b/src/tests/emotion/emotion_test_main-eo.c @@ -76,7 +76,7 @@ static const char *theme_file = NULL; static void bg_resize(Evas_Coord w, Evas_Coord h) { - efl_gfx_size_set(o_bg, EINA_SIZE2D(w, h)); + efl_gfx_entity_size_set(o_bg, EINA_SIZE2D(w, h)); } static void @@ -113,10 +113,10 @@ bg_setup(void) { o_bg = efl_add(EFL_CANVAS_LAYOUT_CLASS, evas); efl_file_set(o_bg, theme_file, "background"); - efl_gfx_position_set(o_bg, EINA_POSITION2D(0, 0)); - efl_gfx_size_set(o_bg, EINA_SIZE2D(startw, starth)); + efl_gfx_entity_position_set(o_bg, EINA_POSITION2D(0, 0)); + efl_gfx_entity_size_set(o_bg, EINA_SIZE2D(startw, starth)); efl_gfx_stack_layer_set(o_bg, -999); - efl_gfx_visible_set(o_bg, EINA_TRUE); + efl_gfx_entity_visible_set(o_bg, EINA_TRUE); evas_object_focus_set(o_bg, EINA_TRUE); efl_event_callback_add(o_bg, EFL_EVENT_KEY_DOWN, bg_key_down, NULL); } @@ -354,7 +354,7 @@ video_obj_frame_resize_cb(void *data, const Efl_Event *event) evas_object_size_hint_min_set(event->object, iw, ih); edje_object_part_swallow(oe, "video_swallow", event->object); edje_object_size_min_calc(oe, &w, &h); - efl_gfx_size_set(oe, EINA_SIZE2D(w, h)); + efl_gfx_entity_size_set(oe, EINA_SIZE2D(w, h)); evas_object_size_hint_min_set(event->object, 0, 0); edje_object_part_swallow(oe, "video_swallow", event->object); } @@ -557,10 +557,10 @@ video_obj_signal_frame_move_cb(void *data EINA_UNUSED, Evas_Object *o, const cha Eina_Position2D pos; evas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y); - pos = efl_gfx_position_get(o); + pos = efl_gfx_entity_position_get(o); pos.x += (x - fd->x); pos.y += (y - fd->y); - efl_gfx_position_set(o, pos); + efl_gfx_entity_position_set(o, pos); fd->x = x; fd->y = y; } @@ -570,7 +570,7 @@ video_obj_signal_frame_move_cb(void *data EINA_UNUSED, Evas_Object *o, const cha Eina_Size2D sz; evas_pointer_canvas_xy_get(evas_object_evas_get(o), &x, &y); - sz = efl_gfx_size_get(o); + sz = efl_gfx_entity_size_get(o); evas_object_resize(o, sz.w + (x - fd->x), sz.h + (y - fd->y)); fd->x = x; fd->y = y; @@ -628,9 +628,9 @@ init_video_object(const char *module_filename, const char *filename) edje_object_part_swallow(oe, "video_swallow", o); offset = 20 * (eina_list_count(video_objs) - 1); - efl_gfx_position_set(oe, EINA_POSITION2D(offset, offset)); + efl_gfx_entity_position_set(oe, EINA_POSITION2D(offset, offset)); edje_object_size_min_calc(oe, &w, &h); - efl_gfx_size_set(oe, EINA_SIZE2D(w, h)); + efl_gfx_entity_size_set(oe, EINA_SIZE2D(w, h)); efl_event_callback_array_add(o, emotion_object_test_callbacks(), oe); @@ -650,7 +650,7 @@ init_video_object(const char *module_filename, const char *filename) efl_ui_drag_value_set(efl_part(oe, "video_volume"), 0.0, 0.5); efl_text_set(efl_part(oe, "video_volume_txt"), "vol 0.50"); efl_layout_signal_emit(oe, "video_state", "play"); - efl_gfx_visible_set(oe, EINA_TRUE); + efl_gfx_entity_visible_set(oe, EINA_TRUE); } int |