Difference between revisions of "LavishGUI:slider (Element Type)"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
</slider> | </slider> | ||
== See Also == | == See Also == | ||
+ | * [[LavishGUI:lguislider (Data Type)|lguislider]] | ||
* [[LavishGUI]] | * [[LavishGUI]] | ||
* [[LavishGUI:Elements|Elements]] | * [[LavishGUI:Elements|Elements]] | ||
[[Category:LavishGUI]] | [[Category:LavishGUI]] |
Revision as of 21:19, 13 October 2005
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>