Osiris Framework  0.3
OResizeEvent Class Reference

Class for window resize events. More...

#include <OsirisSDK/OEvent.h>

Inheritance diagram for OResizeEvent:
OMemoryPoolEvent OEvent OMemoryPoolObject< OEVENT_MP_BLOCKSIZE, OEVENT_MP_SEGMENTSIZE >

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 OMemoryPoolmemoryPool ()
 

Detailed Description

Class for window resize events.

Constructor & Destructor Documentation

OResizeEvent::OResizeEvent ( int  width,
int  height 
)

Class constructor.

Parameters
widthWindow width in pixels.
heightWindow height in pixels.

The documentation for this class was generated from the following files: