<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ac3d912</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ac3d912"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Ac3d912"/>
	<updated>2026-06-20T04:52:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Radio_button_control&amp;diff=92825</id>
		<title>Radio button control</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Radio_button_control&amp;diff=92825"/>
		<updated>2015-04-19T21:30:08Z</updated>

		<summary type="html">&lt;p&gt;Ac3d912: Just added two shortcuts for setting the radio texture&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;section begin=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
The radio button control is used for creating push button on/off settings in XBMC. You can choose the position, size, and look of the button. When the user clicks on the radio button, the state will change, toggling the extra textures (textureradioon and textureradiooff). Used for settings controls.&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;control type=&amp;quot;radiobutton&amp;quot; id=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;My first radiobutton control&amp;lt;/description&amp;gt;&lt;br /&gt;
      &amp;lt;type&amp;gt;radiobutton&amp;lt;/type&amp;gt;&lt;br /&gt;
      &amp;lt;posx&amp;gt;80&amp;lt;/posx&amp;gt;&lt;br /&gt;
      &amp;lt;posy&amp;gt;60&amp;lt;/posy&amp;gt;&lt;br /&gt;
      &amp;lt;width&amp;gt;250&amp;lt;/width&amp;gt;&lt;br /&gt;
      &amp;lt;height&amp;gt;200&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;visible&amp;gt;true&amp;lt;/visible&amp;gt;&lt;br /&gt;
      &amp;lt;colordiffuse&amp;gt;FFFFFFFF&amp;lt;/colordiffuse&amp;gt;&lt;br /&gt;
      &amp;lt;texturefocus&amp;gt;myfocustexture.png&amp;lt;/texturefocus&amp;gt;&lt;br /&gt;
      &amp;lt;texturenofocus&amp;gt;mynormaltexture.png&amp;lt;/texturenofocus&amp;gt;&lt;br /&gt;
      &amp;lt;textureradioonfocus colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;myradiobutton.png&amp;lt;/textureradioonfocus&amp;gt;&lt;br /&gt;
      &amp;lt;textureradioonnofocus colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;myradiobutton.png&amp;lt;/textureradioonnofocus&amp;gt;&lt;br /&gt;
      &amp;lt;textureradioofffocus colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;myradiobutton_nf.png&amp;lt;/textureradioofffocus&amp;gt;&lt;br /&gt;
      &amp;lt;textureradiooffnofocus colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;myradiobutton_nf.png&amp;lt;/textureradiooffnofocus&amp;gt;&lt;br /&gt;
      &amp;lt;selected&amp;gt;Player.Paused&amp;lt;/selected&amp;gt;&lt;br /&gt;
      &amp;lt;onclick&amp;gt;PlayerControls(Pause)&amp;lt;/onclick&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;29&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;font&amp;gt;font12&amp;lt;/font&amp;gt;&lt;br /&gt;
      &amp;lt;textcolor&amp;gt;FFFFFFFF&amp;lt;/textcolor&amp;gt;&lt;br /&gt;
      &amp;lt;focusedcolor&amp;gt;FFFFFFFF&amp;lt;/focusedcolor&amp;gt;&lt;br /&gt;
      &amp;lt;disabledcolor&amp;gt;80FFFFFF&amp;lt;/disabledcolor&amp;gt;&lt;br /&gt;
      &amp;lt;align&amp;gt;left&amp;lt;/align&amp;gt;&lt;br /&gt;
      &amp;lt;aligny&amp;gt;center&amp;lt;/aligny&amp;gt;&lt;br /&gt;
      &amp;lt;textoffsetx&amp;gt;4&amp;lt;/textoffsetx&amp;gt;&lt;br /&gt;
      &amp;lt;textoffsety&amp;gt;5&amp;lt;/textoffsety&amp;gt;&lt;br /&gt;
      &amp;lt;pulseonselect&amp;gt;false&amp;lt;/pulseonselect&amp;gt;&lt;br /&gt;
      &amp;lt;onfocus&amp;gt;-&amp;lt;/onfocus&amp;gt;&lt;br /&gt;
      &amp;lt;onunfocus&amp;gt;-&amp;lt;/onunfocus&amp;gt;&lt;br /&gt;
      &amp;lt;onup&amp;gt;2&amp;lt;/onup&amp;gt;&lt;br /&gt;
      &amp;lt;ondown&amp;gt;3&amp;lt;/ondown&amp;gt;&lt;br /&gt;
      &amp;lt;onleft&amp;gt;1&amp;lt;/onleft&amp;gt;&lt;br /&gt;
      &amp;lt;onright&amp;gt;1&amp;lt;/onright&amp;gt;&lt;br /&gt;
