xbmc
|
**Used for a scrolling lists of items. More...
Classes | |
class | XBMCAddon::xbmcgui::ControlList |
**Used for a scrolling lists of items.
Replaces the list control.**
{ ControlList(x, y, width, height[, font, textColor, buttonTexture, buttonFocusTexture, selectedColor, imageWidth, imageHeight, itemTextXOffset, itemTextYOffset, itemHeight, space, alignmentY, shadowColor]) }
The list container is one of several containers used to display items from file lists in various ways. The list container is very flexible - it's only restriction is that it is a list - i.e. a single column or row of items. The layout of the items is very flexible and is up to the skinner.
x | integer - x coordinate of control. | ||||||||||||||||||||||||
y | integer - y coordinate of control. | ||||||||||||||||||||||||
width | integer - width of control. | ||||||||||||||||||||||||
height | integer - height of control. | ||||||||||||||||||||||||
font | [opt] string - font used for items label. (e.g. 'font13') | ||||||||||||||||||||||||
textColor | [opt] hexstring - color of items label. (e.g. '0xFFFFFFFF') | ||||||||||||||||||||||||
buttonTexture | [opt] string - filename for focus texture. | ||||||||||||||||||||||||
buttonFocusTexture | [opt] string - filename for no focus texture. | ||||||||||||||||||||||||
selectedColor | [opt] integer - x offset of label. | ||||||||||||||||||||||||
imageWidth | [opt] integer - width of items icon or thumbnail. | ||||||||||||||||||||||||
imageHeight | [opt] integer - height of items icon or thumbnail. | ||||||||||||||||||||||||
itemTextXOffset | [opt] integer - x offset of items label. | ||||||||||||||||||||||||
itemTextYOffset | [opt] integer - y offset of items label. | ||||||||||||||||||||||||
itemHeight | [opt] integer - height of items. | ||||||||||||||||||||||||
space | [opt] integer - space between items. | ||||||||||||||||||||||||
alignmentY | [opt] integer - Y-axis alignment of items label
| ||||||||||||||||||||||||
shadowColor | [opt] hexstring - color of items label's shadow. (e.g. '0xFF000000') |
Example: