summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_slider_interval.c
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-10-17 15:45:50 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-10-17 17:16:45 +0900
commit85d4a618a7cefad115cd569d45a3383c6dba56a2 (patch)
tree97320601fd7050f69c898c85936c2a687ff28eee /src/bin/elementary/test_ui_slider_interval.c
parent5798e226d5a583469741aba8054d44e2fa796bea (diff)
slider/progressbar: implement format_string of Efl.Ui.Format
remove the unit_format from Efl.Ui.Range.
Diffstat (limited to 'src/bin/elementary/test_ui_slider_interval.c')
-rw-r--r--src/bin/elementary/test_ui_slider_interval.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/elementary/test_ui_slider_interval.c b/src/bin/elementary/test_ui_slider_interval.c
index cee02ff..518528e 100644
--- a/src/bin/elementary/test_ui_slider_interval.c
+++ b/src/bin/elementary/test_ui_slider_interval.c
@@ -52,7 +52,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
52 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx, 52 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx,
53 efl_text_set(efl_added, "Manual step"), 53 efl_text_set(efl_added, "Manual step"),
54 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(120, 0)), 54 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(120, 0)),
55 efl_ui_range_unit_format_set(efl_added, "%1.1f units"), 55 efl_ui_format_string_set(efl_added, "%1.1f units"),
56 efl_ui_slider_indicator_format_set(efl_added, "%1.1f"), 56 efl_ui_slider_indicator_format_set(efl_added, "%1.1f"),
57 efl_ui_slider_interval_value_set(efl_added, 0.4, 0.9), 57 efl_ui_slider_interval_value_set(efl_added, 0.4, 0.9),
58 efl_ui_slider_step_set(efl_added, step), 58 efl_ui_slider_step_set(efl_added, step),
@@ -61,7 +61,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
61 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx, 61 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, bx,
62 efl_text_set(efl_added, "Disabled"), 62 efl_text_set(efl_added, "Disabled"),
63 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(120, 0)), 63 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(120, 0)),
64 efl_ui_range_unit_format_set(efl_added, "%1.0f units"), 64 efl_ui_format_string_set(efl_added, "%1.0f units"),
65 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"), 65 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"),
66 efl_ui_range_min_max_set(efl_added, 10, 145), 66 efl_ui_range_min_max_set(efl_added, 10, 145),
67 efl_ui_slider_interval_value_set(efl_added, 50, 100), 67 efl_ui_slider_interval_value_set(efl_added, 50, 100),
@@ -76,7 +76,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
76 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx, 76 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx,
77 efl_text_set(efl_added, "Vertical"), 77 efl_text_set(efl_added, "Vertical"),
78 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)), 78 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)),
79 efl_ui_range_unit_format_set(efl_added, "%1.0f units"), 79 efl_ui_format_string_set(efl_added, "%1.0f units"),
80 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"), 80 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"),
81 efl_ui_range_min_max_set(efl_added, 10, 145), 81 efl_ui_range_min_max_set(efl_added, 10, 145),
82 efl_ui_slider_interval_value_set(efl_added, 50, 100), 82 efl_ui_slider_interval_value_set(efl_added, 50, 100),
@@ -87,7 +87,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
87 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx, 87 efl_add(EFL_UI_SLIDER_INTERVAL_CLASS, hbx,
88 efl_text_set(efl_added, "Disabled"), 88 efl_text_set(efl_added, "Disabled"),
89 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)), 89 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(0, 160)),
90 efl_ui_range_unit_format_set(efl_added, "%1.0f units"), 90 efl_ui_format_string_set(efl_added, "%1.0f units"),
91 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"), 91 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"),
92 efl_ui_range_min_max_set(efl_added, 10, 145), 92 efl_ui_range_min_max_set(efl_added, 10, 145),
93 efl_ui_slider_interval_value_set(efl_added, 50, 100), 93 efl_ui_slider_interval_value_set(efl_added, 50, 100),
@@ -100,7 +100,7 @@ test_slider_interval(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
100 efl_text_set(efl_added, "Limited (100-500)"), 100 efl_text_set(efl_added, "Limited (100-500)"),
101 efl_ui_slider_indicator_visible_mode_set(efl_added, EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS), 101 efl_ui_slider_indicator_visible_mode_set(efl_added, EFL_UI_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS),
102 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(260, 0)), 102 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(260, 0)),
103 efl_ui_range_unit_format_set(efl_added, "%1.0f units"), 103 efl_ui_format_string_set(efl_added, "%1.0f units"),
104 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"), 104 efl_ui_slider_indicator_format_set(efl_added, "%1.0f"),
105 efl_ui_range_min_max_set(efl_added, 0, 600), 105 efl_ui_range_min_max_set(efl_added, 0, 600),
106 efl_ui_slider_interval_value_set(efl_added, 100, 500), 106 efl_ui_slider_interval_value_set(efl_added, 100, 500),