AppCUI::Controls::Handlers
-
namespace Handlers
Event handlers that can be attached to a control (
control->Handlers()->OnXXX = ...) instead of deriving a new control class: either a pointer to an object that implements the matchingOn...Interfaceor a plain function (a lambda without captures).
Classes
Type aliases
-
using AppCUI::Controls::Handlers::PaintControlHandler = void (*)(Reference<Controls::Control> control, Renderer &renderer)
-
using AppCUI::Controls::Handlers::OnEventHandler = bool (*)(Reference<Controls::Control> control, Controls::Event eventType, int ID)
-
using AppCUI::Controls::Handlers::OnKeyEventHandler = bool (*)(Reference<Controls::Control> control, Key keyCode, char16 unicodeChar)
-
using AppCUI::Controls::Handlers::OnCheckHandler = void (*)(Reference<Controls::Control> control, bool value)
-
using AppCUI::Controls::Handlers::OnLoseFocusHandler = void (*)(Reference<Controls::Control> control)
-
using AppCUI::Controls::Handlers::OnAfterSetTextHandler = void (*)(Reference<Controls::Control> control)
-
using AppCUI::Controls::Handlers::OnTextRightClickHandler = void (*)(Reference<Controls::Control> control, int x, int y)
-
using AppCUI::Controls::Handlers::OnTextColorHandler = void (*)(Reference<Controls::Control> control, Character *chars, uint32 len)
-
using AppCUI::Controls::Handlers::OnValidateCharacterHandler = bool (*)(Reference<Controls::Control> control, char16 character)
-
using AppCUI::Controls::Handlers::ListViewItemCompareHandler = int (*)(Reference<Controls::ListView> control, const Controls::ListViewItem &item1, const Controls::ListViewItem &item2)
-
using AppCUI::Controls::Handlers::OnListViewItemSelectedHandler = void (*)(Reference<Controls::ListView> lst, Controls::ListViewItem item)
-
using AppCUI::Controls::Handlers::OnListViewItemCheckedHandler = void (*)(Reference<Controls::ListView> lst, Controls::ListViewItem item)
-
using AppCUI::Controls::Handlers::OnListViewItemPressedHandler = void (*)(Reference<Controls::ListView> lst, Controls::ListViewItem item)
-
using AppCUI::Controls::Handlers::OnListViewCurrentItemChangedHandler = void (*)(Reference<Controls::ListView> lst, Controls::ListViewItem item)
-
using AppCUI::Controls::Handlers::OnComboBoxCurrentItemChangedHandler = void (*)(Reference<Controls::ComboBox> cbox)
-
using AppCUI::Controls::Handlers::TreeViewItemCompareHandler = int (*)(Reference<Controls::TreeView> control, const Controls::TreeViewItem &item1, const Controls::TreeViewItem &item2)
-
using AppCUI::Controls::Handlers::OnTreeViewItemToggleHandler = bool (*)(Reference<Controls::TreeView> tree, TreeViewItem &item, bool recursiveCall)