Resize control: Difference between revisions
Jump to navigation
Jump to search
m (Bot: automated adding of 'enclose="div"' to syntaxhighlight) |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<section begin="main content" /> | <section begin="main content" /> | ||
The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of | The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of Kodi. You can choose the size, and look of the resizer. | ||
=== Example === | === Example === | ||
<syntaxhighlight lang="xml" enclose="div"> | <syntaxhighlight lang="xml" enclose="div"> | ||
<control type="resize" id="3"> | <control type="resize" id="3"> | ||
<description>My first resize control</description> | <description>My first resize control</description> | ||
< | <left>80</left> | ||
< | <top>60</top> | ||
<width>250</width> | <width>250</width> | ||
<height>200</height> | <height>200</height> | ||
Line 35: | Line 35: | ||
* [[Skinning]] | * [[Skinning]] | ||
[[Category:Skin | [[Category:Skin development]] |
Latest revision as of 00:57, 13 July 2020
The resize control is used to specify an area of changeable ratio for use in the screen calibration portion of Kodi. You can choose the size, and look of the resizer.
Example
<control type="resize" id="3"> <description>My first resize 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 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. |
See also
Development: