2014-03-23, 19:36
Hi Evandunkel,
You'll need to modify the menu control (id="9000") in home.xml. The code below will display the current profile in the background of the power option. You might need to tweak it a bit, but to get you started:
You'll need to modify the menu control (id="9000") in home.xml. The code below will display the current profile in the background of the power option. You might need to tweak it a bit, but to get you started:
Code:
<control type="list" id="9000">
<posx>0</posx>
<posy>0</posy>
<width>24-col</width>
<height>3-col</height>
<orientation>horizontal</orientation>
<onup>ActivateWindow(systeminfo)</onup>
<ondown>ActivateWindow(weather)</ondown>
<itemlayout width="3-col" height="3-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col</width>
<height>2-col</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="masks/circle.png" border="0">colors/black.png</texture>
<bordersize>0</bordersize>
<colordiffuse>99FFFFFF</colordiffuse>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col</width>
<height>2-col</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="masks/circle.png" border="0">$INFO[listitem.thumb]</texture>
<bordersize>0</bordersize>
<colordiffuse>99FFFFFF</colordiffuse>
</control>
<control type="label">
<posx>25</posx>
<posy>-38</posy>
<width>3-col</width>
<height>3-col</height>
<font>symbolVeryLarge</font>
<textcolor>selected</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</itemlayout>
<focusedlayout width="3-col" height="3-col">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col</width>
<height>2-col</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="masks/circle.png" border="0">colors/selected.png</texture>
<bordersize>0</bordersize>
<colordiffuse>ccFFFFFF</colordiffuse>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>2-col</width>
<height>2-col</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="masks/circle.png" border="0">$INFO[listitem.thumb]</texture>
<bordersize>0</bordersize>
<colordiffuse>99FFFFFF</colordiffuse>
</control>
<control type="label">
<posx>25</posx>
<posy>-38</posy>
<width>3-col</width>
<height>3-col</height>
<font>symbolVeryLarge</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
<label>$INFO[ListItem.label2]</label>
</control>
</focusedlayout>
<content>
<item>
<label>31000</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(videolibrary)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,true)</onclick>
</item>
<item>
<label>31001</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(musiclibrary)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,true)</onclick>
</item>
<item>
<label>31002</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(pictures)</onclick>
</item>
<item>
<label>5</label>
<label2></label2>
<thumb>-</thumb>
<onclick>ActivateWindow(settings)</onclick>
</item>
<item>
<label>31004</label>
<label2></label2>
<thumb>$INFO[System.ProfileThumb]</thumb>
<onclick>ActivateWindow(ShutdownMenu)</onclick>
</item>
</content>
</control>