|
| virtual KeyboardEvent * | clone () const override |
| |
|
uint32_t | getNativeVirtualKey () const |
| |
| virtual uint64_t | hash () const override |
| |
|
virtual IvwKey | key () const |
| |
|
| KeyboardEvent (const KeyboardEvent &rhs)=default |
| |
| | KeyboardEvent (IvwKey key=IvwKey::Unknown, KeyState state=KeyState::Press, KeyModifiers modifiers=KeyModifiers(flags::empty), uint32_t nativeVirtualKey=0, std::string_view utfText="") |
| |
|
KeyboardEvent & | operator= (const KeyboardEvent &that)=default |
| |
| virtual void | print (fmt::memory_buffer &buff) const override |
| |
|
void | setKey (IvwKey key) |
| |
|
void | setNativeVirtualKey (uint32_t key) |
| |
|
void | setState (KeyState state) |
| |
|
void | setText (const std::string &text) |
| |
|
KeyState | state () const |
| |
|
std::string_view | text () const |
| |
|
const ContextMenuCallback & | getContexMenuCallback () const |
| |
|
const ToolTipCallback & | getToolTipCallback () const |
| |
|
| InteractionEvent (const InteractionEvent &rhs)=default |
| |
|
| InteractionEvent (KeyModifiers modifiers=KeyModifiers(flags::empty)) |
| |
|
KeyModifiers | modifiers () const |
| |
|
InteractionEvent & | operator= (const InteractionEvent &that)=default |
| |
|
void | setContextMenuCallback (ContextMenuCallback callback) |
| |
|
void | setModifiers (KeyModifiers modifiers) |
| |
| void | setToolTip (std::string_view tooltip) const |
| |
| void | setToolTipCallback (ToolTipCallback callback) |
| |
| void | showContextMenu (std::span< ContextMenuEntry > entries, ContextMenuCategories categories=ContextMenuCategory::Callback) |
| |
|
template<typename EventType > |
| EventType * | getAs () |
| |
|
template<typename EventType > |
| const EventType * | getAs () const |
| |
|
const std::vector< Processor * > & | getVisitedProcessors () const |
| |
|
bool | hasBeenUsed () const |
| |
|
bool | hasVisitedProcessor (Processor *) const |
| |
| bool | markAsUnused () |
| |
| bool | markAsUsed () |
| |
|
void | markAsVisited (const Event &) |
| |
| bool | markAsVisited (Processor *) |
| |
| bool | setUsed (bool isUsed) |
| |
| virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
| |
Generated when keys are pressed and released.