Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[View 509] improvements #933

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 1080i/MyVideoNav.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@
<selected>Skin.HasSetting(509fanart)</selected>
<onclick>Skin.ToggleSetting(509fanart)</onclick>
<visible>Control.IsVisible(509)</visible>
<onclick>ReloadSkin()</onclick>
</control>
<control type="radiobutton" id="9048">
<include>DefContextButtonGradient</include>
Expand Down
19 changes: 16 additions & 3 deletions 1080i/View_509_Shift.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,17 @@
<texture background="true">$VAR[ClearLogoTopVar]</texture>
<fadetime>ClearArtFadetime</fadetime>
</control>
<control type="panel" id="509">
<control type="fixedlist" id="509">
<visible>Container.Content(movies) | Container.Content(musicvideos) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(sets) | Container.Content(videos) | $EXP[InGameMode]</visible>
<top>350</top>
<include content="def_focusposition" condition="!Skin.HasSetting(509NoCenter) + Skin.HasSetting(509fanart)">
<param name="focusposition" value="1" />
</include>
<include condition="!Skin.HasSetting(509fanart) + !Skin.HasSetting(509NoCenter)">View_509_Shift_Center</include>
<include content="def_width" condition="[Skin.HasSetting(509NoCenter) + !Skin.HasSetting(509fanart)] | Skin.HasSetting(509fanart)">
<param name="width" value="1780" />
</include>
<left>71</left>
<width>1780</width>
<top>350</top>
<height>395</height>
<onup condition="!Skin.HasSetting(global.kioskmode)">9000</onup>
<ondown>1677</ondown>
Expand Down Expand Up @@ -135,4 +141,11 @@
</control>
</control>
</include>

<include name="View_509_Shift_Center">
<left>-40</left>
<animation effect="slide" end="-122.14" condition="Integer.IsEqual(Container.NumAllItems,6) | Integer.IsEqual(Container.NumAllItems,4) | Integer.IsEqual(Container.NumAllItems,2)">Conditional</animation>
<focusposition>4</focusposition>
<movement>3</movement>
</include>
</includes>