0.44.0
|
#include <iEventWindow.h>
Inherits igor::iEvent.
Public Member Functions | |
iEventWindowResize (iWindowPtr window, int32 width, int32 height) | |
virtual const iaString | getInfo () const override |
int32 | getWidth () const |
int32 | getHeight () 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) |
window resize event
igor::iEventWindowResize::iEventWindowResize | ( | iWindowPtr | window, |
int32 | width, | ||
int32 | height | ||
) |
init members
window | the window that was resized |
width | width of the window |
height | height of the window |
int32 igor::iEventWindowResize::getHeight | ( | ) | const |
|
overridevirtual |
Reimplemented from igor::iEvent.
int32 igor::iEventWindowResize::getWidth | ( | ) | const |