2005-04-22, 07: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.
<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.