summaryrefslogtreecommitdiff
path: root/src/examples/elementary/radio_cxx_example_01.cc
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-12-19 14:18:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 14:25:08 +0900
commit54c09d64f6625c72f685d7ae79e3ac79d8074987 (patch)
tree6c21fe6e66d7f65d309972f16b17e2b5e13e81d5 /src/examples/elementary/radio_cxx_example_01.cc
parent434e7b4470bdf180523646b54ae75952719359c0 (diff)
eolian_cxx: Fix cxx build after evt changes
Summary: Examples and libeolian_cxx api changes Reviewers: jpeg, felipealmeida Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5673
Diffstat (limited to 'src/examples/elementary/radio_cxx_example_01.cc')
-rw-r--r--src/examples/elementary/radio_cxx_example_01.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/elementary/radio_cxx_example_01.cc b/src/examples/elementary/radio_cxx_example_01.cc
index 6fb410c89c..5a3f30c75e 100644
--- a/src/examples/elementary/radio_cxx_example_01.cc
+++ b/src/examples/elementary/radio_cxx_example_01.cc
@@ -32,7 +32,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
32 auto cb_val = std::bind([] (efl::ui::Radio &obj) 32 auto cb_val = std::bind([] (efl::ui::Radio &obj)
33 { std::cout << "val is now: " << obj.value_get() << std::endl; }, 33 { std::cout << "val is now: " << obj.value_get() << std::endl; },
34 std::placeholders::_1); 34 std::placeholders::_1);
35 efl::eolian::event_add(efl::ui::Radio::changed_event, radio, cb_val); 35 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio, cb_val);
36 36
37 efl::ui::Radio radio2(instantiate, win); 37 efl::ui::Radio radio2(instantiate, win);
38 radio2.text_set("Radio 2"); 38 radio2.text_set("Radio 2");
@@ -43,20 +43,20 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
43 ic2.icon_set("file"); 43 ic2.icon_set("file");
44 radio2.content_set(ic2); 44 radio2.content_set(ic2);
45 bx.pack_end(radio2); 45 bx.pack_end(radio2);
46 efl::eolian::event_add(efl::ui::Radio::changed_event, radio2, cb_val); 46 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio2, cb_val);
47 47
48 efl::ui::Radio radio3(instantiate, win); 48 efl::ui::Radio radio3(instantiate, win);
49 radio3.text_set("Radio 3"); 49 radio3.text_set("Radio 3");
50 radio3.state_value_set(3); 50 radio3.state_value_set(3);
51 radio3.group_add(group); 51 radio3.group_add(group);
52 bx.pack_end(radio3); 52 bx.pack_end(radio3);
53 efl::eolian::event_add(efl::ui::Radio::changed_event, radio3, cb_val); 53 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio3, cb_val);
54 54
55 efl::ui::Radio radio4(instantiate, win); 55 efl::ui::Radio radio4(instantiate, win);
56 radio4.text_set("Radio 4"); 56 radio4.text_set("Radio 4");
57 radio4.state_value_set(4); 57 radio4.state_value_set(4);
58 radio4.group_add(group); 58 radio4.group_add(group);
59 bx.pack_end(radio4); 59 bx.pack_end(radio4);
60 efl::eolian::event_add(efl::ui::Radio::changed_event, radio4, cb_val); 60 efl::eolian::event_add(efl::ui::Nstate::changed_event, radio4, cb_val);
61} 61}
62EFL_MAIN() 62EFL_MAIN()