Icons in mainscreen of xbmc?
#1
hello,

i addes 2 extra buttons to the mainmenu in xbmc:
my email and dutch tv guide,
the buttons work and the script launches perfectly,
but i want to address icons to that function too (like my movies,my music....)
i understand that the icons are compressed in textures.xpr
and for adding extra icons you just have to put .png file in media folder of the skin you are using.
i edited the xboxmediacenter.xml using this example:

<button>
<description>xlink kai home button</description>
<label>online gaming</label>
<execute>xbmc.activatewindow(2007)</execute>
<icon>kai home icon?,png</icon>
</button>

but that doens't work...
help would be appreciated

ps: i'm using project mayhem ii
Reply
#2
i've never done it like that, but if that is a cut and paste, then

<icon>kai home icon?,png</icon> may be your problem change the "," to a "."

otherwise try below.

if you're talking about the graphics that are displayed in the background, edit the home.xml file in either pal or pal16x9 in the skin/project mayhem ii folder and add a new control.

   <control>
     <type>image</type>
     <id>102</id>
     <posx>50</posx>
     <posy>50</posy>
     <height>500</height>
     <width>650</width>
     <texture>home-myprograms.png</texture>
   </control>

use a different name for your texture and match id's.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
Icons in mainscreen of xbmc?0