Hello.
On 11/27/2017 11:55 AM, Woochan Lee wrote: > jaehyun pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=eefcb49419af9d0057ba4c03e6c9009a1265e31e > > commit eefcb49419af9d0057ba4c03e6c9009a1265e31e > Author: Woochan Lee <[email protected]> > Date: Mon Nov 20 19:12:49 2017 +0900 > > efl_ui_spin: Add new spin and spin_button widgets > > Summary: > https://phab.enlightenment.org/T5900 > > Creating base class(efl_ui_spin) to support various shape of spinner. > > Added button interaction widget efl_ui_spin_button inherited from > efl_ui_spin. > > Test Plan: Add tests in elementary_test. > > Reviewers: Jaehyun_Cho, woohyun, jpeg, singh.amitesh > > Subscribers: jenkins, id213sin, cedric, jpeg > > Differential Revision: https://phab.enlightenment.org/D5424 > Since this new widget I get compile error when building the examples. My guess is that you either did not try to compile the examples or disabled the C++ bindings. Please have a look to get this fixed. CXX bg_cxx_example_01.o CXX bg_cxx_example_02.o CXX button_cxx_example_00.o CXX box_cxx_example_02.o In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from box_cxx_example_02.cc:3: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* eo_cxx::efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from box_cxx_example_02.cc:3: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::changed_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: error: ‘EFL_UI_SPIN_EVENT_CHANGED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: note: suggested alternative: ‘EFL_UI_RADIO_EVENT_CHANGED’ { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ EFL_UI_RADIO_EVENT_CHANGED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::min_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: error: ‘EFL_UI_SPIN_EVENT_MIN_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MIN_REACHED’ { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MIN_REACHED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::max_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: error: ‘EFL_UI_SPIN_EVENT_MAX_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MAX_REACHED’ { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MAX_REACHED make[2]: *** [Makefile:5442: box_cxx_example_02.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from bg_cxx_example_02.cc:8: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* eo_cxx::efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from bg_cxx_example_02.cc:8: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::changed_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: error: ‘EFL_UI_SPIN_EVENT_CHANGED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: note: suggested alternative: ‘EFL_UI_RADIO_EVENT_CHANGED’ { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ EFL_UI_RADIO_EVENT_CHANGED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::min_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: error: ‘EFL_UI_SPIN_EVENT_MIN_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MIN_REACHED’ { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MIN_REACHED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::max_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: error: ‘EFL_UI_SPIN_EVENT_MAX_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MAX_REACHED’ { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MAX_REACHED make[2]: *** [Makefile:5442: bg_cxx_example_02.o] Error 1 In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from bg_cxx_example_01.cc:3: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* eo_cxx::efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from bg_cxx_example_01.cc:3: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::changed_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: error: ‘EFL_UI_SPIN_EVENT_CHANGED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: note: suggested alternative: ‘EFL_UI_RADIO_EVENT_CHANGED’ { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ EFL_UI_RADIO_EVENT_CHANGED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::min_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: error: ‘EFL_UI_SPIN_EVENT_MIN_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MIN_REACHED’ { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MIN_REACHED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::max_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: error: ‘EFL_UI_SPIN_EVENT_MAX_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MAX_REACHED’ { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MAX_REACHED make[2]: *** [Makefile:5442: bg_cxx_example_01.o] Error 1 In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from button_cxx_example_00.cc:4: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* eo_cxx::efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:576:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS In file included from ../../../src/lib/elementary/Elementary.eo.hh:69:0, from ../../../src/lib/elementary/Elementary.hh:24, from button_cxx_example_00.cc:4: ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Class* efl::ui::Spin::_eo_class()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: error: ‘EFL_UI_SPIN_CLASS’ was not declared in this scope return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:660:14: note: suggested alternative: ‘EFL_UI_WIN_CLASS’ return EFL_UI_SPIN_CLASS; ^~~~~~~~~~~~~~~~~ EFL_UI_WIN_CLASS ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::changed_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: error: ‘EFL_UI_SPIN_EVENT_CHANGED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:666:16: note: suggested alternative: ‘EFL_UI_RADIO_EVENT_CHANGED’ { return EFL_UI_SPIN_EVENT_CHANGED; } ^~~~~~~~~~~~~~~~~~~~~~~~~ EFL_UI_RADIO_EVENT_CHANGED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::min_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: error: ‘EFL_UI_SPIN_EVENT_MIN_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:672:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MIN_REACHED’ { return EFL_UI_SPIN_EVENT_MIN_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MIN_REACHED ../../../src/lib/elementary/efl_ui_spin.eo.hh: In static member function ‘static const Efl_Event_Description* efl::ui::Spin::max_reached_event::description()’: ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: error: ‘EFL_UI_SPIN_EVENT_MAX_REACHED’ was not declared in this scope { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/lib/elementary/efl_ui_spin.eo.hh:678:16: note: suggested alternative: ‘ELM_SPINNER_EVENT_MAX_REACHED’ { return EFL_UI_SPIN_EVENT_MAX_REACHED; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ELM_SPINNER_EVENT_MAX_REACHED make[2]: *** [Makefile:5442: button_cxx_example_00.o] Error 1 make[1]: *** [Makefile:55691: examples] Error 1 make: *** [Makefile:3488: examples] Error 2 regards Stefan Schmidt ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
