Mover Control: Difference between revisions
Jump to navigation
Jump to search
>DonJ No edit summary |
>Jmarshall No edit summary |
||
Line 2: | Line 2: | ||
===Example=== | ===Example=== | ||
<xml> | <xml> | ||
<control> | <control type="mover" id="3"> | ||
<description>My first mover control</description> | <description>My first mover control</description> | ||
<posx>80</posx> | <posx>80</posx> | ||
<posy>60</posy> | <posy>60</posy> | ||
Line 17: | Line 15: | ||
===Available Tags=== | ===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="dtable" | {| class="dtable" | ||
|- class="userrow" | |- class="userrow" | ||
| class="usercell" | '''texturefocus''' | | class="usercell" | '''texturefocus''' | ||
| class="usercell" | | | class="usercell" | | ||
Specifies the image file which should be displayed when the mover has focus. | Specifies the image file which should be displayed when the mover has focus. [[Texture Attributes|See here for additional information about textures.]] | ||
|- class="userrow" | |- class="userrow" | ||
| class="usercell" | '''texturenofocus''' | | class="usercell" | '''texturenofocus''' | ||
| class="usercell" | Specifies the image file which should be displayed when the mover does not have focus. | | class="usercell" | Specifies the image file which should be displayed when the mover does not have focus. | ||
|} | |} | ||
[[category:Skin Development]] | [[category:Skin Development]] |
Revision as of 03:59, 24 July 2007
The mover control is used for the screen calibration portions of XBMC. You can choose the size and look of the mover control.
Example
<xml> <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> </xml>
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. |