|
kodi
|
**Used for a volume slider. More...
|
Classes | |
| class | XBMCAddon::xbmcgui::ControlSlider |
**Used for a volume slider.
**
{ ControlSlider(x, y, width, height[, textureback, texture, texturefocus, orientation, texturebackdisabled, texturedisabled]) }
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)) |
| texturebackdisabled | [opt] string - image filename |
| texturedisabled | [opt] string - image filename |
orientation option added.
Example:
1.8.13