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

gui
Struct SGUIScrollBarStyle

   in IGUIScrollBar.h

struct SGUIScrollBarStyle

The GUI Scroll-bar style. Tells us how scroll-bars look and feel. A scroll-bar style can choose whether to support horizontal, vertical or both.

See Also:
IGUIScrollBar

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_SpriteBackHorizontal
          
 CGUISpriteInstance m_SpriteBackVertical
          
 CGUISpriteInstance m_SpriteBarHorizontal
          
 CGUISpriteInstance m_SpriteBarVertical
          
 CGUISpriteInstance m_SpriteBarVerticalOver
          
 CGUISpriteInstance m_SpriteBarVerticalPressed
          
 CGUISpriteInstance m_SpriteButtonBottom
          
 CGUISpriteInstance m_SpriteButtonBottomDisabled
          
 CGUISpriteInstance m_SpriteButtonBottomOver
          
 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_SpriteButtonTopOver
          
 CGUISpriteInstance m_SpriteButtonTopPressed
          
 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_SpriteBackHorizontal

public CGUISpriteInstance m_SpriteBackHorizontal;

m_SpriteBackVertical

public CGUISpriteInstance m_SpriteBackVertical;

m_SpriteBarHorizontal

public CGUISpriteInstance m_SpriteBarHorizontal;

m_SpriteBarVertical

public CGUISpriteInstance m_SpriteBarVertical;

m_SpriteBarVerticalOver

public CGUISpriteInstance m_SpriteBarVerticalOver;

m_SpriteBarVerticalPressed

public CGUISpriteInstance m_SpriteBarVerticalPressed;

m_SpriteButtonBottom

public CGUISpriteInstance m_SpriteButtonBottom;

m_SpriteButtonBottomDisabled

public CGUISpriteInstance m_SpriteButtonBottomDisabled;

m_SpriteButtonBottomOver

public CGUISpriteInstance m_SpriteButtonBottomOver;

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_SpriteButtonTopOver

public CGUISpriteInstance m_SpriteButtonTopOver;

m_SpriteButtonTopPressed

public CGUISpriteInstance m_SpriteButtonTopPressed;

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:14
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD