Skip to content

Commit

Permalink
Changes to force view
Browse files Browse the repository at this point in the history
  • Loading branch information
MassIV committed May 29, 2014
1 parent ac75ac0 commit 198a87c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 16 deletions.
1 change: 0 additions & 1 deletion 720p/AddonBrowser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<include>LoadSettings</include>
<onload condition="IsEmpty(Skin.String(FirstRunTouch))">ActivateWindow(9506)</onload>
<onload condition="substring(Container.FolderPath,addons://all/)">Container.SetViewMode(603)</onload>

<views>603,50</views>

Expand Down
13 changes: 7 additions & 6 deletions 720p/Custom_Force_3051.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
<window type="dialog" id="3051">
<defaultcontrol>750</defaultcontrol>
<allowoverlay>no</allowoverlay>
<!-- Metroid's force view -->

<visible>!Control.IsVisible(603) + SubString(Container.FolderPath,plugin,left) + Skin.HasSetting(ForceThumbView)</visible>
<animation effect="fade" start="100" end="0" time="0" delay="5">WindowClose</animation>
<controls>
<visible>!Control.IsVisible(603) + [SubString(Container.FolderPath,plugin,left) + Skin.HasSetting(ForceThumbView)] | [substring(Container.FolderPath,addons://all/) + !Skin.HasSetting(AddonInstallHome) + Window.IsVisible(addonbrowser)]</visible>
<!-- Metroid's force view -->
<controls>

<control type="button" id="750">
<include>HiddenButton</include>
<onfocus condition="SubString(Container.FolderPath,plugin,left) + Skin.HasSetting(ForceThumbView) + !Control.IsVisible(603)">Container.SetViewMode(603)</onfocus>
<onfocus>Dialog.Close(3051)</onfocus>
<onfocus condition="substring(Container.FolderPath,addons://all/) + !Control.IsVisible(603) + !Skin.HasSetting(AddonInstallHome) + Window.IsVisible(addonbrowser)">Container.SetViewMode(603)</onfocus>

<onfocus>Dialog.Close(3051)</onfocus>
</control>

</controls>
</window>
</window>
2 changes: 1 addition & 1 deletion 720p/Custom_Overlay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@
<shadowcolor>FF000000</shadowcolor>
<font>font13</font>
<align>right</align>
<label>[COLOR=FF00FF00]$INFO[Container.FolderName,, - ][/COLOR]$INFO[Container.FolderPath]$INFO[Container.Viewmode]</label>
<label>*[COLOR=FF00FF00]$INFO[Container.FolderName,, - ][/COLOR]$INFO[Container.FolderPath]</label>
<visible>Skin.HasSetting(HideDebugInfo)</visible>
</control>

Expand Down
4 changes: 2 additions & 2 deletions 720p/Includes_MainMenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1166,8 +1166,8 @@
</item>
<item id="6">
<description>addons</description>
<label>24001</label>
<onclick>ActivateWindow(AddonBrowser,root,return)</onclick>
<label>31114</label>
<onclick>ActivateWindow(addonbrowser.xml,return)</onclick>

<visible>!IsEmpty(skin.string(SubMenu2)) + Skin.HasSetting(AddonSettingsMenu)</visible>
<property name="SubMenuItem">not_empty</property>
Expand Down
19 changes: 15 additions & 4 deletions 720p/Viewtype_List.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@

<control type="image">
<left>108</left>
<top>104</top>
<top>83</top>
<width>400</width>
<height>395</height>
<height>415</height>

<aspectratio>stretch</aspectratio>
<texture background="true" border="5">DefaultCatch.png</texture>
Expand All @@ -225,7 +225,7 @@

<control type="image">
<left>113</left>
<top>109</top>
<top>115</top>
<width>390</width>
<height>330</height>
<aspectratio>scale</aspectratio>
Expand All @@ -245,9 +245,20 @@
<aspectratio>stretch</aspectratio>
<texture border="12">white.png</texture>
<colordiffuse>FFEBEBEB</colordiffuse>
<!-- visible>![Container.Content(movies) | Container.Content(tvshows)]</visible -->

</control>
<control type="image">
<description>white image</description>
<left>113</left>
<top>443</top>
<width>390</width>
<height>50</height>

<aspectratio>stretch</aspectratio>
<texture border="12">white.png</texture>
<colordiffuse>FFEBEBEB</colordiffuse>

</control>


</control>
Expand Down
4 changes: 2 additions & 2 deletions language/English/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "#31002"
msgid "The context menu allows you to set the 2 custom widgets for the Home screen. Just browse your addons, library structure, or playlists and bring up the context menu (c). If it is possible to make your current item into a widget (and you have an empty widget slot) you will see the button there.[CR][CR]In Settings -> Skin Settings you can adjust the name for a better fit or to make it more decriptive. As wel as reset it to make the slot available."
msgid "The context menu allows you to set the 2 custom widgets for the Home screen. Just browse your add-ons, library structure, or playlists and bring up the context menu (c). If it is possible to make your current item into a widget (and you have an empty widget slot) you will see the button there.[CR][CR]In Settings -> Skin Settings you can adjust the name for a better fit or to make it more decriptive. As wel as reset it to make the slot available."
msgstr ""

msgctxt "#31003"
Expand Down Expand Up @@ -542,7 +542,7 @@ msgid ""
msgstr ""

msgctxt "#31149"
msgid "Video addons"
msgid "Video add-ons"
msgstr ""

msgctxt "#31151"
Expand Down

0 comments on commit 198a87c

Please sign in to comment.