diff options
author | Vicent Marti | 2008-08-14 18:43:27 +0000 |
---|---|---|
committer | Vicent Marti | 2008-08-14 18:43:27 +0000 |
commit | 8eaa982c41a083337aa512f1d303b178d25f6a2a (patch) | |
tree | f71ae86498ec1a9b6e71144141443b957a848af0 /gui/ThemeEval.cpp | |
parent | 4368e8132f2caefe886bce595731c67ea16855ad (diff) | |
download | scummvm-rg350-8eaa982c41a083337aa512f1d303b178d25f6a2a.tar.gz scummvm-rg350-8eaa982c41a083337aa512f1d303b178d25f6a2a.tar.bz2 scummvm-rg350-8eaa982c41a083337aa512f1d303b178d25f6a2a.zip |
Added Classic Theme - WIP (yes, it's working).
Added Builtin theme back.
Added Python script to automatically build themes.
svn-id: r33868
Diffstat (limited to 'gui/ThemeEval.cpp')
-rw-r--r-- | gui/ThemeEval.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp index f93706cb47..2d8290ffa8 100644 --- a/gui/ThemeEval.cpp +++ b/gui/ThemeEval.cpp @@ -139,6 +139,8 @@ void ThemeLayoutVertical::reflowLayout() { _h += _children[i]->getHeight() + _spacing; } } + + _h -= _spacing; } void ThemeLayoutHorizontal::reflowLayout() { @@ -198,6 +200,8 @@ void ThemeLayoutHorizontal::reflowLayout() { _h = MAX(_h, (int16)(_children[i]->getHeight() + _paddingTop + _paddingBottom)); } + + _w -= _spacing; } ThemeEval::~ThemeEval() { |