Difference between revisions of "LavishGUI:gauge (Element Type)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
=== What is a Gauge? === | === What is a Gauge? === | ||
− | A gauge is a box that gets filled based on a value compared to its range. | + | A gauge is a box that gets filled based on a value compared to its range. [[LavishGUI:lguigauge_%28Data_Type%29|lguigauge (Data Type)]] is used to provide access via LavishScript. |
== Using Gauges == | == Using Gauges == | ||
Gauges are descendants of the [[LavishGUI:Elements|base]] element type. Any attributes of the [[LavishGUI:Elements|base]] element type may be applied in addition to the gauge-specific properties described below. Any gauge that is a child of another gauge will appear inside the filler of the parent gauge, and its value will be modulated from its parent gauge's value on its own range. In other words, if the parent gauge has a value of 11 and is on a range of 100, and the child gauge is on a range of 10, the child's value will be 11%10, or 1. This can be used to make any number of nested gauges showing a "zoomed" portion of the original. | Gauges are descendants of the [[LavishGUI:Elements|base]] element type. Any attributes of the [[LavishGUI:Elements|base]] element type may be applied in addition to the gauge-specific properties described below. Any gauge that is a child of another gauge will appear inside the filler of the parent gauge, and its value will be modulated from its parent gauge's value on its own range. In other words, if the parent gauge has a value of 11 and is on a range of 100, and the child gauge is on a range of 10, the child's value will be 11%10, or 1. This can be used to make any number of nested gauges showing a "zoomed" portion of the original. | ||
Line 23: | Line 23: | ||
== See Also == | == See Also == | ||
* [[LavishGUI]] | * [[LavishGUI]] | ||
+ | * [[LavishGUI:lguigauge_%28Data_Type%29|lguigauge (Data Type)]] | ||
* [[LavishGUI:Elements|Elements]] | * [[LavishGUI:Elements|Elements]] | ||
[[Category:LavishGUI]] | [[Category:LavishGUI]] |
Latest revision as of 22:53, 15 December 2005
Contents
Introduction
What is a Gauge?
A gauge is a box that gets filled based on a value compared to its range. lguigauge (Data Type) is used to provide access via LavishScript.
Using Gauges
Gauges are descendants of the base element type. Any attributes of the base element type may be applied in addition to the gauge-specific properties described below. Any gauge that is a child of another gauge will appear inside the filler of the parent gauge, and its value will be modulated from its parent gauge's value on its own range. In other words, if the parent gauge has a value of 11 and is on a range of 100, and the child gauge is on a range of 10, the child's value will be 11%10, or 1. This can be used to make any number of nested gauges showing a "zoomed" portion of the original.
Gauge-Specific Properties
- Border
- Size of border around the element (inclusive)
- Filler
- The gauge "filler". The filler has its own properties as listed below
- Range
- Range of possible values for this gauge (0 to this number, inclusive)
- Texture
- Background texture
- Vertical
- Causes the gauge to flow from bottom to top, rather than left to right
Filler
- Texture
- Background texture