diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-19 23:56:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:42 +0300 |
commit | d59cd9111c1e86b224ea62cc975c49b157e2b3cf (patch) | |
tree | d7186479633c0269573e92b5a5213d04b84b3995 /src/gui/setup_theme.cpp | |
parent | 71d2b482d84246b8456ea863f94a9a766d33f197 (diff) | |
download | mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.gz mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.bz2 mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.xz mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.zip |
Add to some controls palette inheritance from other controls.
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r-- | src/gui/setup_theme.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp index 66d806fc4..d13d12589 100644 --- a/src/gui/setup_theme.cpp +++ b/src/gui/setup_theme.cpp @@ -159,43 +159,43 @@ public: } }; -Setup_Theme::Setup_Theme() : - SetupTab(), +Setup_Theme::Setup_Theme(const Widget2 *const widget) : + SetupTab(widget), mThemeLabel(new Label(_("Gui theme"))), mThemesModel(new ThemesModel), - mThemeDropDown(new DropDown(mThemesModel)), + mThemeDropDown(new DropDown(this, mThemesModel)), mTheme(config.getStringValue("theme")), mFontsModel(new FontsModel), mFontLabel(new Label(_("Main Font"))), - mFontDropDown(new DropDown(mFontsModel)), + mFontDropDown(new DropDown(this, mFontsModel)), mFont(config.getStringValue("font")), mLangListModel(new LangListModel), mLangLabel(new Label(_("Language"))), - mLangDropDown(new DropDown(mLangListModel)), + mLangDropDown(new DropDown(this, mLangListModel)), mLang(config.getStringValue("lang")), mBoldFontLabel(new Label(_("Bold font"))), - mBoldFontDropDown(new DropDown(mFontsModel)), + mBoldFontDropDown(new DropDown(this, mFontsModel)), mBoldFont(config.getStringValue("boldFont")), mParticleFontLabel(new Label(_("Particle font"))), - mParticleFontDropDown(new DropDown(mFontsModel)), + mParticleFontDropDown(new DropDown(this, mFontsModel)), mParticleFont(config.getStringValue("particleFont")), mHelpFontLabel(new Label(_("Help font"))), - mHelpFontDropDown(new DropDown(mFontsModel)), + mHelpFontDropDown(new DropDown(this, mFontsModel)), mHelpFont(config.getStringValue("helpFont")), mSecureFontLabel(new Label(_("Secure font"))), - mSecureFontDropDown(new DropDown(mFontsModel)), + mSecureFontDropDown(new DropDown(this, mFontsModel)), mSecureFont(config.getStringValue("secureFont")), mJapanFontLabel(new Label(_("Japanese font"))), - mJapanFontDropDown(new DropDown(mFontsModel)), + mJapanFontDropDown(new DropDown(this, mFontsModel)), mJapanFont(config.getStringValue("japanFont")), mFontSizeListModel(new FontSizeChoiceListModel), mFontSizeLabel(new Label(_("Font size"))), mFontSize(config.getIntValue("fontSize")), - mFontSizeDropDown(new DropDown(mFontSizeListModel)), + mFontSizeDropDown(new DropDown(this, mFontSizeListModel)), mNpcFontSizeListModel(new FontSizeChoiceListModel), mNpcFontSizeLabel(new Label(_("Npc font size"))), mNpcFontSize(config.getIntValue("npcfontSize")), - mNpcFontSizeDropDown(new DropDown(mNpcFontSizeListModel)), + mNpcFontSizeDropDown(new DropDown(this, mNpcFontSizeListModel)), // TRANSLATORS: button name with information about selected theme mInfoButton(new Button(_("i"), ACTION_INFO, this)) { |