Meta_ScrollBar
Module: Metanodes / Definitions
A ScrollBar is a Meta_Slider wrapped in arrow button controls.
#include <meta_gui.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_Enabled, Idx_Position, Idx_SizingMode, Idx_Size, Idx_Style, Idx_Type, Idx_Minimum, Idx_Maximum, Idx_Length, Idx_Step, Idx_Value } Property index. |
| enum | SliderType { SLIDERTYPE_HORIZONTAL, SLIDERTYPE_VERTICAL } Types for Idx_Type. |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Enabled | bool - When enabled, this panel and its children are drawn | |
| Idx_Position | vec3f - Position of the panel relative to its parent | |
| Idx_SizingMode | ||
| Idx_Size | ||
| Idx_Style | link - Style to apply to the scrollbar (Meta_ScrollBarStyle) | |
| Idx_Type | SliderType (int) - Horizontal or Vertical | |
| Idx_Minimum | float - Minimum value represented by the slider | |
| Idx_Maximum | float - Maximum value represented by the slider | |
| Idx_Length | float - Length of the slider bar | |
| Idx_Step | float - Step size, or zero for continuous values | |
| Idx_Value | float - Current value of the slider (location of the handle along the bar) |
Property index.
enum SliderType
| Enumerator | Value | Description |
|---|---|---|
| SLIDERTYPE_HORIZONTAL | Symbols - C: "Horiztonal", Lua: __ScrollBar_Horiztonal | |
| SLIDERTYPE_VERTICAL | Symbols - C: "Vertical", Lua: __ScrollBar_Vertical |
Types for Idx_Type.