Project mayhem iii <id> question in home.xml
#1
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.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
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
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
there the small square in front of settings and my files when not focused, like the main buttons my programs, my pictures...
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
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 ?
Image

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Project mayhem iii <id> question in home.xml0