Resize control: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>NedBot
m (Wikitable class; cosmetic changes)
Line 1: Line 1:
The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of XBMC. You can choose the size, and look of the resizer.
The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of XBMC. You can choose the size, and look of the resizer.
===Example===
=== Example ===
<source lang="xml">
<source lang="xml">
<control type="resize" id="3">
<control type="resize" id="3">
Line 14: Line 14:
</source>
</source>


===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="dtable"
{| class="wikitable"
|- class="userrow"
|-  
| class="usercell" | '''texturefocus'''
| '''texturefocus'''
| class="usercell" |
|  
Specifies the image file which should be displayed when the resizer has focus. [[Texture Attributes|See here for additional information about textures.]]
Specifies the image file which should be displayed when the resizer has focus. [[Texture Attributes|See here for additional information about textures.]]
|- class="userrow"
|-  
| class="usercell" | '''texturenofocus'''
| '''texturenofocus'''
| class="usercell" | Specifies the image file which should be displayed when the resizer does not have focus.
| Specifies the image file which should be displayed when the resizer does not have focus.
|}
|}
[[category:Skin Development]]
 
[[Category:Skin Development]]

Revision as of 07:53, 26 November 2011

The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of XBMC. You can choose the size, and look of the resizer.

Example

<control type="resize" id="3">
      <description>My first resize 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 resizer has focus. See here for additional information about textures.

texturenofocus Specifies the image file which should be displayed when the resizer does not have focus.