0.44.0
|
#include <iEventMouse.h>
Inherits igor::iEvent.
Public Member Functions | |
iEventMouseKeyDoubleClick (iWindowPtr window, const iKeyCode key, const iaVector2i &pos) | |
iEventKindMask | getEventKindMask () const override |
virtual const iaString | getInfo () const override |
iKeyCode | getKey () const |
const iaVector2i & | getPosition () const |
Public Member Functions inherited from igor::iEvent | |
iEvent (iWindowPtr window=nullptr) | |
virtual | ~iEvent ()=default |
bool | isOfKind (const iEventKind kind) |
virtual iEventType | getEventType () const =0 |
virtual iEventKindMask | getEventKindMask () const =0 |
virtual const iaString | getName () const =0 |
virtual const iaString | getInfo () const |
iWindowPtr | getWindow () const |
bool | isConsumed () const |
void | consume () |
template<typename T , typename F > | |
bool | dispatch (const F &func) |
mouse key double click event
igor::iEventMouseKeyDoubleClick::iEventMouseKeyDoubleClick | ( | iWindowPtr | window, |
const iKeyCode | key, | ||
const iaVector2i & | pos | ||
) |
init members
window | the window this event came from |
key | the key code used in this event |
|
overridevirtual |
Implements igor::iEvent.
|
overridevirtual |
Reimplemented from igor::iEvent.
iKeyCode igor::iEventMouseKeyDoubleClick::getKey | ( | ) | const |
const iaVector2i & igor::iEventMouseKeyDoubleClick::getPosition | ( | ) | const |