Used for a volume slider.
Class: ControlSlider(x, y, width, height[, textureback, texture, texturefocus, orientation])
The slider control is used for things where a sliding bar best represents the operation at hand (such as a volume control or seek control). You can choose the position, size, and look of the slider control.
x | integer - x coordinate of control |
y | integer - y coordinate of control |
width | integer - width of control |
height | integer - height of control |
textureback | [opt] string - image filename |
texture | [opt] string - image filename |
texturefocus | [opt] string - image filename |
orientation | [opt] integer - orientation of slider (xbmcgui.HORIZONTAL / xbmcgui.VERTICAL (default)) |
Example:
getPercent | ( | ) |
Function: getPercent()
Example:
setPercent | ( | ... | ) |
Function: setPercent(pct)
pct | float - Percent value of slider |
Example:
getInt | ( | ) |
Function: getInt()
Example:
setInt | ( | ... | ) |
Function: setInt(value, min, delta, max)
value | int - value of slider |
min | int - min of slider |
delta | int - step size of slider |
max | int - max of slider |
Example:
getFloat | ( | ) |
Function: getFloat()
Example:
setFloat | ( | ... | ) |
Function: setFloat(value, min, delta, max)
value | float - value of slider |
min | float - min of slider |
delta | float - step size of slider |
max | float - max of slider |
Example: