DigitalSpaces::DI3DVisualsGUIScrollBar1 Struct Reference
[Generic GUI Interfaces]

#include <Interfaces.h>

Inherits DigitalSpaces::DIObjectBase.


Detailed Description

Interface to a scrollbar GUI element.

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").

Member Function Documentation

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.


The documentation for this struct was generated from the following file:

Generated on Sun Aug 31 17:46:28 2008 for Digital Spaces by  doxygen 1.5.6