diff options
author | Sascha Montellese <sascha.montellese@gmail.com> | 2012-10-09 09:48:22 -0700 |
---|---|---|
committer | Sascha Montellese <sascha.montellese@gmail.com> | 2012-10-09 09:48:22 -0700 |
commit | 39ab944a45b51499854516a3efbdc623211fa998 (patch) | |
tree | 090dbbc5693510e06b5e498d307120acefb1a2c2 /addons/skin.confluence | |
parent | 13c4fa35273556c821a4206f5665c1223f149ff0 (diff) | |
parent | 7c46f10989df470461cd40d3e12945b812ef8fd7 (diff) |
Merge pull request #1399 from Montellese/gsoc_advanced_filter
[GSoC] Advanced Library Filtering
Diffstat (limited to 'addons/skin.confluence')
-rw-r--r-- | addons/skin.confluence/720p/DialogMediaFilter.xml | 184 | ||||
-rw-r--r-- | addons/skin.confluence/720p/MyMusicNav.xml | 9 | ||||
-rw-r--r-- | addons/skin.confluence/720p/MyMusicSongs.xml | 9 | ||||
-rw-r--r-- | addons/skin.confluence/720p/MyPics.xml | 8 | ||||
-rw-r--r-- | addons/skin.confluence/720p/MyPrograms.xml | 8 | ||||
-rw-r--r-- | addons/skin.confluence/720p/MyVideoNav.xml | 9 | ||||
-rw-r--r-- | addons/skin.confluence/720p/includes.xml | 2 |
7 files changed, 228 insertions, 1 deletions
diff --git a/addons/skin.confluence/720p/DialogMediaFilter.xml b/addons/skin.confluence/720p/DialogMediaFilter.xml new file mode 100644 index 0000000000..accb0c888c --- /dev/null +++ b/addons/skin.confluence/720p/DialogMediaFilter.xml @@ -0,0 +1,184 @@ +<window id="151"> + <defaultcontrol always="true">5</defaultcontrol> + <coordinates> + <system>1</system> + <posx>240</posx> + <posy>100</posy> + </coordinates> + <include>dialogeffect</include> + <controls> + <control type="image"> + <description>background image</description> + <posx>0</posx> + <posy>0</posy> + <width>800</width> + <height>500</height> + <texture border="40">DialogBack.png</texture> + </control> + <control type="image"> + <description>Dialog Header image</description> + <posx>40</posx> + <posy>16</posy> + <width>720</width> + <height>40</height> + <texture>dialogheader.png</texture> + </control> + <control type="label" id="2"> + <description>header label</description> + <posx>40</posx> + <posy>20</posy> + <width>720</width> + <height>30</height> + <font>font13_title</font> + <label>587</label> + <align>center</align> + <aligny>center</aligny> + <textcolor>selected</textcolor> + <shadowcolor>black</shadowcolor> + </control> + <control type="button"> + <description>Close Window button</description> + <posx>710</posx> + <posy>15</posy> + <width>64</width> + <height>32</height> + <label>-</label> + <font>-</font> + <onclick>PreviousMenu</onclick> + <texturefocus>DialogCloseButton-focus.png</texturefocus> + <texturenofocus>DialogCloseButton.png</texturenofocus> + <onleft>10</onleft> + <onright>10</onright> + <onup>10</onup> + <ondown>10</ondown> + <visible>system.getbool(input.enablemouse)</visible> + </control> + + <control type="grouplist" id="5"> + <description>control area</description> + <posx>30</posx> + <posy>70</posy> + <width>720</width> + <height>350</height> + <itemgap>4</itemgap> + <pagecontrol>6</pagecontrol> + <onup>9001</onup> + <ondown>9001</ondown> + <onleft>9001</onleft> + <onright>6</onright> + </control> + <control type="scrollbar" id="6"> + <posx>755</posx> + <posy>70</posy> + <width>25</width> + <height>350</height> + <texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground> + <texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar> + <texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus> + <textureslidernib>ScrollBarNib.png</textureslidernib> + <textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus> + <onleft>5</onleft> + <onright>9001</onright> + <showonepage>false</showonepage> + <orientation>vertical</orientation> + </control> + + <control type="button" id="7"> + <description>Default Button</description> + <posx>0</posx> + <posy>0</posy> + <height>40</height> + <font>font13</font> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus2.png</texturefocus> + </control> + <control type="radiobutton" id="8"> + <description>Default RadioButton</description> + <posx>0</posx> + <posy>0</posy> + <height>40</height> + <font>font13</font> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus2.png</texturefocus> + </control> + <control type="spincontrolex" id="9"> + <description>Default SpinControlex</description> + <posx>0</posx> + <posy>0</posy> + <height>40</height> + <font>font13</font> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus2.png</texturefocus> + <aligny>center</aligny> + <reverse>yes</reverse> + </control> + <control type="sliderex" id="10"> + <description>Default Slider</description> + <posx>0</posx> + <posy>0</posy> + <height>40</height> + <font>font13</font> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus2.png</texturefocus> + <aligny>center</aligny> + </control> + <control type="edit" id="12"> + <description>Default Edit</description> + <posx>0</posx> + <posy>0</posy> + <height>40</height> + <font>font13</font> + <textcolor>grey2</textcolor> + <focusedcolor>white</focusedcolor> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus2.png</texturefocus> + </control> + + <control type="group" id="9001"> + <posx>190</posx> + <posy>435</posy> + <control type="button" id="28"> + <description>Ok Button</description> + <posx>0</posx> + <posy>0</posy> + <width>200</width> + <height>40</height> + <align>center</align> + <aligny>center</aligny> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus.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>40</height> + <align>center</align> + <aligny>center</aligny> + <texturenofocus border="5">button-nofocus.png</texturenofocus> + <texturefocus border="5">button-focus.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> diff --git a/addons/skin.confluence/720p/MyMusicNav.xml b/addons/skin.confluence/720p/MyMusicNav.xml index b906bbe899..723c693982 100644 --- a/addons/skin.confluence/720p/MyMusicNav.xml +++ b/addons/skin.confluence/720p/MyMusicNav.xml @@ -101,11 +101,20 @@ <include>ButtonCommonValues</include> </control> <control type="edit" id="19"> + <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible> <description>Filter</description> <textwidth>230</textwidth> <include>ButtonCommonValues</include> <label>587</label> </control> + <control type="radiobutton" id="20"> + <visible>Container.CanFilterAdvanced</visible> + <description>Filter</description> + <include>ButtonCommonValues</include> + <label>587</label> + <selected>Container.Filtered</selected> + <onclick>Filter</onclick> + </control> <control type="radiobutton" id="100"> <description>Show Info Toggle</description> <textwidth>170</textwidth> diff --git a/addons/skin.confluence/720p/MyMusicSongs.xml b/addons/skin.confluence/720p/MyMusicSongs.xml index b5c449516b..193c0ae22d 100644 --- a/addons/skin.confluence/720p/MyMusicSongs.xml +++ b/addons/skin.confluence/720p/MyMusicSongs.xml @@ -98,11 +98,20 @@ <enable>Library.HasContent(Music)</enable> </control> <control type="edit" id="19"> + <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible> <description>Filter</description> <textwidth>230</textwidth> <include>ButtonCommonValues</include> <label>587</label> </control> + <control type="radiobutton" id="20"> + <visible>Container.CanFilterAdvanced</visible> + <description>Filter</description> + <include>ButtonCommonValues</include> + <label>587</label> + <selected>Container.Filtered</selected> + <onclick>Filter</onclick> + </control> <include>CommonNowPlaying_Controls</include> </control> </control> diff --git a/addons/skin.confluence/720p/MyPics.xml b/addons/skin.confluence/720p/MyPics.xml index 7301d5e8c4..bf4ada48a6 100644 --- a/addons/skin.confluence/720p/MyPics.xml +++ b/addons/skin.confluence/720p/MyPics.xml @@ -103,11 +103,19 @@ <usealttexture>Container.SortDirection(Ascending)</usealttexture> </control> <control type="edit" id="19"> + <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible> <description>Filter</description> <textwidth>230</textwidth> <include>ButtonCommonValues</include> <label>587</label> </control> + <control type="radiobutton" id="20"> + <visible>Container.CanFilterAdvanced</visible> + <description>Filter</description> + <include>ButtonCommonValues</include> + <label>587</label> + <onclick>Filter</onclick> + </control> <control type="label" id="201"> <width>250</width> <height>35</height> diff --git a/addons/skin.confluence/720p/MyPrograms.xml b/addons/skin.confluence/720p/MyPrograms.xml index e1b8f699ea..44f907df39 100644 --- a/addons/skin.confluence/720p/MyPrograms.xml +++ b/addons/skin.confluence/720p/MyPrograms.xml @@ -89,11 +89,19 @@ <usealttexture>Container.SortDirection(Ascending)</usealttexture> </control> <control type="edit" id="19"> + <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible> <description>Filter</description> <textwidth>230</textwidth> <include>ButtonCommonValues</include> <label>587</label> </control> + <control type="radiobutton" id="20"> + <visible>Container.CanFilterAdvanced</visible> + <description>Filter</description> + <include>ButtonCommonValues</include> + <label>587</label> + <onclick>Filter</onclick> + </control> <include>CommonNowPlaying_Controls</include> </control> </control> diff --git a/addons/skin.confluence/720p/MyVideoNav.xml b/addons/skin.confluence/720p/MyVideoNav.xml index 9c76c66e8b..fb4a645970 100644 --- a/addons/skin.confluence/720p/MyVideoNav.xml +++ b/addons/skin.confluence/720p/MyVideoNav.xml @@ -98,11 +98,20 @@ <usealttexture>Container.SortDirection(Ascending)</usealttexture> </control> <control type="edit" id="19"> + <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible> <description>Filter</description> <textwidth>230</textwidth> <include>ButtonCommonValues</include> <label>587</label> </control> + <control type="radiobutton" id="20"> + <visible>Container.CanFilterAdvanced</visible> + <description>Filter</description> + <include>ButtonCommonValues</include> + <label>587</label> + <selected>Container.Filtered</selected> + <onclick>Filter</onclick> + </control> <control type="radiobutton" id="99"> <description>Show Info Toggle</description> <textwidth>170</textwidth> diff --git a/addons/skin.confluence/720p/includes.xml b/addons/skin.confluence/720p/includes.xml index 6fa3b0cedd..1bf39a1df3 100644 --- a/addons/skin.confluence/720p/includes.xml +++ b/addons/skin.confluence/720p/includes.xml @@ -332,7 +332,7 @@ <scroll>false</scroll> <align>right</align> <aligny>center</aligny> - <label>$INFO[Window.Property(filter),$LOCALIZE[587] ([COLOR=blue],[/COLOR]) - ]$INFO[Container.NumItems,([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Container.CurrentPage, - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Container.NumPages,/,[/COLOR])]</label> + <label>$INFO[Container.NumItems,([COLOR=blue],[/COLOR]) $LOCALIZE[31025]]$INFO[Container.CurrentPage, - $LOCALIZE[31024] ([COLOR=blue]]$INFO[Container.NumPages,/,[/COLOR])]</label> <include>Window_OpenClose_Animation</include> </control> <control type="label"> |