summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp18
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;