Added: Stuff needed for the new way to do media filtering in Frodo

This commit is contained in:
JezzX 2013-02-02 16:57:19 +11:00
parent f7818c6357
commit 04d15f2f97
7 changed files with 291 additions and 14 deletions

164
720p/DialogMediaFilter.xml Normal file
View File

@ -0,0 +1,164 @@
<window>
<defaultcontrol always="true">5</defaultcontrol>
<coordinates>
<system>1</system>
<posx>240</posx>
<posy>45</posy>
</coordinates>
<include>dialogeffect</include>
<controls>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>800</width>
<height>610</height>
<texture border="40">DialogBack.png</texture>
</control>
<control type="image">
<description>background image</description>
<posx>0</posx>
<posy>0</posy>
<width>800</width>
<height>610</height>
<texture border="40">DialogFront.png</texture>
</control>
<control type="label" id="2">
<description>heading label</description>
<posx>40</posx>
<posy>40</posy>
<width>720</width>
<height>30</height>
<align>center</align>
<aligny>center</aligny>
<font>font18</font>
<label>-</label>
<textcolor>dialogheader</textcolor>
</control>
<control type="button">
<description>Close Window button</description>
<posx>730</posx>
<posy>35</posy>
<include>WindowCloseButtonCommons</include>
</control>
<control type="image">
<posx>40</posx>
<posy>78</posy>
<width>720</width>
<height>2</height>
<texture>separator.png</texture>
</control>
<control type="grouplist" id="5">
<description>control area</description>
<posx>40</posx>
<posy>85</posy>
<width>720</width>
<height>440</height>
<itemgap>4</itemgap>
<pagecontrol>-</pagecontrol>
<onup>9001</onup>
<ondown>9001</ondown>
<onleft>9001</onleft>
<onright>9001</onright>
</control>
<control type="button" id="7">
<description>Default Button</description>
<posx>0</posx>
<posy>0</posy>
<height>35</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="5">button-focus.png</texturefocus>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
</control>
<control type="radiobutton" id="8">
<description>Default RadioButton</description>
<posx>0</posx>
<posy>0</posy>
<height>35</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="5">button-focus.png</texturefocus>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
</control>
<control type="spincontrolex" id="9">
<description>Default SpinControlex</description>
<posx>0</posx>
<posy>0</posy>
<height>35</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="5">button-focus.png</texturefocus>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<aligny>center</aligny>
<reverse>yes</reverse>
</control>
<control type="sliderex" id="10">
<description>Default Slider</description>
<posx>0</posx>
<posy>0</posy>
<height>35</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="5">button-focus.png</texturefocus>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
<aligny>center</aligny>
</control>
<control type="edit" id="12">
<description>Default Edit</description>
<posx>0</posx>
<posy>0</posy>
<height>35</height>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus border="5">button-focus.png</texturefocus>
<texturenofocus border="5">button-nofocus.png</texturenofocus>
</control>
<control type="group" id="9001">
<posx>195</posx>
<posy>530</posy>
<control type="button" id="28">
<description>Ok Button</description>
<posx>0</posx>
<posy>0</posy>
<width>200</width>
<height>35</height>
<align>center</align>
<aligny>center</aligny>
<texturenofocus border="3">button-nofocus.png</texturenofocus>
<texturefocus border="3">button-focus2.png</texturefocus>
<label>186</label>
<font>font12_title</font>
<onup>5</onup>
<onleft>27</onleft>
<onright>27</onright>
<ondown>5</ondown>
</control>
<control type="button" id="27">
<description>Clear Button</description>
<posx>210</posx>
<posy>0</posy>
<width>200</width>
<height>35</height>
<align>center</align>
<aligny>center</aligny>
<texturenofocus border="3">button-nofocus.png</texturenofocus>
<texturefocus border="3">button-focus2.png</texturefocus>
<label>192</label>
<font>font12_title</font>
<onup>5</onup>
<onleft>28</onleft>
<onright>28</onright>
<ondown>5</ondown>
</control>
</control>
</controls>
</window>

View File

