Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
The GUI Scroll-bar style. More...
#include <IGUIScrollBar.h>
Public Member Functions | |
NONCOPYABLE (SGUIScrollBarStyle) | |
MOVABLE (SGUIScrollBarStyle) | |
SGUIScrollBarStyle ()=default | |
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.
|
default |
SGUIScrollBarStyle::MOVABLE | ( | SGUIScrollBarStyle | ) |
SGUIScrollBarStyle::NONCOPYABLE | ( | SGUIScrollBarStyle | ) |
float SGUIScrollBarStyle::m_MaximumBarSize |
Sometimes you would like your scroll bar to have a fixed maximum size so that the texture does not get too stretched, you can set a maximum in pixels.
float SGUIScrollBarStyle::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 SGUIScrollBarStyle::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.
float SGUIScrollBarStyle::m_ScrollSpeed |
How much (in percent, 0.1f = 10%) to scroll each time the wheel is admitted, or the buttons are pressed.
bool SGUIScrollBarStyle::m_ScrollWheel |
Scrollable with the wheel.
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteBackHorizontal |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteBackVertical |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteBarHorizontal |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteBarVertical |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteBarVerticalOver |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteBarVerticalPressed |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonBottom |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonBottomDisabled |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonBottomOver |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonBottomPressed |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonLeft |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonLeftDisabled |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonLeftPressed |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonRight |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonRightDisabled |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonRightPressed |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonTop |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonTopDisabled |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonTopOver |
CGUISpriteInstance SGUIScrollBarStyle::m_SpriteButtonTopPressed |
bool SGUIScrollBarStyle::m_UseEdgeButtons |
True if you want edge buttons, i.e.
buttons that can be pressed in order to scroll.
float SGUIScrollBarStyle::m_Width |
Width of bar, also both sides of the edge buttons.