summaryrefslogtreecommitdiff
path: root/src/examples/elementary/slider_cxx_example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/elementary/slider_cxx_example.cc')
-rw-r--r--src/examples/elementary/slider_cxx_example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/slider_cxx_example.cc b/src/examples/elementary/slider_cxx_example.cc
index d42f765..941ecc5 100644
--- a/src/examples/elementary/slider_cxx_example.cc
+++ b/src/examples/elementary/slider_cxx_example.cc
@@ -72,11 +72,11 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
72 { std::cout << "Changed to " << obj.range_value_get() << std::endl; } 72 { std::cout << "Changed to " << obj.range_value_get() << std::endl; }
73 , std::placeholders::_1); 73 , std::placeholders::_1);
74 74
75 auto steady = std::bind ( [] (efl::ui::Slider obj) 75 auto steady = std::bind ( [] (efl::ui::Range_Interactive obj)
76 { std::cout << "Steady to " << obj.range_value_get() << std::endl; } 76 { std::cout << "Steady to " << obj.range_value_get() << std::endl; }
77 , std::placeholders::_1); 77 , std::placeholders::_1);
78 78
79 efl::eo::downcast<efl::ui::Range_Display>(sl7).changed_event_cb_add(changed); 79 efl::eo::downcast<efl::ui::Range_Display>(sl7).changed_event_cb_add(changed);
80 sl7.steady_event_cb_add(steady); 80 efl::eo::downcast<efl::ui::Range_Interactive>(sl7).steady_event_cb_add(steady);
81} 81}
82EFL_MAIN() 82EFL_MAIN()