@ -137,7 +137,23 @@
<onleft>50</onleft>
<onright>50</onright>
<onup>8</onup>
<ondown>20</ondown>
<selected>Container.Filtered</selected>
<visible>!Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="20">
<description>Advanced Filter</description>
<posx>0</posx>
<posy>180</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onclick>Filter</onclick>
<onleft>50</onleft>
<onright>50</onright>
<onup>19</onup>
<ondown>16</ondown>
<selected>Container.Filtered</selected>
<visible>Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="16">
<description>PartyMode</description>
@ -147,7 +163,7 @@
<label>589</label>
<onleft>50</onleft>
<onright>50</onright>
<onup>19</onup>
<onup>20</onup>
<ondown>610</ondown>
</control>
<control type="button" id="610">

View File

@ -81,18 +81,45 @@
<onleft>50</onleft>
<onright>50</onright>
<onup>3</onup>
<ondown>610</ondown>
<ondown>19</ondown>
<enable>Library.HasContent(Music)</enable>
</control>
<control type="radiobutton" id="19">
<description>Filter</description>
<posx>0</posx>
<posy>135</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onleft>50</onleft>
<onright>50</onright>
<onup>99</onup>
<ondown>20</ondown>
<selected>Container.Filtered</selected>
<visible>!Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="20">
<description>Advanced Filter</description>
<posx>0</posx>
<posy>135</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onclick>Filter</onclick>
<onleft>50</onleft>
<onright>50</onright>
<onup>19</onup>
<ondown>610</ondown>
<selected>Container.Filtered</selected>
<visible>Container.CanFilterAdvanced</visible>
</control>
<control type="button" id="610">
<description>Fake Button to fix Player Controls Navigation</description>
<onup>99</onup>
<onup>20</onup>
<ondown>603</ondown>
<visible>false</visible>
</control>
<control type="group">
<posx>0</posx>
<posy>135</posy>
<posy>180</posy>
<include>CommonNowPlaying_Controls</include>
</control>
<control type="button" id="611">

View File

@ -42,7 +42,7 @@
<onleft>50</onleft>
<onright>4</onright>
<onup>2</onup>
<ondown>6</ondown>
<ondown>19</ondown>
</control>
<control type="togglebutton" id="4">
<description>Sort asc</description>
@ -52,23 +52,50 @@
<onleft>3</onleft>
<onright>50</onright>
<onup>2</onup>
<ondown>19</ondown>
</control>
<control type="radiobutton" id="19">
<description>Filter</description>
<posx>0</posx>
<posy>90</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onleft>50</onleft>
<onright>50</onright>
<onup>3</onup>
<ondown>20</ondown>
<selected>Container.Filtered</selected>
<visible>!Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="20">
<description>Advanced Filter</description>
<posx>0</posx>
<posy>90</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onclick>Filter</onclick>
<onleft>50</onleft>
<onright>50</onright>
<onup>19</onup>
<ondown>6</ondown>
<selected>Container.Filtered</selected>
<visible>Container.CanFilterAdvanced</visible>
</control>
<control type="button" id="6">
<description>Slideshow</description>
<posx>0</posx>
<posy>90</posy>
<posy>135</posy>
<include>ButtonCommonValues</include>
<label>108</label>
<onleft>50</onleft>
<onright>50</onright>
<onup>3</onup>
<onup>20</onup>
<ondown>7</ondown>
</control>
<control type="button" id="7">
<description>Recersive Slideshow</description>
<posx>0</posx>
<posy>135</posy>
<posy>180</posy>
<include>ButtonCommonValues</include>
<label>361</label>
<onleft>50</onleft>
@ -79,7 +106,7 @@
<control type="radiobutton" id="9">
<description>Randomize Toggle</description>
<posx>0</posx>
<posy>180</posy>
<posy>225</posy>
<include>ButtonCommonValues</include>
<label>13319</label>
<onleft>50</onleft>
@ -95,7 +122,7 @@
</control>
<control type="group">
<posx>0</posx>
<posy>225</posy>
<posy>270</posy>
<include>CommonNowPlaying_Controls</include>
</control>
<control type="button" id="611">

View File

