inlib
1.2.0
|
Public Member Functions | |
virtual void * | cast (const std::string &a_class) const |
size_event (unsigned int a_w, unsigned int a_h) | |
virtual | ~size_event () |
size_event (const size_event &a_from) | |
size_event & | operator= (const size_event &a_from) |
unsigned int | width () const |
unsigned int | height () const |
Static Public Member Functions | |
static const std::string & | s_class () |
Protected Attributes | |
unsigned int | m_w |
unsigned int | m_h |
Definition at line 44 of file event_action.
inlib::sg::size_event::size_event | ( | unsigned int | a_w, |
unsigned int | a_h | ||
) | [inline] |
Definition at line 55 of file event_action.
virtual inlib::sg::size_event::~size_event | ( | ) | [inline, virtual] |
Definition at line 58 of file event_action.
{}
inlib::sg::size_event::size_event | ( | const size_event & | a_from | ) | [inline] |
Definition at line 60 of file event_action.
virtual void* inlib::sg::size_event::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Implements inlib::sg::event.
Definition at line 50 of file event_action.
{ if(void* p = inlib::cmp_cast<size_event>(this,a_class)) {return p;} return 0; }
unsigned int inlib::sg::size_event::height | ( | ) | const [inline] |
Definition at line 73 of file event_action.
{return m_h;}
size_event& inlib::sg::size_event::operator= | ( | const size_event & | a_from | ) | [inline] |
Definition at line 65 of file event_action.
{ event::operator=(a_from); m_w = a_from.m_w; m_h = a_from.m_h; return *this; }
static const std::string& inlib::sg::size_event::s_class | ( | ) | [inline, static] |
Definition at line 46 of file event_action.
{ static const std::string s_v("inlib::sg::size_event"); return s_v; }
unsigned int inlib::sg::size_event::width | ( | ) | const [inline] |
Definition at line 72 of file event_action.
{return m_w;}
unsigned int inlib::sg::size_event::m_h [protected] |
Definition at line 76 of file event_action.
unsigned int inlib::sg::size_event::m_w [protected] |
Definition at line 75 of file event_action.