1.0.1 Changed to fit new scrolling system
Definition at line 33 of file CScrollEvent.hpp.
Exponent::GUI::Events::CScrollEvent::CScrollEvent | ( | const EScrollDirection | direction, | |
const CRect & | viewPort | |||
) |
Construction
direction | The direction of travel | |
viewPort | The new viewport to display |
virtual Exponent::GUI::Events::CScrollEvent::~CScrollEvent | ( | ) | [virtual] |
Destruction
EScrollDirection Exponent::GUI::Events::CScrollEvent::getDirection | ( | ) | const [inline] |
Get the direction
EScrollDirection | The direction of travel |
Definition at line 89 of file CScrollEvent.hpp.
References m_direction.
const CRect& Exponent::GUI::Events::CScrollEvent::getViewPort | ( | ) | const [inline] |
Get the viewport
const | CRect& the viewport area |
Definition at line 95 of file CScrollEvent.hpp.
References m_viewPort.
void Exponent::GUI::Events::CScrollEvent::setDirection | ( | const EScrollDirection | direction | ) | [inline] |
Set the direction
direction | The direction of travel |
Definition at line 81 of file CScrollEvent.hpp.
References m_direction.
void Exponent::GUI::Events::CScrollEvent::setViewPort | ( | const CRect & | viewPort | ) | [inline] |
Set the viewport
viewPort | The view port area |
Definition at line 75 of file CScrollEvent.hpp.
References m_viewPort.
Direction of movement
Definition at line 103 of file CScrollEvent.hpp.
Referenced by getDirection(), and setDirection().
CRect Exponent::GUI::Events::CScrollEvent::m_viewPort [protected] |
The viewable area
Definition at line 104 of file CScrollEvent.hpp.
Referenced by getViewPort(), and setViewPort().