aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummclassic
diff options
context:
space:
mode:
authorLars Persson2008-12-17 21:19:46 +0000
committerLars Persson2008-12-17 21:19:46 +0000
commita56af219d9ee600de4d85210c129618176ab1265 (patch)
treee3f13f9799b35ee1d4896d2387d1ad2fb894316f /gui/themes/scummclassic
parentde0a2f40cd996d34d3bea3105158863da0e3a44c (diff)
downloadscummvm-rg350-a56af219d9ee600de4d85210c129618176ab1265.tar.gz
scummvm-rg350-a56af219d9ee600de4d85210c129618176ab1265.tar.bz2
scummvm-rg350-a56af219d9ee600de4d85210c129618176ab1265.zip
Added KeyConfiguration dialog to classic theme(320 and normal). Updated KeysDialog to follow xml syntax properly.
svn-id: r35416
Diffstat (limited to 'gui/themes/scummclassic')
-rw-r--r--gui/themes/scummclassic/classic_layout.stx27
-rw-r--r--gui/themes/scummclassic/classic_layout_320.stx27
2 files changed, 54 insertions, 0 deletions
diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx
index 3b447e29af..087db1b6ed 100644
--- a/gui/themes/scummclassic/classic_layout.stx
+++ b/gui/themes/scummclassic/classic_layout.stx
@@ -341,8 +341,35 @@
<widget name = 'AutosavePeriod'
type = 'PopUp'
/>
+ <widget name='KeysButton'
+ type='Button'
+ />
</layout>
</dialog>
+
+ <dialog name='KeysDialog' overlays='Dialog.GlobalOptions' shading='dim'>
+ <layout type='vertical' padding='8,8,8,8' center='true'>
+ <widget name='List'/>
+ <widget name='Action'
+ height='Globals.Line.Height'
+ />
+ <widget name='Mapping'
+ height='Globals.Line.Height'
+ />
+ <layout type='horizontal' padding='0,0,16,0'>
+ <widget name='Map'
+ type='Button'
+ />
+ <space/>
+ <widget name='Cancel'
+ type='Button'
+ />
+ <widget name='Ok'
+ type='Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
<dialog name = 'GameOptions' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
<layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '16'>
diff --git a/gui/themes/scummclassic/classic_layout_320.stx b/gui/themes/scummclassic/classic_layout_320.stx
index c77518ea21..faf6f20d6f 100644
--- a/gui/themes/scummclassic/classic_layout_320.stx
+++ b/gui/themes/scummclassic/classic_layout_320.stx
@@ -338,9 +338,36 @@
<widget name = 'AutosavePeriod'
type = 'PopUp'
/>
+ <widget name='KeysButton'
+ type='Button'
+ />
</layout>
</dialog>
+ <dialog name='KeysDialog' overlays='Dialog.GlobalOptions' shading='dim'>
+ <layout type='vertical' padding='8,8,8,8' center='true'>
+ <widget name='List'/>
+ <widget name='Action'
+ height='Globals.Line.Height'
+ />
+ <widget name='Mapping'
+ height='Globals.Line.Height'
+ />
+ <layout type='horizontal' padding='0,0,16,0'>
+ <widget name='Map'
+ type='Button'
+ />
+ <space/>
+ <widget name='Cancel'
+ type='Button'
+ />
+ <widget name='Ok'
+ type='Button'
+ />
+ </layout>
+ </layout>
+ </dialog>
+
<dialog name = 'GameOptions' overlays = 'screen' inset = '16' shading = 'dim'>
<layout type = 'vertical' padding = '0, 0, 0, 0' spacing = '16'>
<widget name = 'TabWidget'/>