Public Methods |
| | CL_MenuItem (const CL_ComponentOptions &options, CL_Component *parent) |
| virtual | ~CL_MenuItem () |
| virtual void | add_child (CL_Component *child) |
| bool | is_checkable () |
| bool | is_separator () |
| bool | is_checked () |
| bool | is_highlighted () |
| bool | has_submenu () |
| const std::string& | get_text () |
| void | set_text (const std::string &text) |
| | retval: The item label.
|
| void | set_impl (CL_ComponentStyle *impl) |
| CL_ComponentStyle* | get_impl () |
| | CL_MenuItem (const CL_ComponentOptions &options, CL_Component *parent) |
| virtual | ~CL_MenuItem () |
| virtual void | add_child (CL_Component *child) |
| bool | is_checkable () |
| bool | is_separator () |
| bool | is_checked () |
| bool | is_highlighted () |
| bool | has_submenu () |
| const std::string& | get_text () |
| void | set_text (const std::string &text) |
| | retval: The item label.
|
| void | set_impl (CL_ComponentStyle *impl) |
| CL_ComponentStyle* | get_impl () |
Public Attributes |
| CL_Signal_v0 | sig_clicked |
| | param: text - The item label.
|
Static Public Methods |
| CL_MenuItem* | create (const CL_ComponentOptions &options, CL_Component *parent, CL_StyleManager *style) |
| CL_MenuItem* | create (const CL_ComponentOptions &options, CL_Component *parent, CL_StyleManager *style) |
Protected Methods |
| void | on_mouse_enter () |
| void | on_mouse_leave () |
| void | on_key_down (CL_Component *comp, CL_InputDevice *device, CL_Key key) |
| void | on_timer_popup () |
| void | on_mouse_enter () |
| void | on_mouse_leave () |
| void | on_key_down (CL_Component *comp, CL_InputDevice *device, CL_Key key) |
| void | on_timer_popup () |
Protected Attributes |
| int | id |
| std::string | text |
| bool | separator |
| bool | checked |
| bool | checkable |
| bool | highlighted |
| CL_PopupMenu* | submenu |
| CL_Timer | timer_popup |
| CL_ComponentStyle* | impl |
| | Implementation:.
|
| CL_Slot | slot_mouse_enter |
| CL_Slot | slot_mouse_level |
| CL_Slot | slot_key_down |
| CL_Slot | slot_timer_popup |
Private Methods |
| void | init (int id) |
| void | close_children () |
| void | init (int id) |
| void | close_children () |