aboutsummaryrefslogtreecommitdiff
path: root/gui/themes
diff options
context:
space:
mode:
authorVicent Marti2008-08-08 15:06:28 +0000
committerVicent Marti2008-08-08 15:06:28 +0000
commit3ca6f76f7be2ef8c982c83ed0c1a1da633033c35 (patch)
tree87775e687ae845e2a5ff42f75de5c2ac0f05b3ff /gui/themes
parent1ea3301a8a358e9da9be644b8de54a9fec952dce (diff)
downloadscummvm-rg350-3ca6f76f7be2ef8c982c83ed0c1a1da633033c35.tar.gz
scummvm-rg350-3ca6f76f7be2ef8c982c83ed0c1a1da633033c35.tar.bz2
scummvm-rg350-3ca6f76f7be2ef8c982c83ed0c1a1da633033c35.zip
Browser dialog.
Improved layout expansion in the layout parser. Fixed serious coordinates initialization bug. svn-id: r33702
Diffstat (limited to 'gui/themes')
-rw-r--r--gui/themes/default.inc27
-rw-r--r--gui/themes/modern.stx29
2 files changed, 52 insertions, 4 deletions
diff --git a/gui/themes/default.inc b/gui/themes/default.inc
index 4c1e57a52c..41de1be85f 100644
--- a/gui/themes/default.inc
+++ b/gui/themes/default.inc
@@ -401,7 +401,7 @@
"<def var = 'Padding.Left' value = '16' /> "
"<def var = 'Padding.Right' value = '16' /> "
"<def var = 'Padding.Top' value = '16' /> "
-"<def var = 'ListWidget.hlLeftPadding' value = '8'/> "
+"<def var = 'ListWidget.hlLeftPadding' value = '0'/> "
"<def var = 'ListWidget.hlRightPadding' value = '16'/> "
"<def var = 'PopUpWidget.labelSpacing' value = '10' /> "
"<widget name = 'OptionsLabel' "
@@ -423,7 +423,7 @@
"size = '-1, Globals.Line.Height' "
"/> "
"<widget name = 'ListWidget' "
-"padding = '7, 5, 3, 3' "
+"padding = '5, 0, 8, 0' "
"/> "
"<widget name = 'PopUpWidget' "
"padding = '7, 5, 0, 0' "
@@ -487,6 +487,29 @@
"</layout> "
"</layout> "
"</dialog> "
+"<dialog name = 'Browser' overlays = 'Dialog.Launcher.GameList' shading = 'dim'> "
+"<layout type = 'vertical' padding = '8, 8, 8, 8' direction = 'bottom2top'> "
+"<layout type = 'horizontal' padding = '0, 0, 16, 0' direction = 'right2left'> "
+"<widget name = 'Choose' "
+"type = 'Button' "
+"/> "
+"<widget name = 'Cancel' "
+"type = 'Button' "
+"/> "
+"<space/> "
+"<widget name = 'Up' "
+"type = 'Button' "
+"/> "
+"</layout> "
+"<widget name = 'List'/> "
+"<widget name = 'Path' "
+"height = 'Globals.Line.Height' "
+"/> "
+"<widget name = 'Headline' "
+"height = 'Globals.Line.Height' "
+"/> "
+"</layout> "
+"</dialog> "
"<dialog name = 'GlobalOptions' overlays = 'Dialog.Launcher.GameList' shading = 'dim'> "
"<layout type = 'vertical' padding = '0, 0, 0, 0' direction = 'bottom2top'> "
"<layout type = 'horizontal' direction = 'right2left' padding = '16, 16, 16, 16'> "
diff --git a/gui/themes/modern.stx b/gui/themes/modern.stx
index a0a4bfad0a..3551b637df 100644
--- a/gui/themes/modern.stx
+++ b/gui/themes/modern.stx
@@ -462,7 +462,7 @@
<def var = 'Padding.Right' value = '16' />
<def var = 'Padding.Top' value = '16' />
- <def var = 'ListWidget.hlLeftPadding' value = '8'/>
+ <def var = 'ListWidget.hlLeftPadding' value = '0'/>
<def var = 'ListWidget.hlRightPadding' value = '16'/>
<def var = 'PopUpWidget.labelSpacing' value = '10' />
@@ -485,7 +485,7 @@
size = '-1, Globals.Line.Height'
/>
<widget name = 'ListWidget'
- padding = '7, 5, 3, 3'
+ padding = '5, 0, 8, 0'
/>
<widget name = 'PopUpWidget'
padding = '7, 5, 0, 0'
@@ -552,6 +552,31 @@
</layout>
</dialog>
+ <dialog name = 'Browser' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
+ <layout type = 'vertical' padding = '8, 8, 8, 8' direction = 'bottom2top'>
+ <layout type = 'horizontal' padding = '0, 0, 16, 0' direction = 'right2left'>
+ <widget name = 'Choose'
+ type = 'Button'
+ />
+ <widget name = 'Cancel'
+ type = 'Button'
+ />
+ <space/>
+ <widget name = 'Up'
+ type = 'Button'
+ />
+ </layout>
+ <widget name = 'List'/>
+ <widget name = 'Path'
+ height = 'Globals.Line.Height'
+ />
+ <widget name = 'Headline'
+ height = 'Globals.Line.Height'
+ />
+ </layout>
+ </dialog>
+
+
<dialog name = 'GlobalOptions' overlays = 'Dialog.Launcher.GameList' shading = 'dim'>
<layout type = 'vertical' padding = '0, 0, 0, 0' direction = 'bottom2top'>
<layout type = 'horizontal' direction = 'right2left' padding = '16, 16, 16, 16'>