diff options
author | Garrett Brown <themagnificentmrb@gmail.com> | 2018-06-08 22:09:21 -0700 |
---|---|---|
committer | Garrett Brown <themagnificentmrb@gmail.com> | 2018-06-14 10:56:33 -0700 |
commit | 0eac47320d7d7f86254af0c805e3ed5708712556 (patch) | |
tree | 99e6bdad9e82e750df63e750f07aa334f2d6334b /addons | |
parent | 182196b47e5efd7e6d90ec98fe4798e7e18d6604 (diff) |
Game OSD: Add video rotation setting
Diffstat (limited to 'addons')
-rw-r--r-- | addons/resource.language.en_gb/resources/strings.po | 32 | ||||
-rw-r--r-- | addons/skin.estuary/xml/Custom_1101_SettingsList.xml | 11 | ||||
-rw-r--r-- | addons/skin.estuary/xml/DialogSelect.xml | 3 | ||||
-rw-r--r-- | addons/skin.estuary/xml/GameOSD.xml | 2 | ||||
-rw-r--r-- | addons/skin.estuary/xml/Includes_DialogSelect.xml | 4 |
5 files changed, 47 insertions, 5 deletions
diff --git a/addons/resource.language.en_gb/resources/strings.po b/addons/resource.language.en_gb/resources/strings.po index 4d3f46638c..957f6bf478 100644 --- a/addons/resource.language.en_gb/resources/strings.po +++ b/addons/resource.language.en_gb/resources/strings.po @@ -17334,7 +17334,37 @@ msgctxt "#35226" msgid "Advanced settings" msgstr "" -#empty strings from id 35227 to 35249 +#. Label of button in the in-game menu for changing the video rotation +#: addons/skin.estuary/xml/Custom_1101_SettingsList.xml +msgctxt "#35227" +msgid "Rotation" +msgstr "" + +#. Label of the thumbnail for when the video is not rotated and is displayed normally +#: xbmc/games/dialogs/osd/DialogGameVideoRotation.cpp +msgctxt "#35228" +msgid "0°" +msgstr "" + +#. Label of the thumbnail for when the video is rotated to the right +#: xbmc/games/dialogs/osd/DialogGameVideoRotation.cpp +msgctxt "#35229" +msgid "90°" +msgstr "" + +#. Label of the thumbnail for when the video is rotated upside down +#: xbmc/games/dialogs/osd/DialogGameVideoRotation.cpp +msgctxt "#35230" +msgid "180°" +msgstr "" + +#. Label of the thumbnail for when the video is rotated to the left +#: xbmc/games/dialogs/osd/DialogGameVideoRotation.cpp +msgctxt "#35231" +msgid "270°" +msgstr "" + +#empty strings from id 35232 to 35249 #: xbmc/windows/GUIMediaWindow.cpp msgctxt "#35250" diff --git a/addons/skin.estuary/xml/Custom_1101_SettingsList.xml b/addons/skin.estuary/xml/Custom_1101_SettingsList.xml index 93c308b06c..785e690171 100644 --- a/addons/skin.estuary/xml/Custom_1101_SettingsList.xml +++ b/addons/skin.estuary/xml/Custom_1101_SettingsList.xml @@ -8,7 +8,7 @@ <height>460</height> <centertop>50%</centertop> <width>700</width> - <visible>!Window.IsActive(DialogSettings.xml) + !Window.IsActive(DialogSlider.xml) + !Window.IsActive(GameVideoFilter) + !Window.IsActive(GameViewMode) + !Window.IsActive(GameControllers)</visible> + <visible>!Window.IsActive(DialogSettings.xml) + !Window.IsActive(DialogSlider.xml) + !Window.IsActive(GameVideoFilter) + !Window.IsActive(GameViewMode) + !Window.IsActive(GameControllers) + !Window.IsActive(GameVideoRotation)</visible> <animation effect="fade" time="200">VisibleChange</animation> <include content="DialogBackgroundCommons"> <param name="width" value="700" /> @@ -110,7 +110,7 @@ <defaultcontrol always="true">14101</defaultcontrol> <visible>String.IsEqual(window(home).Property(settingslist_content),games)</visible> <width>700</width> - <height>360</height> + <height>430</height> <itemgap>0</itemgap> <onup>14100</onup> <ondown>14100</ondown> @@ -129,6 +129,13 @@ <label>$LOCALIZE[629]</label> <onclick>ActivateWindow(GameViewMode)</onclick> </control> + <control type="button" id="14106"> + <description>Video rotation button</description> + <width>700</width> + <include>DialogSettingButton</include> + <label>$LOCALIZE[35227]</label> + <onclick>ActivateWindow(GameVideoRotation)</onclick> + </control> <control type="button" id="14104"> <description>Volume button</description> <width>700</width> diff --git a/addons/skin.estuary/xml/DialogSelect.xml b/addons/skin.estuary/xml/DialogSelect.xml index caaba8e1ee..0570fcd0b9 100644 --- a/addons/skin.estuary/xml/DialogSelect.xml +++ b/addons/skin.estuary/xml/DialogSelect.xml @@ -4,8 +4,9 @@ <include>Animation_DialogPopupOpenClose</include> <depth>DepthOSD</depth> <controls> - <include condition="![Window.IsActive(gameviewmode) | Window.IsActive(gamevideofilter)]">DefaultDialogSelectLayout</include> + <include condition="![Window.IsActive(gameviewmode) | Window.IsActive(gamevideofilter) | Window.IsActive(gamevideorotation)]">DefaultDialogSelectLayout</include> <include condition="Window.IsActive(gamevideofilter)">GameDialogSelectFilterLayout</include> <include condition="Window.IsActive(gameviewmode)">GameDialogSelectViewLayout</include> + <include condition="Window.IsActive(gamevideorotation)">GameDialogSelectViewLayout</include> </controls> </window> diff --git a/addons/skin.estuary/xml/GameOSD.xml b/addons/skin.estuary/xml/GameOSD.xml index 54e89b3acf..ad0e0863c1 100644 --- a/addons/skin.estuary/xml/GameOSD.xml +++ b/addons/skin.estuary/xml/GameOSD.xml @@ -8,7 +8,7 @@ <height>400</height> <centertop>50%</centertop> <width>700</width> - <visible>!Window.IsActive(1101) + !Window.IsActive(GameVideoFilter) + !Window.IsActive(GameViewMode) + !Window.IsActive(GameControllers)</visible> + <visible>!Window.IsActive(1101) + !Window.IsActive(GameVideoFilter) + !Window.IsActive(GameViewMode) + !Window.IsActive(GameControllers) + !Window.IsActive(GameVideoRotation)</visible> <animation effect="fade" time="200">VisibleChange</animation> <include content="DialogBackgroundCommons"> <param name="width" value="700" /> diff --git a/addons/skin.estuary/xml/Includes_DialogSelect.xml b/addons/skin.estuary/xml/Includes_DialogSelect.xml index d1945bca72..9643b3cedd 100644 --- a/addons/skin.estuary/xml/Includes_DialogSelect.xml +++ b/addons/skin.estuary/xml/Includes_DialogSelect.xml @@ -190,6 +190,7 @@ <height>250</height> <scalingmethod>$INFO[ListItem.Property(game.scalingmethod)]</scalingmethod> <viewmode>$INFO[ListItem.Property(game.viewmode)]</viewmode> + <rotation>$INFO[ListItem.Property(game.videorotation)]</rotation> </control> <control type="label"> <top>250</top> @@ -220,6 +221,7 @@ <height>250</height> <scalingmethod>$INFO[ListItem.Property(game.scalingmethod)]</scalingmethod> <viewmode>$INFO[ListItem.Property(game.viewmode)]</viewmode> + <rotation>$INFO[ListItem.Property(game.videorotation)]</rotation> </control> <control type="label"> <top>250</top> @@ -294,6 +296,7 @@ <height>250</height> <scalingmethod>$INFO[ListItem.Property(game.scalingmethod)]</scalingmethod> <viewmode>$INFO[ListItem.Property(game.viewmode)]</viewmode> + <rotation>$INFO[ListItem.Property(game.videorotation)]</rotation> </control> <control type="label"> <top>250</top> @@ -324,6 +327,7 @@ <height>250</height> <scalingmethod>$INFO[ListItem.Property(game.scalingmethod)]</scalingmethod> <viewmode>$INFO[ListItem.Property(game.viewmode)]</viewmode> + <rotation>$INFO[ListItem.Property(game.videorotation)]</rotation> </control> <control type="label"> <top>250</top> |