2008-09-29, 14:02
2008-09-29, 18:48
Sure. Home.xml is the file to edit. There's a section called "main menu" which has 6 buttons. You could add a seventh one and make that open the weather forecast. Just look through the code, shouldn't be too difficult
2008-09-30, 04:17
For those who want to do the same thing copy and paste this in your home.xml
in the main menu section
in the main menu section
Quote:<control type="button" id="7">
<description>Weather Button</description>
<label>Weather</label>
<posx>535</posx>
<posy>0</posy>
<width>100</width>
<height>44</height>
<onleft>5</onleft>
<onright>6</onright>
<onup>1</onup>
<ondown>2</ondown>
<texturefocus>default-button.png</texturefocus>
<texturenofocus>-</texturenofocus>
<font>menubar</font>
<textcolor>button-text</textcolor>
<aligny>-</aligny>
<align>center</align>
<textoffsety>1</textoffsety>
<onclick>ActivateWindow(2600)</onclick>
</control>
2009-03-09, 22:15
I alpha 6c this seems to work best:
Note, I needed to identify this as "8" instead of as "7" like in the previous example, since "7" is now the DVD disc.
Code:
<control type="button" id="8">
<description>Weather Button</description>
<label>Weather</label>
<posx>680</posx>
<posy>0</posy>
<width>140</width>
<height>44</height>
<onleft>5</onleft>
<onright>6</onright>
<onup>1</onup>
<ondown>2</ondown>
<onclick>ActivateWindow(2600)</onclick>
<include>menubarButton</include>
</control>
Note, I needed to identify this as "8" instead of as "7" like in the previous example, since "7" is now the DVD disc.
2009-03-13, 18:22
The best skin so far is Focus! keepup the good work.
I have tried both the codes in home.xml. I am able to get the Weather button on the horizontal bar. But it is not getting selected, so I am not able to click it.
Any help would be great.
I have tried both the codes in home.xml. I am able to get the Weather button on the horizontal bar. But it is not getting selected, so I am not able to click it.
Any help would be great.