Skip to content

Commit

Permalink
Option to show plot on focus in info list. Added missing buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
troych committed Sep 25, 2013
1 parent 74af272 commit f242eb5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions 1080i/MyVideoNav.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@
<label>$LOCALIZE[42018]</label>
<texturefocus>dialogs/options/buttons/default-fo.png</texturefocus>
<onclick>Skin.ToggleSetting(InfoListPlot)</onclick>
<onclick>Skin.Reset(InfoListShowPlotOnFocus)</onclick>
<selected>Skin.HasSetting(InfoListPlot)</selected>
<visible>Control.IsVisible(52)</visible>
<textureradiofocus>buttons/radio/options-radio-button-fo.png</textureradiofocus>
Expand Down Expand Up @@ -416,6 +417,20 @@
<textureradionofocus>buttons/radio/options-radio-button-nf.png</textureradionofocus>
<radioposx>-19</radioposx>
</control>
<control type="radiobutton" id="119">
<description>Show plot on focus</description>
<include>optionsbuttonsdimensions</include>
<label>$LOCALIZE[42020]</label>
<texturefocus border="2">dialogs/options/buttons/default-fo.png</texturefocus>
<onclick>Skin.ToggleSetting(InfoListShowPlotOnFocus)</onclick>
<onclick>Skin.Reset(InfoListPlot)</onclick>
<selected>Skin.HasSetting(InfoListShowPlotOnFocus)</selected>
<visible>Control.IsVisible(52)</visible>
<textureradioon>buttons/radio/options-radio-button-fo.png</textureradioon>
<textureradiooff>buttons/radio/options-radio-button-nf.png</textureradiooff>
<radioposx>-19</radioposx>
<visible>!Container.Content(episodes)</visible>
</control>
<control type="radiobutton" id="117">
<description>Show plot in landscape view</description>
<include>optionsbuttonsdimensions</include>
Expand Down
12 changes: 6 additions & 6 deletions 1080i/ViewtypesVideos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@
<aspectratio>scale</aspectratio>
</control>
<control type="group">
<visible>!IsEmpty(Container(52).ListItem.Plot) + Skin.HasSetting(InfoListPlot)</visible>
<visible>!IsEmpty(Container(52).ListItem.Plot) + Skin.HasSetting(InfoListPlot) | [Skin.HasSetting(InfoListShowPlotOnFocus) + Control.HasFocus(71)]] + !Container.Content(Episodes)</visible>
<include>visiblehidefadeinfo</include>
<control type="image">
<posx>0</posx>
Expand Down Expand Up @@ -1217,7 +1217,7 @@
<onleft condition="Skin.HasSetting(KioskMode)">52</onleft>
<onright condition="!Skin.HasSetting(InfoListPlot)">70</onright>
<onright condition="Skin.HasSetting(InfoListPlot) + Control.IsVisible(70)">70</onright>
<onright condition="Skin.HasSetting(InfoListPlot) + !Control.IsVisible(70)">71</onright>
<onright condition="Skin.HasSetting(InfoListPlot) + !Control.IsVisible(70) + [Control.IsVisible(71) | [Skin.HasSetting(InfoListShowPlotOnFocus) + !IsEmpty(Container(52).ListItem.Plot)]]">71</onright>
<onup>52</onup>
<ondown>52</ondown>
<viewtype label="Info list">list</viewtype>
Expand Down Expand Up @@ -1706,9 +1706,9 @@
<width>6</width>
<height>600</height>
<onleft>52</onleft>
<onright condition="Skin.HasSetting(InfoListPlot)">71</onright>
<onright condition="!Skin.HasSetting(KioskMode) + !Skin.HasSetting(InfoListPlot)">9010</onright>
<onright condition="Skin.HasSetting(KioskMode) + !Skin.HasSetting(InfoListPlot)">52</onright>
<onright condition="Control.IsVisible(71) | [Skin.HasSetting(InfoListShowPlotOnFocus) + !IsEmpty(Container(52).ListItem.Plot)]">71</onright>
<onright condition="!Control.IsVisible(71) + !Skin.HasSetting(KioskMode)">9010</onright>
<onright condition="!Control.IsVisible(71) + Skin.HasSetting(KioskMode)">52</onright>
<texturesliderbar border="1">views/other/scrollbar-sq.png</texturesliderbar>
<texturesliderbarfocus border="1">views/other/scrollbar-sq.png</texturesliderbarfocus>
<orientation>vertical</orientation>
Expand All @@ -1730,7 +1730,7 @@
<orientation>vertical</orientation>
<showonepage>false</showonepage>
<animation effect="fade" start="35" end="0" time="300" tween="sine" easing="inout" condition="!Control.HasFocus(71)">Conditional</animation>
<visible>Control.IsVisible(52)</visible>
<visible allowhiddenfocus="!Container.Content(Episodes) + Skin.HasSetting(InfoListShowPlotOnFocus) + !IsEmpty(Container(52).ListItem.Plot)">[Control.HasFocus(71) + !Container.Content(Episodes)] | [!Skin.HasSetting(InfoListHideInfo) + Control.IsVisible(52) + !Container.Content(Episodes) + Skin.HasSetting(InfoListPlot) + !IsEmpty(Container(52).ListItem.Plot)]</visible>
</control>
</control>
</control>
Expand Down
Binary file added media/buttons/options-leftright.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/buttons/options-updown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f242eb5

Please sign in to comment.