aboutsummaryrefslogtreecommitdiff
path: root/gui/themes
diff options
context:
space:
mode:
authorBastien Bouclet2019-12-28 10:43:58 +0100
committerBastien Bouclet2020-01-04 10:56:25 +0100
commiteb28c5a09288e563011b11eafea1c772a7127e7f (patch)
tree0fc961ac83a19357d6941f93a1e2106e1c4f2b93 /gui/themes
parent346d53b0342d8a1d543887560a28cc45f211d9ad (diff)
downloadscummvm-rg350-eb28c5a09288e563011b11eafea1c772a7127e7f.tar.gz
scummvm-rg350-eb28c5a09288e563011b11eafea1c772a7127e7f.tar.bz2
scummvm-rg350-eb28c5a09288e563011b11eafea1c772a7127e7f.zip
GUI: Use a dialog theme layout for the unknown game dialog
Diffstat (limited to 'gui/themes')
-rw-r--r--gui/themes/default.inc46
-rw-r--r--gui/themes/scummclassic.zipbin157827 -> 158832 bytes
-rw-r--r--gui/themes/scummclassic/classic_layout.stx26
-rw-r--r--gui/themes/scummclassic/classic_layout_lowres.stx23
-rw-r--r--gui/themes/scummmodern.zipbin287886 -> 288886 bytes
-rw-r--r--gui/themes/scummmodern/scummmodern_layout.stx27
-rw-r--r--gui/themes/scummmodern/scummmodern_layout_lowres.stx31
-rw-r--r--gui/themes/scummremastered.zipbin285930 -> 286934 bytes
-rw-r--r--gui/themes/scummremastered/remastered_layout.stx28
-rw-r--r--gui/themes/scummremastered/remastered_layout_lowres.stx25
10 files changed, 193 insertions, 13 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc
index 8a56822ba9..affbcb9b4d 100644
--- a/gui/themes/default.inc
+++ b/gui/themes/default.inc
@@ -1812,9 +1812,9 @@ const char *defaultXML1 = "<?xml version = '1.0'?>"
"</layout>"
"</dialog>"
"<dialog name='GameOptions' overlays='Dialog.Launcher.GameList' shading='dim'>"
-"<layout type='vertical' padding='0,0,0,0' spacing='16'>"
+"<layout type='vertical' padding='0,0,0,0'>"
"<widget name='TabWidget' type='TabWidget'/>"
-"<layout type='horizontal' padding='16,16,16,4'>"
+"<layout type='horizontal' padding='16,16,16,16'>"
"<space/>"
"<widget name='Cancel' "
"type='Button' "
@@ -2641,6 +2641,27 @@ const char *defaultXML1 = "<?xml version = '1.0'?>"
"</dialog>"
"<dialog name='DropdownDialog' overlays='screen_center' shading='luminance'>"
"</dialog>"
+"<dialog name='UnknownGameDialog' overlays='Dialog.Launcher.GameList' shading='dim'>"
+"<layout type='vertical' padding='8,8,8,0'>"
+"<widget name='TextContainer' "
+"/>"
+"<layout type='horizontal' padding='0,0,16,16'>"
+"<space/>"
+"<widget name='Report' "
+"type='Button' "
+"/>"
+"<widget name='Copy' "
+"type='Button' "
+"/>"
+"<widget name='Close' "
+"type='Button' "
+"/>"
+"<widget name='Add' "
+"type='Button' "
+"/>"
+"</layout>"
+"</layout>"
+"</dialog>"
"</layout_info>"
;
const char *defaultXML4 = "<layout_info resolution='y<400'>"
@@ -4339,6 +4360,27 @@ const char *defaultXML1 = "<?xml version = '1.0'?>"
"</dialog>"
"<dialog name='DropdownDialog' overlays='screen_center' shading='luminance'>"
"</dialog>"
+"<dialog name='UnknownGameDialog' overlays='screen' inset='8' shading='dim'>"
+"<layout type='vertical' padding='8,8,8,0'>"
+"<widget name='TextContainer' "
+"/>"
+"<layout type='horizontal' padding='0,0,8,8'>"
+"<space/>"
+"<widget name='Report' "
+"type='Button' "
+"/>"
+"<widget name='Copy' "
+"type='Button' "
+"/>"
+"<widget name='Close' "
+"type='Button' "
+"/>"
+"<widget name='Add' "
+"type='Button' "
+"/>"
+"</layout>"
+"</layout>"
+"</dialog>"
"</layout_info>"
;
const char *defaultXML[] = { defaultXML1, defaultXML2, defaultXML3, defaultXML4 };
diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip
index 0414fd0b39..f7c4ddbb1f 100644
--- a/gui/themes/scummclassic.zip
+++ b/gui/themes/scummclassic.zip
Binary files differ
diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx
index 9ec0350f47..0cbe043da9 100644
--- a/gui/themes/scummclassic/classic_layout.stx
+++ b/gui/themes/scummclassic/classic_layout.stx
@@ -955,9 +955,9 @@
</dialog>
<dialog name = 'GameOptions' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
- <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '16'>
+ <layout type = 'vertical' padding = '0, 0, 0, 0'>
<widget name = 'TabWidget' type = 'TabWidget'/>
- <layout type = 'horizontal' padding = '16, 16, 16, 4'>
+ <layout type = 'horizontal' padding = '16, 16, 16, 16'>
<space/>
<widget name = 'Cancel'
type = 'Button'
@@ -1811,4 +1811,26 @@
</dialog>
<dialog name = 'DropdownDialog' overlays = 'screen_center' shading = 'luminance'>
</dialog>
+
+ <dialog name = 'UnknownGameDialog' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 0'>
+ <widget name = 'TextContainer'
+ />
+ <layout type = 'horizontal' padding = '0, 0, 16, 16'>
+ <space/>
+ <widget name = 'Report'
+ type = 'Button'
+ />
+ <widget name = 'Copy'
+ type = 'Button'
+ />
+ <widget name = 'Close'
+ type = 'Button'
+ />
+ <widget name = 'Add'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
</layout_info>
diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx
index 473c336a00..f735acb93c 100644
--- a/gui/themes/scummclassic/classic_layout_lowres.stx
+++ b/gui/themes/scummclassic/classic_layout_lowres.stx
@@ -1777,6 +1777,29 @@
</layout>
</layout>
</dialog>
+
<dialog name = 'DropdownDialog' overlays = 'screen_center' shading = 'luminance'>
</dialog>
+
+ <dialog name = 'UnknownGameDialog' overlays = 'screen' inset = '8' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 0'>
+ <widget name = 'TextContainer'
+ />
+ <layout type = 'horizontal' padding = '0, 0, 8, 8'>
+ <space/>
+ <widget name = 'Report'
+ type = 'Button'
+ />
+ <widget name = 'Copy'
+ type = 'Button'
+ />
+ <widget name = 'Close'
+ type = 'Button'
+ />
+ <widget name = 'Add'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
</layout_info>
diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip
index 1c8f107df7..bf3bcc1e57 100644
--- a/gui/themes/scummmodern.zip
+++ b/gui/themes/scummmodern.zip
Binary files differ
diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx
index 71f3d78ff6..537368f6db 100644
--- a/gui/themes/scummmodern/scummmodern_layout.stx
+++ b/gui/themes/scummmodern/scummmodern_layout.stx
@@ -968,9 +968,9 @@
</dialog>
<dialog name = 'GameOptions' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
- <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '16'>
+ <layout type = 'vertical' padding = '0, 0, 0, 0'>
<widget name = 'TabWidget' type = 'TabWidget'/>
- <layout type = 'horizontal' padding = '16, 16, 16, 4'>
+ <layout type = 'horizontal' padding = '16, 16, 16, 16'>
<space/>
<widget name = 'Cancel'
type = 'Button'
@@ -1822,6 +1822,29 @@
</layout>
</layout>
</dialog>
+
<dialog name = 'DropdownDialog' overlays = 'screen_center'>
</dialog>
+
+ <dialog name = 'UnknownGameDialog' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 0'>
+ <widget name = 'TextContainer'
+ />
+ <layout type = 'horizontal' padding = '0, 0, 16, 16'>
+ <space/>
+ <widget name = 'Report'
+ type = 'Button'
+ />
+ <widget name = 'Copy'
+ type = 'Button'
+ />
+ <widget name = 'Close'
+ type = 'Button'
+ />
+ <widget name = 'Add'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
</layout_info>
diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
index c5e0155011..6d26505e56 100644
--- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx
+++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
@@ -922,12 +922,12 @@
<layout type='vertical' padding='16,16,16,16' spacing='16'>
<widget name='TTSCheckbox'
type='Checkbox'
- />
+ />
<widget name='TTSVoiceSelection'
type='PopUp'
- />
- </layout>
- </dialog>
+ />
+ </layout>
+ </dialog>
<dialog name='KeysDialog' overlays='Dialog.GlobalOptions' shading='dim'>
<layout type='vertical' padding='8,8,8,8' align = 'center'>
@@ -1795,6 +1795,29 @@
</layout>
</layout>
</dialog>
+
<dialog name = 'DropdownDialog' overlays = 'screen_center'>
</dialog>
+
+ <dialog name = 'UnknownGameDialog' overlays = 'screen' inset = '8' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 0'>
+ <widget name = 'TextContainer'
+ />
+ <layout type = 'horizontal' padding = '0, 0, 8, 8'>
+ <space/>
+ <widget name = 'Report'
+ type = 'Button'
+ />
+ <widget name = 'Copy'
+ type = 'Button'
+ />
+ <widget name = 'Close'
+ type = 'Button'
+ />
+ <widget name = 'Add'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
</layout_info>
diff --git a/gui/themes/scummremastered.zip b/gui/themes/scummremastered.zip
index 5ed31519a3..bf23c0ac8a 100644
--- a/gui/themes/scummremastered.zip
+++ b/gui/themes/scummremastered.zip
Binary files differ
diff --git a/gui/themes/scummremastered/remastered_layout.stx b/gui/themes/scummremastered/remastered_layout.stx
index c5d8eef5c2..895b0b9e4c 100644
--- a/gui/themes/scummremastered/remastered_layout.stx
+++ b/gui/themes/scummremastered/remastered_layout.stx
@@ -968,9 +968,9 @@
</dialog>
<dialog name = 'GameOptions' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
- <layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '16'>
+ <layout type = 'vertical' padding = '0, 0, 0, 0'>
<widget name = 'TabWidget' type = 'TabWidget'/>
- <layout type = 'horizontal' padding = '16, 16, 16, 4'>
+ <layout type = 'horizontal' padding = '16, 16, 16, 16'>
<space/>
<widget name = 'Cancel'
type = 'Button'
@@ -1822,6 +1822,30 @@
</layout>
</layout>
</dialog>
+
<dialog name = 'DropdownDialog' overlays = 'screen_center'>
</dialog>
+
+ <dialog name = 'UnknownGameDialog' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 0'>
+ <widget name = 'TextContainer'
+ />
+ <layout type = 'horizontal' padding = '0, 0, 16, 16'>
+ <space/>
+ <widget name = 'Report'
+ type = 'Button'
+ />
+ <widget name = 'Copy'
+ type = 'Button'
+ />
+ <widget name = 'Close'
+ type = 'Button'
+ />
+ <widget name = 'Add'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
+
</layout_info>
diff --git a/gui/themes/scummremastered/remastered_layout_lowres.stx b/gui/themes/scummremastered/remastered_layout_lowres.stx
index fa81408d82..6d26505e56 100644
--- a/gui/themes/scummremastered/remastered_layout_lowres.stx
+++ b/gui/themes/scummremastered/remastered_layout_lowres.stx
@@ -611,7 +611,7 @@
<layout type = 'vertical' padding = '0, 0, 0, 0'>
<widget name = 'Container'/>
</layout>
- </dialog>
+ </dialog>
<dialog name = 'GlobalOptions_Cloud_Container' overlays = 'GlobalOptions_Cloud.Container'>
<layout type = 'vertical' padding = '10, 13, 10, 10' spacing = '8'>
@@ -1795,6 +1795,29 @@
</layout>
</layout>
</dialog>
+
<dialog name = 'DropdownDialog' overlays = 'screen_center'>
</dialog>
+
+ <dialog name = 'UnknownGameDialog' overlays = 'screen' inset = '8' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 0'>
+ <widget name = 'TextContainer'
+ />
+ <layout type = 'horizontal' padding = '0, 0, 8, 8'>
+ <space/>
+ <widget name = 'Report'
+ type = 'Button'
+ />
+ <widget name = 'Copy'
+ type = 'Button'
+ />
+ <widget name = 'Close'
+ type = 'Button'
+ />
+ <widget name = 'Add'
+ type = 'Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
</layout_info>