&amp;lt;/control&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Available tags ===&lt;br /&gt;
In addition to the [[Default Control Tags]] the following tags are available. Note that each tag is &#039;&#039;&#039;lower case&#039;&#039;&#039; only. This is important, as xml tags are case-sensitive.&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Tag !! Description&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;texturefocus&#039;&#039;&#039;&lt;br /&gt;
| &lt;br /&gt;
Specifies the image file which should be displayed when the button has focus. [[Texture Attributes|See here for additional information about textures.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;texturenofocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed when the button does not have focus.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureradioonfocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the radio button portion when it&#039;s the button is on and focused. This texture is positioned on the right of the button – it&#039;s positioned 24 pixels from the right edge of the button, and 8 pixels above the center vertically.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureradioonnofocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the radio button portion when it&#039;s the button is on and unfocused. This texture is positioned on the right of the button – it&#039;s positioned 24 pixels from the right edge of the button, and 8 pixels above the center vertically.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureradioon&#039;&#039;&#039;&lt;br /&gt;
|  A shortcut to set both of the above textures to the same image file.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureradioofffocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the radio button portion when the button is off and focused.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureradiooffnofocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the radio button portion when the button is off and unfocused.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureradiooff&#039;&#039;&#039;&lt;br /&gt;
|  A shortcut to set both of the above textures to the same image file.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;label&#039;&#039;&#039;&lt;br /&gt;
|  The label used on the button. It can be a link into strings.xml, or an actual text label.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;font&#039;&#039;&#039;&lt;br /&gt;
|  Font used for the button label. From fonts.xml.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textcolor&#039;&#039;&#039;&lt;br /&gt;
|  Color used for displaying the button label. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|-  &lt;br /&gt;
|  &#039;&#039;&#039;focusedcolor&#039;&#039;&#039;&lt;br /&gt;
|  Color used for the button label when the button has in focus. In AARRGGBB hex format or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;disabledcolor&#039;&#039;&#039;&lt;br /&gt;
|  Color used for the button label if the button is disabled.  In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;shadowcolor&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the color of the drop shadow on the text, in AARRGGBB format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;align&#039;&#039;&#039;&lt;br /&gt;
|  Label horizontal alignment on the button. Defaults to left, can also be center or right.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;aligny&#039;&#039;&#039;&lt;br /&gt;
|  Label vertical alignment on the button. Defaults to top, can also be center.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textoffsetx&#039;&#039;&#039;&lt;br /&gt;
|  Amount to offset the label from the left (or right) edge of the button when using left or right alignment.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textoffsety&#039;&#039;&#039;&lt;br /&gt;
|  Amount to offset the label from the top edge of the button when using top alignment.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;selected&#039;&#039;&#039;&lt;br /&gt;
|  The boolean condition that when met will cause the control to become selected. [[Conditional Visibility|see here for more information.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;onclick&#039;&#039;&#039;&lt;br /&gt;
|  The function to perform when the radio button is clicked. Should be a [[Built-in functions available to FTP, Webserver, skins, keymap and to python|built in function.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;radioposx&#039;&#039;&#039;&lt;br /&gt;
|  X offset of the &#039;&#039;dot&#039;&#039; or radio button itself&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;radioposy&#039;&#039;&#039;&lt;br /&gt;
|  Y offset of the &#039;&#039;dot&#039;&#039; or radio button itself&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;radiowidth&#039;&#039;&#039;&lt;br /&gt;
|  Width in Pixels of the &#039;&#039;dot&#039;&#039; or radio button itself&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;radioheight&#039;&#039;&#039;&lt;br /&gt;
|  Height in Pixels of the &#039;&#039;dot&#039;&#039; or radio button itself&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;onfocus&#039;&#039;&#039;&lt;br /&gt;
| Specifies the action to perform when the button is focused. Should be a built in function. The action is performed after any focus animations have completed. [[List of Built In Functions|See here for more information.]]&lt;br /&gt;
|-  &lt;br /&gt;
|   &#039;&#039;&#039;onunfocus&#039;&#039;&#039;&lt;br /&gt;
| Specifies the action to perform when the button loses focus. Should be a built in function.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&#039;&#039;&#039;Development:&#039;&#039;&#039;&lt;br /&gt;
* [[Add-on development]]&lt;br /&gt;
* [[Skinning]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Skin development]]&lt;/div&gt;</summary>
		<author><name>Ac3d912</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Settings_Spin_Control&amp;diff=92692</id>
		<title>Settings Spin Control</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Settings_Spin_Control&amp;diff=92692"/>
		<updated>2015-04-17T06:10:42Z</updated>

		<summary type="html">&lt;p&gt;Ac3d912: moved settings from spincontrol that were supposed to be here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;section begin=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
The settings spin control is used in the settings screens for when a list of options can be chosen from using up/down arrows. You can choose the position, size, and look of the spin control. It is basically a cross between the button control and a spin control. It has a label and focus and non focus textures, as well as a spin control on the right.&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;control type=&amp;quot;spincontrolex&amp;quot; id=&amp;quot;12&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;My first settings spin control&amp;lt;/description&amp;gt;&lt;br /&gt;
      &amp;lt;posx&amp;gt;80&amp;lt;/posx&amp;gt;&lt;br /&gt;
      &amp;lt;posy&amp;gt;60&amp;lt;/posy&amp;gt;&lt;br /&gt;
      &amp;lt;width&amp;gt;250&amp;lt;/width&amp;gt;&lt;br /&gt;
      &amp;lt;height&amp;gt;200&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;spinposx&amp;gt;220&amp;lt;/spinposx&amp;gt;&lt;br /&gt;
      &amp;lt;spinposy&amp;gt;180&amp;lt;/spinposy&amp;gt;&lt;br /&gt;
      &amp;lt;spinwidth&amp;gt;16&amp;lt;/spinwidth&amp;gt;&lt;br /&gt;
      &amp;lt;spinheight&amp;gt;16&amp;lt;/spinheight&amp;gt;&lt;br /&gt;
      &amp;lt;visible&amp;gt;true&amp;lt;/visible&amp;gt;&lt;br /&gt;
      &amp;lt;colordiffuse&amp;gt;FFFFFFFF&amp;lt;/colordiffuse&amp;gt;&lt;br /&gt;
      &amp;lt;texturefocus&amp;gt;myfocustexture.png&amp;lt;/texturefocus&amp;gt;&lt;br /&gt;
      &amp;lt;texturenofocus&amp;gt;mynofocustexture.png&amp;lt;/texturenofocus&amp;gt;&lt;br /&gt;
      &amp;lt;textureup&amp;gt;myuptexture.png&amp;lt;/textureup&amp;gt;&lt;br /&gt;
      &amp;lt;textureupfocus&amp;gt;myupfocustexture.png&amp;lt;/textureupfocus&amp;gt;&lt;br /&gt;
      &amp;lt;texturedown&amp;gt;mydowntexture.png&amp;lt;/texturedown&amp;gt;&lt;br /&gt;
      &amp;lt;texturedownfocus&amp;gt;mydownfocustexture.png&amp;lt;/texturedownfocus&amp;gt;&lt;br /&gt;
      &amp;lt;label&amp;gt;46&amp;lt;/label&amp;gt;&lt;br /&gt;
      &amp;lt;font&amp;gt;font12&amp;lt;/font&amp;gt;&lt;br /&gt;
      &amp;lt;textcolor&amp;gt;FFFFFFFF&amp;lt;/textcolor&amp;gt;&lt;br /&gt;
      &amp;lt;disabledcolor&amp;gt;80FFFFFF&amp;lt;/disabledcolor&amp;gt;&lt;br /&gt;
      &amp;lt;align&amp;gt;&amp;lt;/align&amp;gt;&lt;br /&gt;
      &amp;lt;aligny&amp;gt;&amp;lt;/aligny&amp;gt;&lt;br /&gt;
      &amp;lt;textoffsetx&amp;gt;&amp;lt;/textoffsetx&amp;gt;&lt;br /&gt;
      &amp;lt;textoffsety&amp;gt;&amp;lt;/textoffsety&amp;gt;&lt;br /&gt;
      &amp;lt;pulseonselect&amp;gt;&amp;lt;/pulseonselect&amp;gt;&lt;br /&gt;
      &amp;lt;onup&amp;gt;2&amp;lt;/onup&amp;gt;&lt;br /&gt;
      &amp;lt;ondown&amp;gt;3&amp;lt;/ondown&amp;gt;&lt;br /&gt;
      &amp;lt;onleft&amp;gt;1&amp;lt;/onleft&amp;gt;&lt;br /&gt;
      &amp;lt;onright&amp;gt;1&amp;lt;/onright&amp;gt;&lt;br /&gt;
&amp;lt;/control&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Available tags ===&lt;br /&gt;
In addition to the [[Default Control Tags]] the following tags are available. Note that each tag is &#039;&#039;&#039;lower case&#039;&#039;&#039; only. This is important, as xml tags are case-sensitive.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Tag !! Description&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;spinposx&#039;&#039;&#039;&lt;br /&gt;
|  The horizontal position of the spin control for multipage lists. This is offset from the top left of the list.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;spinposy&#039;&#039;&#039;&lt;br /&gt;
|  The vertical position of the spin control for multipage lists. This is offset from the top left of the list.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;spinwidth&#039;&#039;&#039;&lt;br /&gt;
|  The width of one of the spin control buttons. The textures for this spin control will be scaled to fit this width.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;spinheight&#039;&#039;&#039;&lt;br /&gt;
|  The height of one of the spin control buttons. The textures for this spin control will be scaled to fit this height.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;texturefocus&#039;&#039;&#039;&lt;br /&gt;
| Specifies the image file which should be displayed for the control when it has focus. [[Texture Attributes|See here for additional information about textures.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;texturenofocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the control when it doesn&#039;t focus.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureup&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the up arrow when it doesn&#039;t have focus. It is displayed to the left of the down arrow.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textureupfocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the up arrow when it has focus.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;texturedown&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the down arrow when it is not focused. It is displayed to the right of the up arrow so that it&#039;s right edge is &amp;lt;textoffsetx&amp;gt; pixels away from the right edge of the control.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;texturedownfocus&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the image file which should be displayed for the down arrow when it has focus.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;label&#039;&#039;&#039;&lt;br /&gt;
|  Either a numeric reference into strings.xml (for localization), or a string that will be shown on the left of the control.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;font&#039;&#039;&#039;&lt;br /&gt;
|  Font used for the controls label. From fonts.xml.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textcolor&#039;&#039;&#039;&lt;br /&gt;
|  Color used for displaying the label. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;disabledcolor&#039;&#039;&#039;&lt;br /&gt;
|  Color used for the label if the control is disabled. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;shadowcolor&#039;&#039;&#039;&lt;br /&gt;
|  Specifies the color of the drop shadow on the text. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;align&#039;&#039;&#039;&lt;br /&gt;
|  Label horizontal alignment on the control. Defaults to left.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;aligny&#039;&#039;&#039;&lt;br /&gt;
|  Label vertical alignment on the control. Defaults to top, can also be center.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textoffsetx&#039;&#039;&#039;&lt;br /&gt;
|  Amount to offset the label from the left (or right) edge of the button when using left or right alignment.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;textoffsety&#039;&#039;&#039;&lt;br /&gt;
|  Amount to offset the label from the top edge of the button when using top alignment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&#039;&#039;&#039;Development:&#039;&#039;&#039;&lt;br /&gt;
* [[Add-on development]]&lt;br /&gt;
* [[Skinning]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Skin development]]&lt;/div&gt;</summary>
		<author><name>Ac3d912</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Spin_Control&amp;diff=92691</id>
		<title>Spin Control</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Spin_Control&amp;diff=92691"/>
		<updated>2015-04-17T06:07:36Z</updated>

		<summary type="html">&lt;p&gt;Ac3d912: removed misplaced items (moving them to spincontrolex); added note to spincolor&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;section begin=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
The spin control is used for when a list of options can be chosen (such as a page up/down control). You can choose the position, size, and look of the spin control.&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;XML&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;control type=&amp;quot;spincontrol&amp;quot; id=&amp;quot;14&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;description&amp;gt;My first spin control&amp;lt;/description&amp;gt;&lt;br /&gt;
      &amp;lt;posx&amp;gt;80&amp;lt;/posx&amp;gt;&lt;br /&gt;
      &amp;lt;posy&amp;gt;60&amp;lt;/posy&amp;gt;&lt;br /&gt;
      &amp;lt;width&amp;gt;250&amp;lt;/width&amp;gt;&lt;br /&gt;
      &amp;lt;height&amp;gt;200&amp;lt;/height&amp;gt;&lt;br /&gt;
      &amp;lt;visible&amp;gt;true&amp;lt;/visible&amp;gt;&lt;br /&gt;
      &amp;lt;colordiffuse&amp;gt;FFFFFFFF&amp;lt;/colordiffuse&amp;gt;&lt;br /&gt;
      &amp;lt;textureup colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;myuptexture.png&amp;lt;/textureup&amp;gt;&lt;br /&gt;
      &amp;lt;textureupfocus colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;myupfocustexture.png&amp;lt;/textureupfocus&amp;gt;&lt;br /&gt;
      &amp;lt;texturedown colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;mydowntexture.png&amp;lt;/texturedown&amp;gt;&lt;br /&gt;
      &amp;lt;texturedownfocus colordiffuse=&amp;quot;FFFFAAFF&amp;quot;&amp;gt;mydownfocustexture.png&amp;lt;/texturedownfocus&amp;gt;&lt;br /&gt;
      &amp;lt;subtype&amp;gt;page&amp;lt;/subtype&amp;gt;&lt;br /&gt;
      &amp;lt;font&amp;gt;font12&amp;lt;/font&amp;gt;&lt;br /&gt;
      &amp;lt;textcolor&amp;gt;FFFFFFFF&amp;lt;/textcolor&amp;gt;&lt;br /&gt;
      &amp;lt;disabledcolor&amp;gt;80FFFFFF&amp;lt;/disabledcolor&amp;gt;&lt;br /&gt;
      &amp;lt;align&amp;gt;&amp;lt;/align&amp;gt;&lt;br /&gt;
      &amp;lt;aligny&amp;gt;&amp;lt;/aligny&amp;gt;&lt;br /&gt;
      &amp;lt;textoffsetx&amp;gt;&amp;lt;/textoffsetx&amp;gt;&lt;br /&gt;
      &amp;lt;textoffsety&amp;gt;&amp;lt;/textoffsety&amp;gt;&lt;br /&gt;
      &amp;lt;pulseonselect&amp;gt;&amp;lt;/pulseonselect&amp;gt;&lt;br /&gt;
      &amp;lt;onup&amp;gt;2&amp;lt;/onup&amp;gt;&lt;br /&gt;
      &amp;lt;ondown&amp;gt;3&amp;lt;/ondown&amp;gt;&lt;br /&gt;
      &amp;lt;onleft&amp;gt;1&amp;lt;/onleft&amp;gt;&lt;br /&gt;
      &amp;lt;onright&amp;gt;1&amp;lt;/onright&amp;gt;&lt;br /&gt;
&amp;lt;/control&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Available tags ===&lt;br /&gt;
In addition to the [[Default Control Tags]] the following tags are available. Note that each tag is &#039;&#039;&#039;lower case&#039;&#039;&#039; only. This is important, as xml tags are case-sensitive.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! Tag !! Description&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;textureup&#039;&#039;&#039;&lt;br /&gt;
| Specifies the image file which should be displayed for the up arrow when it doesn&#039;t have focus. [[Texture Attributes|See here for additional information about textures.]]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;textureupfocus&#039;&#039;&#039;&lt;br /&gt;
| Specifies the image file which should be displayed for the up button when it has focus.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;texturedown&#039;&#039;&#039;&lt;br /&gt;
| Specifies the image file which should be displayed for the down button when it is not focused.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;texturedownfocus&#039;&#039;&#039;&lt;br /&gt;
| Specifies the image file which should be displayed for the down button when it has focus.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;font&#039;&#039;&#039;&lt;br /&gt;
| Font used for the button label. From fonts.xml.&lt;br /&gt;
|- &lt;br /&gt;
|  &#039;&#039;&#039;spincolor&#039;&#039;&#039;&lt;br /&gt;
|  The colour of the text used for this spin control. In AARRGGBB hex format. &#039;&#039;As of Helix, this doesn&#039;t actually get processed, use textcolor&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;textcolor&#039;&#039;&#039;&lt;br /&gt;
| Color used for displaying the label. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]].&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;disabledcolor&#039;&#039;&#039;&lt;br /&gt;
| Color used for the label if the control is disabled. In AARRGGBB hex format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;shadowcolor&#039;&#039;&#039;&lt;br /&gt;
| Specifies the color of the drop shadow on the text. In AARRGGBB format, or a name from the [[Colour Themes|colour theme.]]&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;subtype&#039;&#039;&#039;&lt;br /&gt;
| Defines what type of information the spinner holds. Can be int, float, text or page. Defaults to text.  Make sure you use page for a page control.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;align&#039;&#039;&#039;&lt;br /&gt;
| Label horizontal alignment on the control. Defaults to right, can also be left.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;aligny&#039;&#039;&#039;&lt;br /&gt;
| Label vertical alignment on the control. Defaults to top, can also be center.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;textoffsetx&#039;&#039;&#039;&lt;br /&gt;
| Amount to offset the label from the left (or right) edge of the button when using left or right alignment.&lt;br /&gt;
|- &lt;br /&gt;
| &#039;&#039;&#039;textoffsety&#039;&#039;&#039;&lt;br /&gt;
| Amount to offset the label from the top edge of the button when using top alignment.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&#039;&#039;&#039;Development:&#039;&#039;&#039;&lt;br /&gt;
* [[Add-on development]]&lt;br /&gt;
* [[Skinning]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Skin development]]&lt;/div&gt;</summary>
		<author><name>Ac3d912</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Fonts&amp;diff=92690</id>
		<title>Fonts</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Fonts&amp;diff=92690"/>
		<updated>2015-04-17T05:33:05Z</updated>

		<summary type="html">&lt;p&gt;Ac3d912: /* Format of the Font.xml File */ Added in &amp;lt;fonts&amp;gt; tag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav|[[Development]]|[[Skinning]]}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
There&#039;s one special file called font.xml. This file contains a list of all fonts the skin uses. XBMC&lt;br /&gt;
will load all the fonts mentioned in this file from the /myskin/fonts directory first, and if that fails,&lt;br /&gt;
will attempt to load them from XBMC/media/fonts. In the event that XBMC is unable to locate the specified font, it will default to &amp;quot;font13&amp;quot;. You can modify this file as you like and&lt;br /&gt;
add/delete/change fonts. The user friendly font name is referenced by the other xml files mentioned&lt;br /&gt;
below.&lt;br /&gt;
{{see also|HOW-TO:Add a new true type font to the skin}}&lt;br /&gt;
== Format of the Font.xml File ==&lt;br /&gt;
The font.xml file is divided into font sets, which includes a set of fonts used by the skin. Every&lt;br /&gt;
font set must contain the same font names in order for the skin to work with all font sets.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
  &amp;lt;fonts&amp;gt;&lt;br /&gt;
    &amp;lt;fontset id=&amp;quot;Default&amp;quot; idloc=&amp;quot;31390&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;font&amp;gt;&lt;br /&gt;
       ....&lt;br /&gt;
      &amp;lt;/font&amp;gt;&lt;br /&gt;
      &amp;lt;font&amp;gt;&lt;br /&gt;
      ....&lt;br /&gt;
      &amp;lt;/font&amp;gt;&lt;br /&gt;
      ....&lt;br /&gt;
    &amp;lt;/fontset&amp;gt;&lt;br /&gt;
    &amp;lt;fontset id=&amp;quot;Arial&amp;quot; idloc=&amp;quot;31391&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;font&amp;gt;&lt;br /&gt;
      ....&lt;br /&gt;
      &amp;lt;/font&amp;gt;&lt;br /&gt;
      ....&lt;br /&gt;
    &amp;lt;/fontset&amp;gt;&lt;br /&gt;
  &amp;lt;/fonts&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A font set has the following attributes:&lt;br /&gt;
&lt;br /&gt;
; id&lt;br /&gt;
: Name of the font set. Displayed to the user. Can have any value.&lt;br /&gt;
; idloc&lt;br /&gt;
: Refers to a string in the Skins&#039; language file, so font names can be localized.&lt;br /&gt;
&lt;br /&gt;
There has to be at least one font set with the unicode attribute set to true else languages like Chinese or Korean will not display properly. There is a font called Arialuni.TTF with a size of 20MB. It is a unicode True Type Font and works with all languages Kodi supports.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Kodi will automatically switch to the first available unicode font set if the user selects a language that needs one. This switch will not be made if the currently loaded font set already supports unicode.&lt;br /&gt;
&lt;br /&gt;
== Supported Font Types ==&lt;br /&gt;
=== True type Fonts ===&lt;br /&gt;
True type fonts must have a .ttf suffix. For a true type font it is possible to define the size (default 20)&lt;br /&gt;
and a style &#039;&#039;normal&#039;&#039;, &#039;&#039;bold&#039;&#039;, &#039;&#039;italics&#039;&#039;, or &#039;&#039;bolditalics&#039;&#039;. Frodo also includes &#039;&#039;lowercase&#039;&#039; or &#039;&#039;uppercase&#039;&#039;. Isengard includes &#039;&#039;capitalize&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Note: Multiple styles can be used by separating them with a space.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;font&amp;gt;&lt;br /&gt;
     &amp;lt;name&amp;gt;font12&amp;lt;/name&amp;gt;&lt;br /&gt;
     &amp;lt;filename&amp;gt;arial.ttf&amp;lt;/name&amp;gt;&lt;br /&gt;
     &amp;lt;size&amp;gt;12&amp;lt;/size&amp;gt;&lt;br /&gt;
     &amp;lt;style&amp;gt;uppercase lowercase bold&amp;lt;/style&amp;gt;&lt;br /&gt;
     &amp;lt;aspect&amp;gt;0.75&amp;lt;/aspect&amp;gt;&lt;br /&gt;
     &amp;lt;linespacing&amp;gt;1.0&amp;lt;/linespacing&amp;gt;&lt;br /&gt;
  &amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;aspect&amp;gt; tag specifies the aspect ratio of the font. An aspect of 0.75 means that the width of the font will be 0.75 of the height. By default the aspect is 1.0 for all but the SD 16x9 modes (PAL16x9, NTSC16x9 and 480p16x9) where the aspect ratio is 0.75, due to the stretched pixels.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;linespacing&amp;gt; tag defines height of each line (sometimes called leading or inteline spacing). By default linespacing is set to 1.0.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section end=&amp;quot;main content&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Skin development]]&lt;br /&gt;
[[Category:Languages]]&lt;/div&gt;</summary>
		<author><name>Ac3d912</name></author>
	</entry>
</feed>