Other Alias
Scroller, VScrollerSYNOPSIS
#include <InterViews/scroller.h>DESCRIPTION
A scroller is an interactor that manipulates the perspective of another interactor. It contains a bar whose position and size reflect the current origin and size in the interactor's perspective. Clicking and dragging in the scroller modifies the attached interactor's perspective. VScroller is a class for defining vertical scrollers, HScroller for horizontal scrollers.PUBLIC OPERATIONS
- HScroller(Interactor*, int size = 0)
- VScroller(Interactor*, int size = 0)
- Create a scroller of a given size (height for a horizontal scroller, width for a vertical scroller). A zero size means to use the default size.
- virtual void Update()
- Redisplay the scroller to reflect a change in the interactor's perspective.