Settings rework

This commit is contained in:
DaVukovic 2019-05-21 17:26:29 +02:00
parent 2e848bc6b1
commit 61f1540686
5 changed files with 96 additions and 91 deletions

View File

@ -4,35 +4,33 @@
<controls>
<include>CommonBackground</include>
<control type="group">
<include>Window_OpenClose_Right_Panel_Animation</include>
<include>ContentPanel</include>
<control type="panel" id="50">
<posx>300</posx>
<posy>130</posy>
<width>950</width>
<posx>80</posx>
<posy>180</posy>
<width>1350</width>
<height>512</height>
<onleft>9000</onleft>
<onright>9000</onright>
<onleft>50</onleft>
<onright>50</onright>
<onup>50</onup>
<ondown>50</ondown>
<viewtype label="21371">panel</viewtype>
<pagecontrol>-</pagecontrol>
<scrolltime>200</scrolltime>
<preloaditems>2</preloaditems>
<itemlayout height="256" width="190">
<itemlayout height="200" width="200">
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>180</width>
<height>210</height>
<width>120</width>
<height>120</height>
<texture>$INFO[Listitem.Icon]</texture>
</control>
<control type="label">
<posx>95</posx>
<posy>220</posy>
<width>180</width>
<posx>5</posx>
<posy>150</posy>
<width>120</width>
<height>25</height>
<font>font13</font>
<font>font12</font>
<textcolor>grey2</textcolor>
<selectedcolor>green</selectedcolor>
<align>center</align>
@ -40,28 +38,28 @@
<label>[B]$INFO[ListItem.Label][/B]</label>
</control>
</itemlayout>
<focusedlayout height="256" width="190">
<focusedlayout height="200" width="200">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>190</width>
<height>256</height>
<width>140</width>
<height>140</height>
<aspectratio>stretch</aspectratio>
<texture border="5">button-focus.png</texture>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>180</width>
<height>210</height>
<width>130</width>
<height>130</height>
<texture>$INFO[Listitem.Icon]</texture>
</control>
<control type="label">
<posx>95</posx>
<posy>220</posy>
<width>180</width>
<posx>5</posx>
<posy>150</posy>
<width>130</width>
<height>25</height>
<font>font13</font>
<font>font12</font>
<textcolor>white</textcolor>
<selectedcolor>green</selectedcolor>
<align>center</align>
@ -71,19 +69,9 @@
</focusedlayout>
<content>
<item>
<label>3</label>
<onclick>ActivateWindow(MyVideosSettings)</onclick>
<icon>icon_video.png</icon>
</item>
<item>
<label>2</label>
<onclick>ActivateWindow(MyMusicSettings)</onclick>
<icon>icon_music.png</icon>
</item>
<item>
<label>1</label>
<onclick>ActivateWindow(MyPicturesSettings)</onclick>
<icon>icon_pics.png</icon>
<label>7</label>
<onclick>ActivateWindow(FileManager)</onclick>
<icon>FileManager.png</icon>
</item>
<item>
<label>24001</label>
@ -91,75 +79,58 @@
<icon>icon_addons.png</icon>
</item>
<item>
<label>31400</label>
<onclick>ActivateWindow(MyTVSettings)</onclick>
<icon>icon_tv.png</icon>
<label>138</label>
<onclick>ActivateWindow(SystemInfo)</onclick>
<icon>SystemInformation.png</icon>
</item>
<item>
<label>13200</label>
<onclick>ActivateWindow(Profiles)</onclick>
<label>10050</label>
<onclick>ActivateWindow(Eventlog)</onclick>
<icon>unknown-user.png</icon>
</item>
<item>
<label>8</label>
<onclick>ActivateWindow(MyWeatherSettings)</onclick>
<icon>icon_weather.png</icon>
</item>
<item>
<label>14036</label>
<onclick>ActivateWindow(ServiceSettings)</onclick>
<icon>icon_network.png</icon>
</item>
<label>14036</label>
<onclick>ActivateWindow(servicesettings)</onclick>
<icon>unknown-user.png</icon>
</item>
<item>
<label>13000</label>
<onclick>ActivateWindow(SystemSettings)</onclick>
<icon>icon_system.png</icon>
</item>
<item>
<label>480</label>
<label>14206</label>
<onclick>ActivateWindow(AppearanceSettings)</onclick>
<icon>icon_appearence.png</icon>
</item>
<item>
<label>14200</label>
<onclick>ActivateWindow(PlayerSettings)</onclick>
<icon>unknown-user.png</icon>
</item>
<item>
<label>14211</label>
<onclick>ActivateWindow(MediaSettings)</onclick>
<icon>unknown-user.png</icon>
</item>
<item>
<label>14204</label>
<onclick>ActivateWindow(PVRSettings)</onclick>
<icon>unknown-user.png</icon>
</item>
<item>
<label>15016</label>
<onclick>ActivateWindow(GameSettings)</onclick>
<icon>unknown-user.png</icon>
</item>
<item>
<label>13200</label>
<onclick>ActivateWindow(Profiles)</onclick>
<icon>unknown-user.png</icon>
</item>
</content>
</control>
</control>
<control type="group">
<include>Window_OpenClose_Left_Panel_Animation</include>
<include>CommonNowPlaying</include>
<control type="group" id="9000">
<posx>0</posx>
<posy>130</posy>
<control type="button" id="20">
<description>Filemanager button</description>
<posx>0</posx>
<posy>0</posy>
<include>ButtonCommonValues</include>
<label>7</label>
<onclick>ActivateWindow(FileManager)</onclick>
<onleft>50</onleft>
<onright>50</onright>
<onup>611</onup>
<ondown>610</ondown>
</control>
<control type="button" id="610">
<description>Fake Button to fix Player Controls Navigation</description>
<onup>20</onup>
<ondown>603</ondown>
<visible>false</visible>
</control>
<control type="group">
<posx>0</posx>
<posy>45</posy>
<include>CommonNowPlaying_Controls</include>
</control>
<control type="button" id="611">
<description>Fake Button to fix Player Controls Navigation</description>
<onup>603</onup>
<ondown>20</ondown>
<visible>false</visible>
</control>
</control>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
@ -174,4 +145,4 @@
<include>WindowTitleButtons</include>
<include>BehindDialogFadeOut</include>
</controls>
</window>
</window>

View File

@ -32,8 +32,38 @@
<itemgap>2</itemgap>
<onleft>5</onleft>
<onright>5</onright>
<onup>3</onup>
<ondown>3</ondown>
<onup>20</onup>
<ondown>20</ondown>
</control>
<control type="group">
<control type="button">
<left>0</left>
<top>585</top>
<height>60</height>
<width>280</width>
<font>font13</font>
<label>31408</label>
<texturenofocus>Button_Side_NoFocus.png</texturenofocus>
</control>
<control type="button" id="20">
<description>Settings level button</description>
<left>0</left>
<top>585</top>
<width>280</width>
<height>60</height>
<align>right</align>
<aligny>top</aligny>
<textoffsetx>10</textoffsetx>
<textoffsety>18</textoffsety>
<textcolor>green</textcolor>
<font>font12</font>
<label>10037</label>
<onleft>5</onleft>
<onright>5</onright>
<ondown>3</ondown>
<onup>3</onup>
<onclick>SettingsLevelChange</onclick>
</control>
</control>
</control>
<control type="button" id="10">

View File

@ -316,3 +316,7 @@ msgstr ""
msgctxt "#31407"
msgid "Channels in Group"
msgstr ""
msgctxt "#31408"
msgid "Settings level: "
msgstr ""

BIN
media/FileManager.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

BIN
media/SystemInformation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB