ISUI:variableslider (Element Type)

From Lavish Software Wiki
Revision as of 22:17, 8 June 2005 by Lax (talk | contribs)
Jump to navigation Jump to search

Overview

Base Element

XML Properties

Tag Description Default
Data Variable to use for display, and to modify when the slider is moved none
Offset This value will be subtracted from the value of the variable when converting to the slider's value 0
VariableRange After subtracting from the offset, the value of the variable will be divided by this number, and then multiplied by the slider's range to become the slider's value. The slider can then use intervals directly proportional to the variable range, rather than equal to (allowing, for example, a variable that should be set between 0 and 100 to only be set to 0, 20, 40, 60, 80, or 100 by using a slider range of 5, and a variable range of 100) 0