#include <Interfaces.h>
Inherits DigitalSpaces::DIObjectBase.
These are the GUI elements often displayed at the right or bottom of a window, to allow changing the position of the currently viewed document. These are not the same as a slider GUI element, although there is similarity. The values used within the scrollbar (scroll position, scroll size) are only used by the GUI system to position the thumb, the range of values used are meaningless to the GUI, allowing it to have meaning for the application.
Public Member Functions | |
| bool | hasScrollPosChanged () |
| Returns if scroll position of the GUI element has changed. | |
| float | getScrollPosition () |
| Returns the position of the scroll "thumb". | |
| void | setScrollPosition (float fPosition) |
| Sets the position of the scroll "thumb". | |
| void | setScrollSize (float fSize) |
| Sets the size of the scrollbar ("document"). | |
| bool DigitalSpaces::DI3DVisualsGUIScrollBar1::hasScrollPosChanged | ( | ) |
Returns if scroll position of the GUI element has changed.
The current implementation returns if the element has been scrolled since the last time this function was called, or since creation if the function has not been called before.
1.5.6