summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-06-28 01:24:04 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-06-28 01:24:04 +0000
commita75c6835dba50c8c0362745a3272a3112ac31506 (patch)
tree1f247c1285da0768b0b8a3472ca09d269db325a9 /legacy/emotion/src/bin
parentccac8daa1a34e95033845d15dc1576f3637d5d26 (diff)
that slider on the left.. playes with alpha now...
SVN revision: 10603
Diffstat (limited to 'legacy/emotion/src/bin')
-rw-r--r--legacy/emotion/src/bin/emotion_test_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c
index 266d662614..256717d611 100644
--- a/legacy/emotion/src/bin/emotion_test_main.c
+++ b/legacy/emotion/src/bin/emotion_test_main.c
@@ -602,9 +602,9 @@ video_obj_signal_speed_cb(void *data, Evas_Object *o, const char *emission, cons
602 602
603 ov = data; 603 ov = data;
604 edje_object_part_drag_value_get(o, source, &x, &y); 604 edje_object_part_drag_value_get(o, source, &x, &y);
605 spd = (y * 20.0) - 10.0; 605 spd = 255 * y;
606 emotion_object_play_speed_set(ov, spd); 606 evas_object_color_set(ov, 255, 255, 255, spd);
607 snprintf(buf, sizeof(buf), "%1.1f", spd); 607 snprintf(buf, sizeof(buf), "%i", spd);
608 edje_object_part_text_set(o, "video_speed_txt", buf); 608 edje_object_part_text_set(o, "video_speed_txt", buf);
609} 609}
610 610
@@ -746,7 +746,7 @@ init_video_object(char *file)
746 edje_object_signal_callback_add(oe, "frame_resize", "stop", video_obj_signal_frame_resize_stop_cb, oe); 746 edje_object_signal_callback_add(oe, "frame_resize", "stop", video_obj_signal_frame_resize_stop_cb, oe);
747 edje_object_signal_callback_add(oe, "mouse,move", "*", video_obj_signal_frame_move_cb, oe); 747 edje_object_signal_callback_add(oe, "mouse,move", "*", video_obj_signal_frame_move_cb, oe);
748 748
749 edje_object_part_drag_value_set(oe, "video_speed", 0.0, 11.0 / 20.0); 749 edje_object_part_drag_value_set(oe, "video_speed", 0.0, 1.0);
750 edje_object_part_text_set(oe, "video_speed_txt", "1.0"); 750 edje_object_part_text_set(oe, "video_speed_txt", "1.0");
751 751
752 edje_object_signal_emit(o, "video_state", "play"); 752 edje_object_signal_emit(o, "video_state", "play");