summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_spin_button.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-26 14:21:10 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-08-26 14:21:10 +0900
commitde183719b337332c840562d9332709e9a59ddad8 (patch)
tree09b1ad3b3a5db95b1701bfb8a0de029bbf821e0f /src/bin/elementary/test_ui_spin_button.c
parent2f534b0256c68327dae371d4400ffb643ffc9dfe (diff)
efl_ui_spin_button: rename editable to direct_text_input
Summary: as suggested in T8097. Reviewers: cedric, zmike, woohyun Reviewed By: woohyun Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9707
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test_ui_spin_button.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elementary/test_ui_spin_button.c b/src/bin/elementary/test_ui_spin_button.c
index e6b3135..d6b9a96 100644
--- a/src/bin/elementary/test_ui_spin_button.c
+++ b/src/bin/elementary/test_ui_spin_button.c
@@ -42,7 +42,7 @@ test_ui_spin_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
42 efl_ui_range_value_set(efl_added, 6), 42 efl_ui_range_value_set(efl_added, 6),
43 efl_ui_range_step_set(efl_added, 2), 43 efl_ui_range_step_set(efl_added, 2),
44 efl_ui_spin_button_wraparound_set(efl_added, EINA_TRUE), 44 efl_ui_spin_button_wraparound_set(efl_added, EINA_TRUE),
45 efl_ui_spin_button_editable_set(efl_added, EINA_TRUE), 45 efl_ui_spin_button_direct_text_input_set(efl_added, EINA_TRUE),
46 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_STEADY,_spin_delay_changed_cb, NULL), 46 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_STEADY,_spin_delay_changed_cb, NULL),
47 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _spin_changed_cb, NULL), 47 efl_event_callback_add(efl_added, EFL_UI_RANGE_EVENT_CHANGED, _spin_changed_cb, NULL),
48 efl_pack(bx, efl_added)); 48 efl_pack(bx, efl_added));
@@ -51,13 +51,13 @@ test_ui_spin_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
51 efl_ui_range_limits_set(efl_added, -100.0, 100.0), 51 efl_ui_range_limits_set(efl_added, -100.0, 100.0),
52 efl_ui_range_value_set(efl_added, 0), 52 efl_ui_range_value_set(efl_added, 0),
53 efl_ui_format_string_set(efl_added, "test float %0.2f", EFL_UI_FORMAT_STRING_TYPE_SIMPLE), 53 efl_ui_format_string_set(efl_added, "test float %0.2f", EFL_UI_FORMAT_STRING_TYPE_SIMPLE),
54 efl_ui_spin_button_editable_set(efl_added, EINA_FALSE), 54 efl_ui_spin_button_direct_text_input_set(efl_added, EINA_FALSE),
55 efl_pack(bx, efl_added)); 55 efl_pack(bx, efl_added));
56 56
57 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx, 57 efl_add(EFL_UI_SPIN_BUTTON_CLASS, bx,
58 efl_ui_range_limits_set(efl_added, 1, 12), 58 efl_ui_range_limits_set(efl_added, 1, 12),
59 efl_ui_range_value_set(efl_added, 1), 59 efl_ui_range_value_set(efl_added, 1),
60 efl_ui_spin_button_editable_set(efl_added, EINA_FALSE), 60 efl_ui_spin_button_direct_text_input_set(efl_added, EINA_FALSE),
61 efl_ui_format_values_set(efl_added, EINA_C_ARRAY_ACCESSOR_NEW(special_values)), 61 efl_ui_format_values_set(efl_added, EINA_C_ARRAY_ACCESSOR_NEW(special_values)),
62 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL), 62 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL),
63 efl_pack(bx, efl_added)); 63 efl_pack(bx, efl_added));