2008-11-29, 00:05
Hello all,
I managed to add a weather stream, and now was attempting to add a games button to the PM skin, and so far have been successful except for two things.
1) the Grey background that surrounds programs and video etc.. is not there for my button is that because it's part of the programs icon?
2) the button itself doesn't have the onclick light like the other factory buttons. It works but you don't know when it's highlighted except nothing else is.
Any help is appreciated I'm a very newbie so please be gentle I have copied that par of my code below
begin paste
</control>
<control type="button" id="66">
<description>My Games push button</description>
<posx>54</posx>
<posy>-18</posy>
<width>14</width>
<height>13</height>
<hitrect x="45" y="-15" w="220" h="40" />
<label>Games</label>
<font>special13</font> <onclick>ActivateWindow(MyPrograms,games)</onclick>
<onleft>98</onleft>
<onright>96</onright>
<onup>9</onup>
<ondown>2</ondown>
<texturefocus>home-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>30</textoffsetx>
</control>
<control type="image">
<posx>50</posx>
<posy>-22</posy>
<width>22</width>
<height>22</height>
<texture>homebutton-small.png</texture>
</control>
end paste
I managed to add a weather stream, and now was attempting to add a games button to the PM skin, and so far have been successful except for two things.
1) the Grey background that surrounds programs and video etc.. is not there for my button is that because it's part of the programs icon?
2) the button itself doesn't have the onclick light like the other factory buttons. It works but you don't know when it's highlighted except nothing else is.
Any help is appreciated I'm a very newbie so please be gentle I have copied that par of my code below
begin paste
</control>
<control type="button" id="66">
<description>My Games push button</description>
<posx>54</posx>
<posy>-18</posy>
<width>14</width>
<height>13</height>
<hitrect x="45" y="-15" w="220" h="40" />
<label>Games</label>
<font>special13</font> <onclick>ActivateWindow(MyPrograms,games)</onclick>
<onleft>98</onleft>
<onright>96</onright>
<onup>9</onup>
<ondown>2</ondown>
<texturefocus>home-focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>30</textoffsetx>
</control>
<control type="image">
<posx>50</posx>
<posy>-22</posy>
<width>22</width>
<height>22</height>
<texture>homebutton-small.png</texture>
</control>
end paste