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> <controls>
<include>CommonBackground</include> <include>CommonBackground</include>
<control type="group"> <control type="group">
<include>Window_OpenClose_Right_Panel_Animation</include>
<include>ContentPanel</include>
<control type="panel" id="50"> <control type="panel" id="50">
<posx>300</posx> <posx>80</posx>
<posy>130</posy> <posy>180</posy>
<width>950</width> <width>1350</width>
<height>512</height> <height>512</height>
<onleft>9000</onleft> <onleft>50</onleft>
<onright>9000</onright> <onright>50</onright>
<onup>50</onup> <onup>50</onup>
<ondown>50</ondown> <ondown>50</ondown>
<viewtype label="21371">panel</viewtype> <viewtype label="21371">panel</viewtype>
<pagecontrol>-</pagecontrol> <pagecontrol>-</pagecontrol>
<scrolltime>200</scrolltime> <scrolltime>200</scrolltime>
<preloaditems>2</preloaditems> <preloaditems>2</preloaditems>
<itemlayout height="256" width="190"> <itemlayout height="200" width="200">
<control type="image"> <control type="image">
<posx>5</posx> <posx>5</posx>
<posy>5</posy> <posy>5</posy>
<width>180</width> <width>120</width>
<height>210</height> <height>120</height>
<texture>$INFO[Listitem.Icon]</texture> <texture>$INFO[Listitem.Icon]</texture>
</control> </control>
<control type="label"> <control type="label">
<posx>95</posx> <posx>5</posx>
<posy>220</posy> <posy>150</posy>
<width>180</width> <width>120</width>
<height>25</height> <height>25</height>
<font>font13</font> <font>font12</font>
<textcolor>grey2</textcolor> <textcolor>grey2</textcolor>
<selectedcolor>green</selectedcolor> <selectedcolor>green</selectedcolor>
<align>center</align> <align>center</align>
@ -40,28 +38,28 @@
<label>[B]$INFO[ListItem.Label][/B]</label> <label>[B]$INFO[ListItem.Label][/B]</label>
</control> </control>
</itemlayout> </itemlayout>
<focusedlayout height="256" width="190"> <focusedlayout height="200" width="200">
<control type="image"> <control type="image">
<posx>0</posx> <posx>0</posx>
<posy>0</posy> <posy>0</posy>
<width>190</width> <width>140</width>
<height>256</height> <height>140</height>
<aspectratio>stretch</aspectratio> <aspectratio>stretch</aspectratio>
<texture border="5">button-focus.png</texture> <texture border="5">button-focus.png</texture>
</control> </control>
<control type="image"> <control type="image">
<posx>5</posx> <posx>5</posx>
<posy>5</posy> <posy>5</posy>
<width>180</width> <width>130</width>
<height>210</height> <height>130</height>
<texture>$INFO[Listitem.Icon]</texture> <texture>$INFO[Listitem.Icon]</texture>
</control> </control>
<control type="label"> <control type="label">
<posx>95</posx> <posx>5</posx>
<posy>220</posy> <posy>150</posy>
<width>180</width> <width>130</width>
<height>25</height> <height>25</height>
<font>font13</font> <font>font12</font>
<textcolor>white</textcolor> <textcolor>white</textcolor>
<selectedcolor>green</selectedcolor> <selectedcolor>green</selectedcolor>
<align>center</align> <align>center</align>
@ -71,19 +69,9 @@
</focusedlayout> </focusedlayout>
<content> <content>
<item> <item>
<label>3</label> <label>7</label>
<onclick>ActivateWindow(MyVideosSettings)</onclick> <onclick>ActivateWindow(FileManager)</onclick>
<icon>icon_video.png</icon> <icon>FileManager.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>
</item> </item>
<item> <item>
<label>24001</label> <label>24001</label>
@ -91,75 +79,58 @@
<icon>icon_addons.png</icon> <icon>icon_addons.png</icon>
</item> </item>
<item> <item>
<label>31400</label> <label>138</label>
<onclick>ActivateWindow(MyTVSettings)</onclick> <onclick>ActivateWindow(SystemInfo)</onclick>
<icon>icon_tv.png</icon> <icon>SystemInformation.png</icon>
</item> </item>
<item> <item>
<label>13200</label> <label>10050</label>
<onclick>ActivateWindow(Profiles)</onclick> <onclick>ActivateWindow(Eventlog)</onclick>
<icon>unknown-user.png</icon> <icon>unknown-user.png</icon>
</item> </item>
<item> <item>
<label>8</label> <label>14036</label>
<onclick>ActivateWindow(MyWeatherSettings)</onclick> <onclick>ActivateWindow(servicesettings)</onclick>
<icon>icon_weather.png</icon> <icon>unknown-user.png</icon>
</item> </item>
<item>
<label>14036</label>
<onclick>ActivateWindow(ServiceSettings)</onclick>
<icon>icon_network.png</icon>
</item>
<item> <item>
<label>13000</label> <label>13000</label>
<onclick>ActivateWindow(SystemSettings)</onclick> <onclick>ActivateWindow(SystemSettings)</onclick>
<icon>icon_system.png</icon> <icon>icon_system.png</icon>
</item> </item>
<item> <item>
<label>480</label> <label>14206</label>
<onclick>ActivateWindow(AppearanceSettings)</onclick> <onclick>ActivateWindow(AppearanceSettings)</onclick>
<icon>icon_appearence.png</icon> <icon>icon_appearence.png</icon>
</item> </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> </content>
</control> </control>
</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"> <control type="image">
<posx>0</posx> <posx>0</posx>
<posy>0</posy> <posy>0</posy>
@ -174,4 +145,4 @@
<include>WindowTitleButtons</include> <include>WindowTitleButtons</include>
<include>BehindDialogFadeOut</include> <include>BehindDialogFadeOut</include>
</controls> </controls>
</window> </window>

View File

@ -32,8 +32,38 @@
<itemgap>2</itemgap> <itemgap>2</itemgap>
<onleft>5</onleft> <onleft>5</onleft>
<onright>5</onright> <onright>5</onright>
<onup>3</onup> <onup>20</onup>
<ondown>3</ondown> <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> </control>
<control type="button" id="10"> <control type="button" id="10">

View File

@ -316,3 +316,7 @@ msgstr ""
msgctxt "#31407" msgctxt "#31407"
msgid "Channels in Group" msgid "Channels in Group"
msgstr "" 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