PDA

View Full Version : Project mayhem iii <id> question in  home.xml


Nuka1195
2005-04-22, 08:13
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, 09:45
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, 20:41
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, 07:22
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 ?