summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_slider_interval.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2018-03-06 15:52:35 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2018-03-06 16:25:41 +0900
commitf5b0cd2b3b9531a4bb7dea2c7b78ed2177725087 (patch)
tree515d5062dfa3853a118a41ef2a3924d6d6551e6c /src/bin/elementary/test_ui_slider_interval.c
parent6d9d978fafc2e970c4b5805a84b1d93fec731d86 (diff)
Efl.Ui.Slider: implement Efl.Ui.Range.range_step_set/get()
Also move elm_slider_step_set/get() as legacy APIs. remove eo api step.set/get() as well since range intf already implements it.
Diffstat (limited to 'src/bin/elementary/test_ui_slider_interval.c')
-rw-r--r--src/bin/elementary/test_ui_slider_interval.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_ui_slider_interval.c b/src/bin/elementary/test_ui_slider_interval.c
index 1e7f4cf..46b202b0 100644
--- a/src/bin/elementary/test_ui_slider_interval.c
+++ b/src/bin/elementary/test_ui_slider_interval.c
@@ -56,7 +56,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
56 efl_ui_format_string_set(efl_added, "%1.1f units"), 56 efl_ui_format_string_set(efl_added, "%1.1f units"),
57 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.1f"), 57 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.1f"),
58 efl_ui_slider_interval_value_set(efl_added, 0.4, 0.9), 58 efl_ui_slider_interval_value_set(efl_added, 0.4, 0.9),
59 efl_ui_slider_step_set(efl_added, step), 59 efl_ui_range_step_set(efl_added, step),
60 efl_pack(bx, efl_added)); 60 efl_pack(bx, efl_added));
61 61
62 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx, 62 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx,
@@ -66,7 +66,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
66 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 66 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
67 efl_ui_range_min_max_set(efl_added, 10, 145), 67 efl_ui_range_min_max_set(efl_added, 10, 145),
68 efl_ui_slider_interval_value_set(efl_added, 50, 100), 68 efl_ui_slider_interval_value_set(efl_added, 50, 100),
69 efl_ui_slider_step_set(efl_added, step), 69 efl_ui_range_step_set(efl_added, step),
70 elm_object_disabled_set(efl_added, EINA_TRUE), 70 elm_object_disabled_set(efl_added, EINA_TRUE),
71 efl_pack(bx, efl_added)); 71 efl_pack(bx, efl_added));
72 72
@@ -81,7 +81,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
81 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 81 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
82 efl_ui_range_min_max_set(efl_added, 10, 145), 82 efl_ui_range_min_max_set(efl_added, 10, 145),
83 efl_ui_slider_interval_value_set(efl_added, 50, 100), 83 efl_ui_slider_interval_value_set(efl_added, 50, 100),
84 efl_ui_slider_step_set(efl_added, step), 84 efl_ui_range_step_set(efl_added, step),
85 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL), 85 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL),
86 efl_pack(hbx, efl_added)); 86 efl_pack(hbx, efl_added));
87 87
@@ -91,7 +91,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
91 efl_ui_format_string_set(efl_added, "%1.0f units"), 91 efl_ui_format_string_set(efl_added, "%1.0f units"),
92 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 92 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
93 efl_ui_range_min_max_set(efl_added, 10, 145), 93 efl_ui_range_min_max_set(efl_added, 10, 145),
94 efl_ui_slider_step_set(efl_added, step), 94 efl_ui_range_step_set(efl_added, step),
95 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL), 95 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL),
96 elm_object_disabled_set(efl_added, EINA_TRUE), 96 elm_object_disabled_set(efl_added, EINA_TRUE),
97 efl_pack(hbx, efl_added)); 97 efl_pack(hbx, efl_added));
@@ -104,7 +104,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
104 efl_ui_format_string_set(efl_added, "%1.0f units"), 104 efl_ui_format_string_set(efl_added, "%1.0f units"),
105 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 105 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
106 efl_ui_range_min_max_set(efl_added, 10, 145), 106 efl_ui_range_min_max_set(efl_added, 10, 145),
107 efl_ui_slider_step_set(efl_added, step), 107 efl_ui_range_step_set(efl_added, step),
108 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL), 108 efl_ui_direction_set(efl_added, EFL_UI_DIR_VERTICAL),
109 efl_pack(hbx, efl_added)); 109 efl_pack(hbx, efl_added));
110 110
@@ -117,7 +117,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
117 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"), 117 efl_ui_format_string_set(efl_part(efl_added, "indicator"), "%1.0f"),
118 efl_ui_range_min_max_set(efl_added, 0, 600), 118 efl_ui_range_min_max_set(efl_added, 0, 600),
119 efl_ui_slider_interval_value_set(efl_added, 100, 500), 119 efl_ui_slider_interval_value_set(efl_added, 100, 500),
120 efl_ui_slider_step_set(efl_added, step), 120 efl_ui_range_step_set(efl_added, step),
121 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _intv_slider_changed_cb, NULL), 121 efl_event_callback_add(efl_added, EFL_UI_SLIDER_EVENT_CHANGED, _intv_slider_changed_cb, NULL),
122 efl_pack(bx, efl_added)); 122 efl_pack(bx, efl_added));
123} 123}