<control>
<description>pictures normal push button</description>
<type>button</type>
<id>13</id>
<posX>91</posX>
<posY>270</posY>
<width>14</width>
<height>13</height>
<label>1</label>
<hyperlink>2</hyperlink>
<font>font10</font>
<onleft>13</onleft>
<onright>13</onright>
<onup>2</onup>
<ondown>3</ondown>
<textureFocus>home-focus.gif</textureFocus>
<textureNoFocus>button-nofocus.png</textureNoFocus>
<textXOff>20</textXOff>
<hover>hover_my pictures.png</hover>
<hoverX>313</hoverX>
<hoverY>108</hoverY>
<hoverWidth>407</hoverWidth>
<hoverHeight>358</hoverHeight>
</control>
<control>
<label>1</label> <!-- u us this to call different string names e.g. “133” will call “Artists” text and will translate it to which ever language the user is using. -->
<hyperlink>2</hyperlink> <!--This is used to jump to the page which u wish to link the button too. -->
The labels are defined in the language strings. Have a look at the file C:\Program Files\Team MediaPortal\MediaPortal\Language\English\strings.xmlSo where are labels defined at? Are they defined by mediaportal or by the skinner? Where might I be able to define/find these labels?
These are defined at the top of the start of the .xml definition files e.g MyRadio.xml hasAnd the same questions go for hyperlinks. If they were defined in the xml documents somewhere I didn't find them...
- <window>
<id>30</id> <------------------------****************
<defaultcontrol>2</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<define>#header.label:666</define>
<define>#header.image:radio_logo.png</define>
<define>#header.hover:hover_my radio.png</define>
- <controls>
<control>
<description>home BM Radio</description>
<type>button</type>
<id>2</id>
<posX>19</posX>
<posY>240</posY>
<width>162</width>
<height>225</height>
<textureFocus>Radio.png</textureFocus>
<textureNoFocus>hover_my radio.png</textureNoFocus>
<thumbZoom>yes</thumbZoom>
<hyperlink>30</hyperlink> <---------------------------*************
<hover>-</hover>
<hoverX>265</hoverX>
<hoverY>270</hoverY>
<hoverWidth>204</hoverWidth>
<hoverHeight>230</hoverHeight>
<label>665</label>
<textcolor>00ffffff</textcolor>
<textcolorNoFocus>00ffffff</textcolorNoFocus>
<onleft>6</onleft>
<onright>3</onright>
<onup>21</onup>
<ondown>2</ondown>
</control>
<control>
<description>Play DVD</description>
<type>button</type>
<id>6</id>
<label>341</label>
<textXOff>17</textXOff>
<alignY>center</alignY>
</control>