summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-08-26 16:26:08 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-08-26 16:26:08 +0900
commit03e12fe14823b1ea9e59c97640a1050c838c438f (patch)
tree87df56e0349d7dcf80c887fac33084e4fa4de262 /src/examples/elementary
parentd53e46d76f3eb4f3face03f1f39d0b4a9e7aece3 (diff)
spinner_cxx_example: Fix use wrong api
Summary: de18371 changes cause build errors. (D9707) this is a patch to fix it. Test Plan: N/A Reviewers: woohyun, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9738
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/spinner_cxx_example.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/spinner_cxx_example.cc b/src/examples/elementary/spinner_cxx_example.cc
index 78e1ba3..a6f583f 100644
--- a/src/examples/elementary/spinner_cxx_example.cc
+++ b/src/examples/elementary/spinner_cxx_example.cc
@@ -50,7 +50,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
50 bx.pack_end(sp4); 50 bx.pack_end(sp4);
51 51
52 efl::ui::Spin_Button sp5(instantiate, win); 52 efl::ui::Spin_Button sp5(instantiate, win);
53 sp5.editable_set(false); 53 sp5.direct_text_input_set(false);
54 sp5.hint_fill_set(true, false); 54 sp5.hint_fill_set(true, false);
55 bx.pack_end(sp5); 55 bx.pack_end(sp5);
56 56
@@ -70,7 +70,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
70 }; 70 };
71 efl::eina::accessor<Efl_Ui_Format_Value> values_acc(EINA_C_ARRAY_ACCESSOR_NEW(values)); 71 efl::eina::accessor<Efl_Ui_Format_Value> values_acc(EINA_C_ARRAY_ACCESSOR_NEW(values));
72 efl::ui::Spin_Button sp6(instantiate, win); 72 efl::ui::Spin_Button sp6(instantiate, win);
73 sp6.editable_set(false); 73 sp6.direct_text_input_set(false);
74 sp6.range_limits_set(1, 12); 74 sp6.range_limits_set(1, 12);
75 //sp6.format_values_set(values_acc); 75 //sp6.format_values_set(values_acc);
76 sp6.hint_fill_set(true, false); 76 sp6.hint_fill_set(true, false);
@@ -79,7 +79,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
79 efl::ui::Spin_Button sp7(instantiate, win); 79 efl::ui::Spin_Button sp7(instantiate, win);
80 sp7.hint_fill_set(true, false); 80 sp7.hint_fill_set(true, false);
81 bx.pack_end(sp7); 81 bx.pack_end(sp7);
82 sp7.editable_set(true); 82 sp7.direct_text_input_set(true);
83 83
84 auto changed = std::bind ( [] (efl::ui::Range_Display obj) 84 auto changed = std::bind ( [] (efl::ui::Range_Display obj)
85 { std::cout << "Changed to " << obj.range_value_get() << std::endl; } 85 { std::cout << "Changed to " << obj.range_value_get() << std::endl; }