Kodi Community Forum
Project mayhem iii <id> question in home.xml - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
--- Thread: Project mayhem iii <id> question in home.xml (/showthread.php?tid=11607)



- Nuka1195 - 2005-04-22

should these two controls share <id> numbers with my programs?

<control>
<type>image</type>
<id>102</id>
<posx>77</posx>
<posy>430</posy>
<width>15</width>
<height>16</height>
<texture>homebutton-small.png</texture>
</control>

<control>
<type>image</type>
<id>102</id>
<posx>192</posx>
<posy>430</posy>
<width>15</width>
<height>16</height>
<texture>homebutton-small.png</texture>
</control>

<control>
<type>image</type>
<id>102</id>
<posx>182</posx>
<posy>105</posy>
<width>538</width>
<height>362</height>
<texture>4x3home-myprograms.png</texture>
<visible>!player.hasvideo</visible>
</control>

this is in both pal and pal16x9 home.xml files.

it works i guess, because xbmc only assigns the first one in the xml.

just wondered if there was another reason.


- jmarshall - 2005-04-22

not sure - what are the top two images for?

chokemaniac?

but in general, things shouldn't share the "special" id's. the top two can probably be changed without breaking anything.

cheers,
jonathan


- Nuka1195 - 2005-04-22

there the small square in front of settings and my files when not focused, like the main buttons my programs, my pictures...


- Chokemaniac - 2005-04-23

exactly - since the nofocus textures are bigger (cant go with semitransparenzy on gifs) i had to use seperate textures. but didnt i give them id 1 ?