summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_textpath.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-22 12:27:20 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-31 10:18:20 +0200
commitc0082b1c71ed63f982bb4b9aed2af4b50d46dabe (patch)
treecdb98e30f30f4f4c20c52403efdf98f08977a917 /src/bin/elementary/test_ui_textpath.c
parent911eab34207f6f9355f4ed15009d57e079183849 (diff)
efl_ui_range_display: move events from spin
we concluded min,reached and max,reached should be on every widget that implements range_display. This here is the start of that work, the events are moved, next commit fixes all widgets, the last commits enables tests in the spec unit test. ref T7897 ref T7895 Differential Revision: https://phab.enlightenment.org/D9371
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test_ui_textpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_ui_textpath.c b/src/bin/elementary/test_ui_textpath.c
index 111ebe1..8c27688 100644
--- a/src/bin/elementary/test_ui_textpath.c
+++ b/src/bin/elementary/test_ui_textpath.c
@@ -152,7 +152,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
152 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL); 152 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL);
153 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND); 153 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND);
154 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0)); 154 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0));
155 efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _angle_changed_cb, txtpath); 155 efl_event_callback_add(sld, EFL_UI_RANGE_EVENT_CHANGED, _angle_changed_cb, txtpath);
156 elm_box_pack_end(hbox, sld); 156 elm_box_pack_end(hbox, sld);
157 efl_gfx_entity_visible_set(sld, EINA_TRUE); 157 efl_gfx_entity_visible_set(sld, EINA_TRUE);
158 angle_sld = sld; 158 angle_sld = sld;
@@ -164,7 +164,7 @@ test_ui_textpath(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
164 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL); 164 efl_gfx_hint_align_set(sld, 0.5, EVAS_HINT_FILL);
165 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND); 165 efl_gfx_hint_weight_set(sld, EFL_GFX_HINT_EXPAND, EFL_GFX_HINT_EXPAND);
166 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0)); 166 efl_gfx_hint_size_min_set(sld, EINA_SIZE2D(150, 0));
167 efl_event_callback_add(sld, EFL_UI_SLIDER_EVENT_CHANGED, _slice_no_changed_cb, txtpath); 167 efl_event_callback_add(sld, EFL_UI_RANGE_EVENT_CHANGED, _slice_no_changed_cb, txtpath);
168 elm_box_pack_end(hbox, sld); 168 elm_box_pack_end(hbox, sld);
169 efl_gfx_entity_visible_set(sld, EINA_TRUE); 169 efl_gfx_entity_visible_set(sld, EINA_TRUE);
170 slice_sld = sld; 170 slice_sld = sld;