Display events are sent by the display device to registered display event handlers.
- Copyright
- (C) 2007 Radon Labs GmbH (C) 2013-2020 Individual contributors, see AUTHORS file
|
| | DisplayEvent () |
| | default constructor
|
| | DisplayEvent (Code c) |
| | constructor with event code
|
| | DisplayEvent (Code c, CoreGraphics::WindowId wnd) |
| | constructor with event code and window id
|
| | DisplayEvent (Code c, CoreGraphics::WindowId wnd, const Math::vec2 &absPos, const Math::vec2 &normPos) |
| | constructor with event code and mouse pos
|
| | DisplayEvent (Code c, Input::Key::Code k) |
| | constructor with key code
|
| | DisplayEvent (Code c, Input::Char chr) |
| | constructor with character
|
| | DisplayEvent (Code c, Input::MouseButton::Code b, const Math::vec2 &absPos, const Math::vec2 &normPos) |
| | constructor with mouse button and mouse pos
|
| | DisplayEvent (Code c, const Util::Array< Util::String > &files) |
| | constructor with file drop
|
| Code | GetEventCode () const |
| | get event code
|
| CoreGraphics::WindowId | GetWindowId () const |
| | get window id
|
| const Math::vec2 & | GetAbsMousePos () const |
| | get absolute mouse pos (in pixels)
|
| const Math::vec2 & | GetNormMousePos () const |
| | get normalized mouse pos (from 0.0 to 1.0)
|
| Input::Key::Code | GetKey () const |
| | get key code
|
| Input::Char | GetChar () const |
| | get character code
|
| Input::MouseButton::Code | GetMouseButton () const |
| | get mouse button code
|
| const Util::Array< Util::String > & | GetFiles () const |
| | Get files.
|