Osiris Framework
0.3
|
Class for window resize events. More...
#include <OsirisSDK/OEvent.h>
Public Member Functions | |
OResizeEvent (int width, int height) | |
Class constructor. More... | |
virtual | ~OResizeEvent () |
Class destructor. | |
int | width () const |
Window width in pixels. | |
int | height () const |
Window height in pixels. | |
Public Member Functions inherited from OMemoryPoolEvent | |
OMemoryPoolEvent (OEvent::EventType type) | |
Class constructor. More... | |
virtual | ~OMemoryPoolEvent () |
Class destructor. | |
Public Member Functions inherited from OEvent | |
OEvent (EventType type) | |
Class constructor. More... | |
virtual | ~OEvent () |
Class destructor. | |
EventType | type () const |
Returns event type. | |
Public Member Functions inherited from OMemoryPoolObject< OEVENT_MP_BLOCKSIZE, OEVENT_MP_SEGMENTSIZE > | |
OMemoryPoolObject () | |
Class constructor. | |
virtual | ~OMemoryPoolObject () |
Class destructor. | |
void * | operator new (size_t sz) |
void | operator delete (void *ptr) |
Additional Inherited Members | |
Public Types inherited from OEvent | |
enum | EventType { KeyboardPressEvent =1000, KeyboardReleaseEvent, MouseClickEvent, MouseActiveMoveEvent, MousePassiveMoveEvent, ResizeEvent } |
Static Public Member Functions inherited from OMemoryPoolObject< OEVENT_MP_BLOCKSIZE, OEVENT_MP_SEGMENTSIZE > | |
static OMemoryPool * | memoryPool () |
Class for window resize events.
OResizeEvent::OResizeEvent | ( | int | width, |
int | height | ||
) |
Class constructor.
width | Window width in pixels. |
height | Window height in pixels. |