UFO: Alien Invasion
|
Scroll representation. More...
#include <ui_node_abstractscrollable.h>
Public Member Functions | |
bool | set (int viewPos, int viewSize, int fullSize) |
Set the scroll to a position. More... | |
bool | move (int viewPos) |
Fix a new position. More... | |
bool | moveDelta (int deltaPos) |
Move the position with a delta position. More... | |
Data Fields | |
int | viewPos |
int | viewSize |
int | fullSize |
Scroll representation.
Definition at line 58 of file ui_node_abstractscrollable.h.
bool uiScroll_t::move | ( | int | viewPos | ) |
Fix a new position.
[in] | viewPos | New view position |
Definition at line 63 of file ui_node_abstractscrollable.cpp.
References fullSize, viewPos, and viewSize.
Referenced by moveDelta().
|
inline |
Move the position with a delta position.
[in] | deltaPos | Variation of the position |
Definition at line 70 of file ui_node_abstractscrollable.h.
References move().
Set the scroll to a position.
[in] | viewPos | New position to set, else -1 if no change |
[in] | viewSize | New view size to set, else -1 if no change |
[in] | fullSize | New full size to set, else -1 if no change |
Definition at line 87 of file ui_node_abstractscrollable.cpp.
int uiScroll_t::fullSize |
Full size allowed
Definition at line 61 of file ui_node_abstractscrollable.h.
int uiScroll_t::viewPos |
Position of the view
Definition at line 59 of file ui_node_abstractscrollable.h.
int uiScroll_t::viewSize |
Visible size
Definition at line 60 of file ui_node_abstractscrollable.h.