Mover Control: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (prettytable)
m (Bot: Automated text replacement (-class="wikitable" +class="prettytable" & -Available Tags +Available tags & -<source +<syntaxhighlight & -</source> +</syntaxhighlight>))
Line 2: Line 2:
The mover control is used for the screen calibration portions of XBMC. You can choose the size and look of the mover control.
The mover control is used for the screen calibration portions of XBMC. You can choose the size and look of the mover control.
=== Example ===
=== Example ===
<source lang="xml">
<syntaxhighlight lang="xml">
<control type="mover" id="3">
<control type="mover" id="3">
       <description>My first mover control</description>
       <description>My first mover control</description>
Line 13: Line 13:
       <pulseonselect>true</pulseonselect>
       <pulseonselect>true</pulseonselect>
</control>
</control>
</source>
</syntaxhighlight>


=== Available Tags ===
=== Available tags ===
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.
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="prettytable"
{| class="prettytable"

Revision as of 05:56, 14 March 2014

The mover control is used for the screen calibration portions of XBMC. You can choose the size and look of the mover control.

Example

<control type="mover" id="3">
      <description>My first mover control</description>
      <posx>80</posx>
      <posy>60</posy>
      <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.

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: