Meta_ScrollBarStyle
Module: Metanodes / Definitions
A ScrollBarStyle provides styling options for the various parts of a Meta_ScrollBar.
#include <meta_gui.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_HandleStyle, Idx_SliderBGStyle, Idx_ButtonStyle, Idx_BackgroundStyle, Idx_UpIcon, Idx_DownIcon, Idx_LeftIcon, Idx_RightIcon, Idx_Width } |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_HandleStyle | link - Style to apply to the handle (Meta_ColouredPanelStyle, Meta_TexturedPanelStyle, Meta_GradientPanelStyle) | |
| Idx_SliderBGStyle | link - Style to apply to the slider background (Meta_ColouredPanelStyle, Meta_TexturedPanelStyle, Meta_GradientPanelStyle) | |
| Idx_ButtonStyle | link - Style to apply to the button (Meta_ColouredButtonStyle, Meta_TexturedButtonStyle) | |
| Idx_BackgroundStyle | link - Style to apply to the scrollbar background (Meta_ColouredPanelStyle, Meta_TexturedPanelStyle, Meta_GradientPanelStyle) | |
| Idx_UpIcon | link - Texture to display for the up arrow (Type==Vertical) | |
| Idx_DownIcon | link - Texture to display for the down arrow (Type==Vertical) | |
| Idx_LeftIcon | link - Texture to display for the left arrow (Type==Horizontal) | |
| Idx_RightIcon | link - Texture to display for the right arrow (Type==Horiztonal) | |
| Idx_Width | float - Width of the bar |