@ -42,7 +42,7 @@
<onleft>50</onleft>
<onright>4</onright>
<onup>2</onup>
<ondown>610</ondown>
<ondown>19</ondown>
</control>
<control type="togglebutton" id="4">
<description>Sort asc</description>
@ -52,17 +52,44 @@
<onleft>3</onleft>
<onright>50</onright>
<onup>2</onup>
<ondown>19</ondown>
</control>
<control type="radiobutton" id="19">
<description>Filter</description>
<posx>0</posx>
<posy>90</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onleft>50</onleft>
<onright>50</onright>
<onup>3</onup>
<ondown>20</ondown>
<selected>Container.Filtered</selected>
<visible>!Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="20">
<description>Advanced Filter</description>
<posx>0</posx>
<posy>90</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onclick>Filter</onclick>
<onleft>50</onleft>
<onright>50</onright>
<onup>19</onup>
<ondown>610</ondown>
<selected>Container.Filtered</selected>
<visible>Container.CanFilterAdvanced</visible>
</control>
<control type="button" id="610">
<description>Fake Button to fix Player Controls Navigation</description>
<onup>3</onup>
<onup>20</onup>
<ondown>603</ondown>
<visible>false</visible>
</control>
<control type="group">
<posx>0</posx>
<posy>90</posy>
<posy>135</posy>
<include>CommonNowPlaying_Controls</include>
</control>
<control type="button" id="611">

View File

@ -163,7 +163,23 @@
<onleft>50</onleft>
<onright>50</onright>
<onup>8</onup>
<ondown>20</ondown>
<selected>Container.Filtered</selected>
<visible>!Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="20">
<description>Advanced Filter</description>
<posx>0</posx>
<posy>180</posy>
<include>ButtonCommonValues</include>
<label>587</label>
<onclick>Filter</onclick>
<onleft>50</onleft>
<onright>50</onright>
<onup>19</onup>
<ondown>16</ondown>
<selected>Container.Filtered</selected>
<visible>Container.CanFilterAdvanced</visible>
</control>
<control type="radiobutton" id="16">
<description>PartyMode</description>

View File

@ -101,7 +101,7 @@
<texture>black-back.png</texture>
<animation effect="fade" time="400">Visible</animation>
<animation effect="fade" time="200">Hidden</animation>
<visible>Window.IsActive(MovieInformation) | Window.IsActive(MusicInformation) | Window.IsActive(SongInformation) | Window.IsActive(Favourites) | Window.IsActive(ShutdownMenu) | Window.IsActive(FileBrowser) | Window.IsActive(TextViewer) | Window.IsActive(AddonSettings) | Window.IsActive(ContentSettings) | Window.IsActive(SelectDialog) | Window.IsActive(FileStackingDialog) | Window.IsActive(MediaSource) | Window.IsActive(PictureInfo) | Window.IsActive(PlayerControls) | Window.IsActive(VirtualKeyboard) | Window.IsActive(NumericInput) | Window.IsActive(ProfileSettings) | Window.IsActive(LockSettings) | Window.IsActive(SmartPlaylistEditor) | Window.IsActive(SmartPlaylistRule) | Window.IsActive(script-XBMC_Lyrics-settings.xml) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml) | Window.IsActive(AddonInformation) | Window.IsActive(Peripherals) | Window.IsActive(PeripheralSettings)</visible>
<visible>Window.IsActive(MovieInformation) | Window.IsActive(MusicInformation) | Window.IsActive(SongInformation) | Window.IsActive(FileBrowser) | Window.IsActive(TextViewer) | Window.IsActive(AddonSettings) | Window.IsActive(ContentSettings) | Window.IsActive(SelectDialog) | Window.IsActive(FileStackingDialog) | Window.IsActive(MediaSource) | Window.IsActive(PictureInfo) | Window.IsActive(PlayerControls) | Window.IsActive(VirtualKeyboard) | Window.IsActive(NumericInput) | Window.IsActive(ProfileSettings) | Window.IsActive(LockSettings) | Window.IsActive(SmartPlaylistEditor) | Window.IsActive(SmartPlaylistRule) | Window.IsActive(script-RSS_Editor-rssEditor.xml) | Window.IsActive(script-RSS_Editor-setEditor.xml) | Window.IsActive(AddonInformation) | Window.IsActive(Peripherals) | Window.IsActive(PeripheralSettings) | Window.IsActive(script-XBMC_Lyrics-main.xml) | Window.IsActive(PVRChannelManager) | Window.IsActive(MediaFilter)</visible>
</control>
</include>
<include name="CommonNowPlaying_Controls">