Reference: EventID
From DaevsGUI
This file defines a bunch of events used throughout the library. The DaevsCommon::EventID::None event is used as a default and should not be used.
There is a distinction between local (regular) and global events. Global events are ones that tell you that, for example, a mouse click happened _somewhere_. The regular, local, event tells you the events happened on the widget itself. The events are re-emitted from global to local within the Widget base class.
You can also use your own events, then you should offset the event ID's with DaevsCommon::EventID::CustomEventOffset, as this is the last (and unused) event defined for the library.
Enumerations
DaevsCommon::EventID::Enum
- None
- Change
- Update
- PreDraw
- Draw
- PostDraw
- MouseMove
- MouseIn
- MouseOut
- MouseButtonLeftDown
- MouseButtonLeftUp
- MouseButtonLeftClick
- MouseButtonMiddleDown
- MouseButtonMiddleUp
- MouseButtonMiddleClick
- MouseButtonRightDown
- MouseButtonRightUp
- MouseButtonRightClick
- MouseWheelUp
- MouseWheelDown
- GlobalMouseMove
- GlobalMouseButtonLeftDown
- GlobalMouseButtonLeftUp
- GlobalMouseButtonMiddleDown
- GlobalMouseButtonMiddleUp
- GlobalMouseButtonRightDown
- GlobalMouseButtonRightUp
- GlobalMouseWheelUp
- GlobalMouseWheelDown
- KeyboardSelect
- KeyboardUnselect
- KeyDown
- KeyUp
- KeyPress
- GlobalKeyDown
- GlobalKeyUp
- CustomEventOffset
