diff options
author | Vicent Marti | 2008-09-20 13:52:12 +0000 |
---|---|---|
committer | Vicent Marti | 2008-09-20 13:52:12 +0000 |
commit | 46168618be0152ebfcb68d2a0a46f98a676e204a (patch) | |
tree | 3547c47f0df76d78765d74e348c93857e823badc /gui | |
parent | 0d4ce96799da99a3f0c7c25ef14aac8951b93239 (diff) | |
download | scummvm-rg350-46168618be0152ebfcb68d2a0a46f98a676e204a.tar.gz scummvm-rg350-46168618be0152ebfcb68d2a0a46f98a676e204a.tar.bz2 scummvm-rg350-46168618be0152ebfcb68d2a0a46f98a676e204a.zip |
- Reverted circle drawing algorithm.
- Fixed Launcher savegame load menu.
svn-id: r34610
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index b79891ef76..978c224afd 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -517,6 +517,7 @@ SaveLoadChooser::SaveLoadChooser(const String &title, const String &buttonLabel) _delSupport = _metaInfoSupport = _thumbnailSupport = _saveDateSupport = _playTimeSupport = false; // _drawingHints |= GUI::THEME_HINT_SPECIAL_COLOR; + _backgroundType = Theme::kDialogBackgroundDefault; new StaticTextWidget(this, "ScummSaveLoad.Title", title); @@ -622,15 +623,12 @@ void SaveLoadChooser::reflowLayout() { int thumbY = y + kLineHeight; int textLines = 0; - if (_saveDateSupport) - textLines += 2; - if (_playTimeSupport) - textLines += 1; - - if (textLines) - ++textLines; + if (!_saveDateSupport) + textLines++; + if (!_playTimeSupport) + textLines++; - _container->resize(x, y, w, h + textLines * kLineHeight); + _container->resize(x, y, w, h - (kLineHeight * textLines)); _gfxWidget->resize(thumbX, thumbY, thumbW, thumbH); int height = thumbY + thumbH + kLineHeight; |