LavishGUI:slider (Element Type)
Contents
Introduction
What is a Slider?
A slider is a scaling bar used for easy changing of things like volume control or maximum viewable range.
Using Sliders
Sliders are descendants of the base element type. Any attributes of the base element type may be applied in addition to the slider-specific properties described below.
Slider-Specific Properties
- Border
- Size of border around the element (inclusive)
- HandleTexture
- Texture for use with the slider "handle"
- Range
- Range of possible values for this slider (0 to this number, inclusive)
- Texture
- Background texture
- Vertical
- Causes the slider to flow from bottom to top, rather than left to right
Examples
Example Code
<slider Name='Zoom'> <X>80</X> <Y>0</Y> <Border>0</Border> <Width>50</Width> <Height>10</Height> <AutoTooltip>Zoom level</AutoTooltip> </slider>