Kodi Community Forum

Full Version: Project mayhem iii <id> question in home.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
there the small square in front of settings and my files when not focused, like the main buttons my programs, my pictures...
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 ?