summaryrefslogtreecommitdiff
path: root/src/examples/elementary
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-06-14 12:03:32 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-14 12:03:32 -0400
commitbc98c94dc9b1f41406870eca709a97ec63daf96c (patch)
treee2f6f05c747f0d9f4f0a42a4593894cea5e5b4b6 /src/examples/elementary
parent3a5f506b0e87d42a78a420b5a89936ad0deb04ba (diff)
Efl.Ui.Slider: Rename event delay,changed to steady
Summary: And update the docs to explain its purpose. Related to T7893 Test Plan: Everything builds and tests pass Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9090
Diffstat (limited to 'src/examples/elementary')
-rw-r--r--src/examples/elementary/slider_cxx_example.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/elementary/slider_cxx_example.cc b/src/examples/elementary/slider_cxx_example.cc
index 38e4b91..3712124 100644
--- a/src/examples/elementary/slider_cxx_example.cc
+++ b/src/examples/elementary/slider_cxx_example.cc
@@ -70,11 +70,11 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
70 { std::cout << "Changed to " << obj.range_value_get() << std::endl; } 70 { std::cout << "Changed to " << obj.range_value_get() << std::endl; }
71 , std::placeholders::_1); 71 , std::placeholders::_1);
72 72
73 auto delay = std::bind ( [] (efl::ui::Slider obj) 73 auto steady = std::bind ( [] (efl::ui::Slider obj)
74 { std::cout << "Delay changed to " << obj.range_value_get() << std::endl; } 74 { std::cout << "Steady to " << obj.range_value_get() << std::endl; }
75 , std::placeholders::_1); 75 , std::placeholders::_1);
76 76
77 sl7.changed_event_cb_add(changed); 77 sl7.changed_event_cb_add(changed);
78 sl7.delay_changed_event_cb_add(delay); 78 sl7.steady_event_cb_add(steady);
79} 79}
80EFL_MAIN() 80EFL_MAIN()