Mover Control: Difference between revisions
Jump to navigation
Jump to search
>DonJ No edit summary |
No edit summary |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
The mover control is used for the screen calibration portions of | <section begin="main content" /> | ||
===Example=== | The mover control is used for the screen calibration portions of Kodi. You can choose the size and look of the mover control. | ||
<xml> | === Example === | ||
<control> | <syntaxhighlight lang="xml" enclose="div"> | ||
<control type="mover" id="3"> | |||
<description>My first mover control</description> | <description>My first mover control</description> | ||
< | <left>80</left> | ||
<top>60</top> | |||
< | |||
<width>250</width> | <width>250</width> | ||
<height>200</height> | <height>200</height> | ||
Line 14: | Line 13: | ||
<pulseonselect>true</pulseonselect> | <pulseonselect>true</pulseonselect> | ||
</control> | </control> | ||
</ | </syntaxhighlight> | ||
===Available | === Available tags === | ||
Note that each tag is '''lower case only.''' This is important, as xml tags are case-sensitive. | In addition to the [[Default Control Tags|default control tags]], the following tags are available. Note that each tag is '''lower case only.''' This is important, as xml tags are case-sensitive. | ||
{| class=" | {| class="prettytable" | ||
! Tag !! Description | |||
|- | |||
| '''texturefocus''' | |||
| | |||
Specifies the image file which should be displayed when the mover has focus. [[Texture Attributes|See here for additional information about textures.]] | |||
|- | |||
| '''texturenofocus''' | |||
| Specifies the image file which should be displayed when the mover does not have focus. | |||
|- | |||
| | |||
Specifies the image file which should be displayed when the mover has focus. | |||
|- | |||
| | |||
| | |||
|} | |} | ||
[[ | |||
<section end="main content" /> | |||
== See also == | |||
'''Development:''' | |||
* [[Add-on development]] | |||
* [[Skinning]] | |||
[[Category:Skin development]] |
Latest revision as of 00:57, 13 July 2020
The mover control is used for the screen calibration portions of Kodi. You can choose the size and look of the mover control.
Example
<control type="mover" id="3"> <description>My first mover control</description> <left>80</left> <top>60</top> <width>250</width> <height>200</height> <texturefocus>mytexture.png</texturefocus> <texturenofocus>mytexture.png</texturenofocus> <pulseonselect>true</pulseonselect> </control>
Available tags
In addition to the default control tags, the following tags are available. Note that each tag is lower case only. This is important, as xml tags are case-sensitive.
Tag | Description |
---|---|
texturefocus |
Specifies the image file which should be displayed when the mover has focus. See here for additional information about textures. |
texturenofocus | Specifies the image file which should be displayed when the mover does not have focus. |
See also
Development: