diff options
author | Willem Jan Palenstijn | 2008-09-20 15:03:37 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2008-09-20 15:03:37 +0000 |
commit | 487dec8e778491b7851acabcc0e89abd7d7c4318 (patch) | |
tree | 7f615ab8a8caa5dad253680ec9383fb401e49dfd /gui | |
parent | a422e4d632853606e639ddf95575e8944d018a1c (diff) | |
download | scummvm-rg350-487dec8e778491b7851acabcc0e89abd7d7c4318.tar.gz scummvm-rg350-487dec8e778491b7851acabcc0e89abd7d7c4318.tar.bz2 scummvm-rg350-487dec8e778491b7851acabcc0e89abd7d7c4318.zip |
fix drawing order in saveload choosers (draw container before contents)
svn-id: r34614
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index a85761b58f..e9f718f4f0 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -524,9 +524,6 @@ SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel) _list = new GUI::ListWidget(this, "scummsaveload_list"); _list->setNumberingMode(GUI::kListNumberingOff); - _container = new GUI::ContainerWidget(this, 0, 0, 10, 10); - _container->setHints(GUI::THEME_HINT_USE_SHADOW); - _gfxWidget = new GUI::GraphicsWidget(this, 0, 0, 10, 10); _date = new StaticTextWidget(this, 0, 0, 10, 10, "No date saved", kTextAlignCenter); @@ -542,6 +539,9 @@ SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel) _deleteButton->setEnabled(false); _delSupport = _metaInfoSupport = _thumbnailSupport = false; + + _container = new GUI::ContainerWidget(this, 0, 0, 10, 10); + _container->setHints(GUI::THEME_HINT_USE_SHADOW); } SaveLoadChooser::~SaveLoadChooser() { |