aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-06 17:50:30 +0000
committerEugene Sandulenko2009-06-06 17:50:30 +0000
commitb49d23b89810fc196a27e2d3c49e17364fc5f453 (patch)
treedc9761cde3571872d9f4d7247965dbc6b7b4b2de /gui
parentf2547eb62c3ab6a4085f6341a66d304287f39d6f (diff)
downloadscummvm-rg350-b49d23b89810fc196a27e2d3c49e17364fc5f453.tar.gz
scummvm-rg350-b49d23b89810fc196a27e2d3c49e17364fc5f453.tar.bz2
scummvm-rg350-b49d23b89810fc196a27e2d3c49e17364fc5f453.zip
Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp7
-rw-r--r--gui/themes/default.inc10
-rw-r--r--gui/themes/scummclassic.zipbin46309 -> 46407 bytes
-rw-r--r--gui/themes/scummclassic/classic_layout.stx5
-rw-r--r--gui/themes/scummclassic/classic_layout_lowres.stx5
-rw-r--r--gui/themes/scummmodern.zipbin150435 -> 150484 bytes
-rw-r--r--gui/themes/scummmodern/scummmodern_layout_lowres.stx5
7 files changed, 25 insertions, 7 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index c1adc307b6..ce44341e14 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -631,15 +631,18 @@ void LauncherDialog::addGame() {
if (alert.runModal() == GUI::kMessageOK && _browser->runModal() > 0) {
MassAddDialog massAddDlg(_browser->getResult());
+ // Save current game position, so on cancel cursor will move back
ConfMan.set("temp_selection", _domains[_list->getSelected()], ConfigManager::kApplicationDomain);
massAddDlg.runModal();
+ // Update the ListWidget and force a redraw
+ updateListing();
+
+ // Set cursor to first detected game
selectGame(ConfMan.get("temp_selection", ConfigManager::kApplicationDomain));
ConfMan.removeKey("temp_selection", ConfigManager::kApplicationDomain);
- // Update the ListWidget and force a redraw
- updateListing();
draw();
}
diff --git a/gui/themes/default.inc b/gui/themes/default.inc
index 297371463e..564b3b6ba3 100644
--- a/gui/themes/default.inc
+++ b/gui/themes/default.inc
@@ -976,7 +976,10 @@
"width='250' "
"height='Globals.Line.Height' "
"/> "
-"<space size='32' /> "
+"<widget name='GameList' "
+"width='480' "
+"height='250' "
+"/> "
"<layout type='horizontal' padding='8,8,8,8'> "
"<widget name='Ok' "
"type='Button' "
@@ -1634,7 +1637,10 @@
"width='240' "
"height='Globals.Line.Height' "
"/> "
-"<space size='16' /> "
+"<widget name='GameList' "
+"width='280' "
+"height='100' "
+"/> "
"<layout type='horizontal' padding='4,4,4,4'> "
"<widget name='Ok' "
"type='Button' "
diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip
index 2d8034af00..7b87f0e46e 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 c9ba986fc8..f8e804916a 100644
--- a/gui/themes/scummclassic/classic_layout.stx
+++ b/gui/themes/scummclassic/classic_layout.stx
@@ -706,7 +706,10 @@
width = '250'
height = 'Globals.Line.Height'
/>
- <space size = '32' />
+ <widget name = 'GameList'
+ width = '480'
+ height = '250'
+ />
<layout type = 'horizontal' padding = '8, 8, 8, 8'>
<widget name = 'Ok'
type = 'Button'
diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx
index 184f49689a..007450e07b 100644
--- a/gui/themes/scummclassic/classic_layout_lowres.stx
+++ b/gui/themes/scummclassic/classic_layout_lowres.stx
@@ -700,7 +700,10 @@
width = '240'
height = 'Globals.Line.Height'
/>
- <space size = '16' />
+ <widget name = 'GameList'
+ width = '280'
+ height = '100'
+ />
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
<widget name = 'Ok'
type = 'Button'
diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip
index 845d2aa1b9..8d3d4a979e 100644
--- a/gui/themes/scummmodern.zip
+++ b/gui/themes/scummmodern.zip
Binary files differ
diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
index c59000e099..2bebe18e53 100644
--- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx
+++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx
@@ -691,7 +691,10 @@
width = '240'
height = 'Globals.Line.Height'
/>
- <space size = '16' />
+ <widget name = 'GameList'
+ width = '280'
+ height = '100'
+ />
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
<widget name = 'Ok'
type = 'Button'