aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern
diff options
context:
space:
mode:
authorBastien Bouclet2018-09-27 07:12:11 +0200
committerBastien Bouclet2018-12-02 19:47:32 +0100
commitbbbd40477d1afe62df63b222193e016d1e9fdd7d (patch)
tree4d4e69d9631a725aeef2a10a27d075e1ed6823e3 /gui/themes/scummmodern
parentadd9a0b49a39a9e2a3c3cd3376afd3a4b7f71937 (diff)
downloadscummvm-rg350-bbbd40477d1afe62df63b222193e016d1e9fdd7d.tar.gz
scummvm-rg350-bbbd40477d1afe62df63b222193e016d1e9fdd7d.tar.bz2
scummvm-rg350-bbbd40477d1afe62df63b222193e016d1e9fdd7d.zip
GUI: Add an option to set the GUI language to the game language
Diffstat (limited to 'gui/themes/scummmodern')
-rw-r--r--gui/themes/scummmodern/scummmodern_layout.stx5
-rw-r--r--gui/themes/scummmodern/scummmodern_layout_lowres.stx7
2 files changed, 11 insertions, 1 deletions
diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx
index b0c2b5b209..48244c7a23 100644
--- a/gui/themes/scummmodern/scummmodern_layout.stx
+++ b/gui/themes/scummmodern/scummmodern_layout.stx
@@ -582,6 +582,11 @@
/>
</layout>
<layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
+ <widget name = 'GuiLanguageUseGameLanguage'
+ type = 'Checkbox'
+ />
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '10' center = 'true'>
<widget name = 'UpdatesPopupDesc'
type = 'OptionsLabel'
/>
diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
index 188f29366f..685082e7e3 100644
--- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx
+++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
@@ -567,7 +567,12 @@
type = 'PopUp'
/>
</layout>
- <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '6' center = 'true'>
+ <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '6' center = 'true'>
+ <widget name = 'GuiLanguageUseGameLanguage'
+ type = 'Checkbox'
+ />
+ </layout>
+ <layout type = 'horizontal' padding = '0, 0, 0, 0' spacing = '6' center = 'true'>
<widget name = 'UpdatesPopupDesc'
width = '80'
height = 'Globals.Line.Height'