summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:23:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch)
tree0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/setup_theme.cpp
parent4c7a11b639ec94c8a32a9a52e99652c464745037 (diff)
downloadmanaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz
manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2
manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz
manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index 13422348d..c3b38dd23 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -161,39 +161,39 @@ public:
Setup_Theme::Setup_Theme(const Widget2 *const widget) :
SetupTab(widget),
- mThemeLabel(new Label(_("Gui theme"))),
+ mThemeLabel(new Label(this, _("Gui theme"))),
mThemesModel(new ThemesModel),
mThemeDropDown(new DropDown(this, mThemesModel)),
mTheme(config.getStringValue("theme")),
mFontsModel(new FontsModel),
- mFontLabel(new Label(_("Main Font"))),
+ mFontLabel(new Label(this, _("Main Font"))),
mFontDropDown(new DropDown(this, mFontsModel)),
mFont(config.getStringValue("font")),
mLangListModel(new LangListModel),
- mLangLabel(new Label(_("Language"))),
+ mLangLabel(new Label(this, _("Language"))),
mLangDropDown(new DropDown(this, mLangListModel)),
mLang(config.getStringValue("lang")),
- mBoldFontLabel(new Label(_("Bold font"))),
+ mBoldFontLabel(new Label(this, _("Bold font"))),
mBoldFontDropDown(new DropDown(this, mFontsModel)),
mBoldFont(config.getStringValue("boldFont")),
- mParticleFontLabel(new Label(_("Particle font"))),
+ mParticleFontLabel(new Label(this, _("Particle font"))),
mParticleFontDropDown(new DropDown(this, mFontsModel)),
mParticleFont(config.getStringValue("particleFont")),
- mHelpFontLabel(new Label(_("Help font"))),
+ mHelpFontLabel(new Label(this, _("Help font"))),
mHelpFontDropDown(new DropDown(this, mFontsModel)),
mHelpFont(config.getStringValue("helpFont")),
- mSecureFontLabel(new Label(_("Secure font"))),
+ mSecureFontLabel(new Label(this, _("Secure font"))),
mSecureFontDropDown(new DropDown(this, mFontsModel)),
mSecureFont(config.getStringValue("secureFont")),
- mJapanFontLabel(new Label(_("Japanese font"))),
+ mJapanFontLabel(new Label(this, _("Japanese font"))),
mJapanFontDropDown(new DropDown(this, mFontsModel)),
mJapanFont(config.getStringValue("japanFont")),
mFontSizeListModel(new FontSizeChoiceListModel),
- mFontSizeLabel(new Label(_("Font size"))),
+ mFontSizeLabel(new Label(this, _("Font size"))),
mFontSize(config.getIntValue("fontSize")),
mFontSizeDropDown(new DropDown(this, mFontSizeListModel)),
mNpcFontSizeListModel(new FontSizeChoiceListModel),
- mNpcFontSizeLabel(new Label(_("Npc font size"))),
+ mNpcFontSizeLabel(new Label(this, _("Npc font size"))),
mNpcFontSize(config.getIntValue("npcfontSize")),
mNpcFontSizeDropDown(new DropDown(this, mNpcFontSizeListModel)),
// TRANSLATORS: button name with information about selected theme