2008-07-23, 09:49
Vision 2 – Strings.xml
<string id="31017">scripts, plugins & Disc</string>
I decided to put the Disc last because the button will be the last one in the list
Vision 2 – Home.xml
(when i mentioned "empty" button this was on a previous build, in the newer ones you will have to modify some stuff, this section is almost at the end, in the scripts part of the code)
<control type="button" id="104">
<description>Button4</description>
<height>22</height>
<width>320</width>
<label> Run Disc </label>
<font>font12</font>
<onclick>XBMC.PlayDVD()</onclick>
<align>center</align>
<aligny>center</aligny>
<textcolor>grey</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<visible>System.HasMediadvd</visible>
</control>
Note: the button is visible only when there's a dvd/cd in the drive.
<string id="31017">scripts, plugins & Disc</string>
I decided to put the Disc last because the button will be the last one in the list
Vision 2 – Home.xml
(when i mentioned "empty" button this was on a previous build, in the newer ones you will have to modify some stuff, this section is almost at the end, in the scripts part of the code)
<control type="button" id="104">
<description>Button4</description>
<height>22</height>
<width>320</width>
<label> Run Disc </label>
<font>font12</font>
<onclick>XBMC.PlayDVD()</onclick>
<align>center</align>
<aligny>center</aligny>
<textcolor>grey</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<visible>System.HasMediadvd</visible>
</control>
Note: the button is visible only when there's a dvd/cd in the drive.