summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-12-05 14:39:20 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-12-05 16:18:32 +0900
commit7b3fde4d4b9047b39a1dc0c7794500364f689325 (patch)
tree67f5cf82a90013a6540743dac327e70a16c87466 /src/tests/emotion
parentb3435831f71a22c738849ddfa407e9bd7a0f4625 (diff)
edje: rename intf Efl.Canvas.Layout.Signal to Efl.Layout.Signal
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/emotion_test_main-eo.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tests/emotion/emotion_test_main-eo.c b/src/tests/emotion/emotion_test_main-eo.c
index 66bcfa922f..d3e4218408 100644
--- a/src/tests/emotion/emotion_test_main-eo.c
+++ b/src/tests/emotion/emotion_test_main-eo.c
@@ -434,7 +434,7 @@ video_obj_signal_play_cb(void *data, Evas_Object *o, const char *emission EINA_U
434{ 434{
435 Evas_Object *ov = data; 435 Evas_Object *ov = data;
436 emotion_object_play_set(ov, EINA_TRUE); 436 emotion_object_play_set(ov, EINA_TRUE);
437 efl_canvas_layout_signal_emit(o, "video_state", "play"); 437 efl_layout_signal_emit(o, "video_state", "play");
438} 438}
439 439
440static void 440static void
@@ -442,7 +442,7 @@ video_obj_signal_pause_cb(void *data, Evas_Object *o, const char *emission EINA_
442{ 442{
443 Evas_Object *ov = data; 443 Evas_Object *ov = data;
444 emotion_object_play_set(ov, EINA_FALSE); 444 emotion_object_play_set(ov, EINA_FALSE);
445 efl_canvas_layout_signal_emit(o, "video_state", "pause"); 445 efl_layout_signal_emit(o, "video_state", "pause");
446} 446}
447 447
448static void 448static void
@@ -451,7 +451,7 @@ video_obj_signal_stop_cb(void *data, Evas_Object *o, const char *emission EINA_U
451 Evas_Object *ov = data; 451 Evas_Object *ov = data;
452 emotion_object_play_set(ov, EINA_FALSE); 452 emotion_object_play_set(ov, EINA_FALSE);
453 emotion_object_position_set(ov, 0.0); 453 emotion_object_position_set(ov, 0.0);
454 efl_canvas_layout_signal_emit(o, "video_state", "stop"); 454 efl_layout_signal_emit(o, "video_state", "stop");
455} 455}
456 456
457static void 457static void
@@ -634,22 +634,22 @@ init_video_object(const char *module_filename, const char *filename)
634 634
635 efl_event_callback_array_add(o, emotion_object_test_callbacks(), oe); 635 efl_event_callback_array_add(o, emotion_object_test_callbacks(), oe);
636 636
637 efl_canvas_layout_signal_callback_add(oe, "video_control", "play", video_obj_signal_play_cb, o); 637 efl_layout_signal_callback_add(oe, "video_control", "play", video_obj_signal_play_cb, o);
638 efl_canvas_layout_signal_callback_add(oe, "video_control", "pause", video_obj_signal_pause_cb, o); 638 efl_layout_signal_callback_add(oe, "video_control", "pause", video_obj_signal_pause_cb, o);
639 efl_canvas_layout_signal_callback_add(oe, "video_control", "stop", video_obj_signal_stop_cb, o); 639 efl_layout_signal_callback_add(oe, "video_control", "stop", video_obj_signal_stop_cb, o);
640 efl_canvas_layout_signal_callback_add(oe, "drag", "video_progress", video_obj_signal_jump_cb, o); 640 efl_layout_signal_callback_add(oe, "drag", "video_progress", video_obj_signal_jump_cb, o);
641 efl_canvas_layout_signal_callback_add(oe, "drag", "video_alpha", video_obj_signal_alpha_cb, o); 641 efl_layout_signal_callback_add(oe, "drag", "video_alpha", video_obj_signal_alpha_cb, o);
642 efl_canvas_layout_signal_callback_add(oe, "drag", "video_volume", video_obj_signal_vol_cb, o); 642 efl_layout_signal_callback_add(oe, "drag", "video_volume", video_obj_signal_vol_cb, o);
643 efl_canvas_layout_signal_callback_add(oe, "frame_move", "start", video_obj_signal_frame_move_start_cb, oe); 643 efl_layout_signal_callback_add(oe, "frame_move", "start", video_obj_signal_frame_move_start_cb, oe);
644 efl_canvas_layout_signal_callback_add(oe, "frame_move", "stop", video_obj_signal_frame_move_stop_cb, oe); 644 efl_layout_signal_callback_add(oe, "frame_move", "stop", video_obj_signal_frame_move_stop_cb, oe);
645 efl_canvas_layout_signal_callback_add(oe, "frame_resize", "start", video_obj_signal_frame_resize_start_cb, oe); 645 efl_layout_signal_callback_add(oe, "frame_resize", "start", video_obj_signal_frame_resize_start_cb, oe);
646 efl_canvas_layout_signal_callback_add(oe, "frame_resize", "stop", video_obj_signal_frame_resize_stop_cb, oe); 646 efl_layout_signal_callback_add(oe, "frame_resize", "stop", video_obj_signal_frame_resize_stop_cb, oe);
647 efl_canvas_layout_signal_callback_add(oe, "mouse, move", "*", video_obj_signal_frame_move_cb, oe); 647 efl_layout_signal_callback_add(oe, "mouse, move", "*", video_obj_signal_frame_move_cb, oe);
648 efl_ui_drag_value_set(efl_part(oe, "video_alpha"), 0.0, 1.0); 648 efl_ui_drag_value_set(efl_part(oe, "video_alpha"), 0.0, 1.0);
649 efl_text_set(efl_part(oe, "video_alpha_txt"), "alpha 255"); 649 efl_text_set(efl_part(oe, "video_alpha_txt"), "alpha 255");
650 efl_ui_drag_value_set(efl_part(oe, "video_volume"), 0.0, 0.5); 650 efl_ui_drag_value_set(efl_part(oe, "video_volume"), 0.0, 0.5);
651 efl_text_set(efl_part(oe, "video_volume_txt"), "vol 0.50"); 651 efl_text_set(efl_part(oe, "video_volume_txt"), "vol 0.50");
652 efl_canvas_layout_signal_emit(oe, "video_state", "play"); 652 efl_layout_signal_emit(oe, "video_state", "play");
653 efl_gfx_visible_set(oe, EINA_TRUE); 653 efl_gfx_visible_set(oe, EINA_TRUE);
654} 654}
655 655