diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:15 +0300 |
commit | 747dc30f256606e28fd932a9626da7c328114036 (patch) | |
tree | 1b3e7e70ba439d14d4936660d44c95c27816a11b /src/gui/theme.cpp | |
parent | cef2952156ab09371ed04beec00d0f1e8615ada9 (diff) | |
download | manaverse-747dc30f256606e28fd932a9626da7c328114036.tar.gz manaverse-747dc30f256606e28fd932a9626da7c328114036.tar.bz2 manaverse-747dc30f256606e28fd932a9626da7c328114036.tar.xz manaverse-747dc30f256606e28fd932a9626da7c328114036.zip |
fix style in gui directory.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 0d2e7d16f..27945b808 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -169,8 +169,9 @@ int Skin::getMinHeight() const mBorder->grid[ImageRect::LOWER_LEFT]->getHeight(); } -Theme::Theme(): +Theme::Theme() : Palette(THEME_COLORS_END * THEME_PALETTES), + mSkins(), mMinimumOpacity(-1.0f), mProgressColors(ProgressColors(THEME_PROG_END)) { @@ -406,6 +407,21 @@ static const SkinParameter imageParam[] = struct SkinHelper final { + SkinHelper() : + partType(), + xPos(), + yPos(), + width(), + height(), + rect(), + node(), + image(), + resman() + { + } + + A_DELETE_COPY(SkinHelper) + std::string partType; int xPos; int yPos; |