Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Used for cycling up/down controls. More...
Classes | |
class | XBMCAddon::xbmcgui::ControlSpin |
Functions | |
XBMCAddon::xbmcgui::ControlSpin::setTextures (...) | |
| |
Used for cycling up/down controls.
Offers classes and functions that manipulate the add-on gui controls.
Class: ControlSpin()
Code based skin access.
The spin control is used for when a list of options can be chosen (such as a page up/down control). You can choose the position, size, and look of the spin control.
void XBMCAddon::xbmcgui::ControlSpin::setTextures | ( | ... | ) |
Function: setTextures(up, down, upFocus, downFocus)
Texture are image files that are used for example in the skin
up | label - for the up arrow when it doesn't have focus. |
down | label - for the down button when it is not focused. |
upFocus | label - for the up button when it has focus. |
downFocus | label - for the down button when it has focus. |
upDisabled | label - for the up arrow when the button is disabled. |
downDisabled | label - for the up arrow when the button is disabled. |
Example: