Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

gui
Struct CGUIScrollBarStyle

   in CGUIScrollBarStyle.h

struct CGUIScrollBarStyle

The GUI Scroll-bar style. A scroll-bar style can choose whether to support horizontal, vertical or both.

See Also:
CGUIScrollBar

Field Summary
 float m_MinimumBarSize
          Sometimes there is *a lot* to scroll, but to prevent the scroll "bar" from being almost invisible (or ugly), you can set a minimum in pixel size.
 bool m_ScrollButtons
          Whether or not the edge buttons should appear or not.
 float m_ScrollSpeed
          How much (in percent, 0.1f = 10%) to scroll each time the wheel is admitted, or the buttons are pressed.
 bool m_ScrollWheel
          Scrollable with the wheel.
 CGUISpriteInstance m_SpriteButtonBottom
          
 CGUISpriteInstance m_SpriteButtonBottomDisabled
          
 CGUISpriteInstance m_SpriteButtonBottomPressed
          
 CGUISpriteInstance m_SpriteButtonLeft
          
 CGUISpriteInstance m_SpriteButtonLeftDisabled
          
 CGUISpriteInstance m_SpriteButtonLeftPressed
          
 CGUISpriteInstance m_SpriteButtonRight
          
 CGUISpriteInstance m_SpriteButtonRightDisabled
          
 CGUISpriteInstance m_SpriteButtonRightPressed
          
 CGUISpriteInstance m_SpriteButtonTop
          
 CGUISpriteInstance m_SpriteButtonTopDisabled
          
 CGUISpriteInstance m_SpriteButtonTopPressed
          
 CGUISpriteInstance m_SpriteScrollBackHorizontal
          
 CGUISpriteInstance m_SpriteScrollBackVertical
          
 CGUISpriteInstance m_SpriteScrollBarHorizontal
          
 CGUISpriteInstance m_SpriteScrollBarVertical
          
 float m_Width
          Width of bar, also both sides of the edge buttons.
 

Field Detail

m_MinimumBarSize

public float m_MinimumBarSize;
Sometimes there is *a lot* to scroll, but to prevent the scroll "bar" from being almost invisible (or ugly), you can set a minimum in pixel size.

m_ScrollButtons

public bool m_ScrollButtons;
Whether or not the edge buttons should appear or not. Sometimes you actually don't want them, like perhaps in a combo box.

m_ScrollSpeed

public float m_ScrollSpeed;
How much (in percent, 0.1f = 10%) to scroll each time the wheel is admitted, or the buttons are pressed.

m_ScrollWheel

public bool m_ScrollWheel;
Scrollable with the wheel.

m_SpriteButtonBottom

public CGUISpriteInstance m_SpriteButtonBottom;

m_SpriteButtonBottomDisabled

public CGUISpriteInstance m_SpriteButtonBottomDisabled;

m_SpriteButtonBottomPressed

public CGUISpriteInstance m_SpriteButtonBottomPressed;

m_SpriteButtonLeft

public CGUISpriteInstance m_SpriteButtonLeft;

m_SpriteButtonLeftDisabled

public CGUISpriteInstance m_SpriteButtonLeftDisabled;

m_SpriteButtonLeftPressed

public CGUISpriteInstance m_SpriteButtonLeftPressed;

m_SpriteButtonRight

public CGUISpriteInstance m_SpriteButtonRight;

m_SpriteButtonRightDisabled

public CGUISpriteInstance m_SpriteButtonRightDisabled;

m_SpriteButtonRightPressed

public CGUISpriteInstance m_SpriteButtonRightPressed;

m_SpriteButtonTop

public CGUISpriteInstance m_SpriteButtonTop;

m_SpriteButtonTopDisabled

public CGUISpriteInstance m_SpriteButtonTopDisabled;

m_SpriteButtonTopPressed

public CGUISpriteInstance m_SpriteButtonTopPressed;

m_SpriteScrollBackHorizontal

public CGUISpriteInstance m_SpriteScrollBackHorizontal;

m_SpriteScrollBackVertical

public CGUISpriteInstance m_SpriteScrollBackVertical;

m_SpriteScrollBarHorizontal

public CGUISpriteInstance m_SpriteScrollBarHorizontal;

m_SpriteScrollBarVertical

public CGUISpriteInstance m_SpriteScrollBarVertical;

m_Width

public float m_Width;
Width of bar, also both sides of the edge buttons.

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD