#include <ScrollEventArgs.h>
Public Member Functions | |
| virtual | ~ScrollEventArgs (void) |
| ScrollEventArgs (faces::Face *face, const float &old_scroll_position, const float new_scroll_position, const float min_scroll_position, const float max_scroll_position) | |
| float | GetOldScrollPosition () const |
| float | GetNewScrollPosition () const |
| float | GetMinScrollPosition () const |
| float | GetMaxScrollPosition () const |
The (base) class for event arguments passed in to scroll event callbacks.
| virtual fl7::events::ScrollEventArgs::~ScrollEventArgs | ( | void | ) | [inline, virtual] |
Destructor.
| fl7::events::ScrollEventArgs::ScrollEventArgs | ( | faces::Face * | face, | |
| const float & | old_scroll_position, | |||
| const float | new_scroll_position, | |||
| const float | min_scroll_position, | |||
| const float | max_scroll_position | |||
| ) | [inline] |
Explicit constructor.
| float fl7::events::ScrollEventArgs::GetMaxScrollPosition | ( | ) | const [inline] |
Returns the maximum scroll position.
| float fl7::events::ScrollEventArgs::GetMinScrollPosition | ( | ) | const [inline] |
Returns the minimum scroll position.
| float fl7::events::ScrollEventArgs::GetNewScrollPosition | ( | ) | const [inline] |
Returns the new scroll position after scrolling the face.
| float fl7::events::ScrollEventArgs::GetOldScrollPosition | ( | ) | const [inline] |
Returns the old scroll position before scrolling the face.
1.7.1