diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 1 | ||||
-rw-r--r-- | src/gui/windows/emotewindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 1 | ||||
-rw-r--r-- | src/gui/windows/questswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/selldialog.cpp | 1 | ||||
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 1 | ||||
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 8 | ||||
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 1 |
10 files changed, 22 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index b7e49ab3f..dcd94be81 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -239,6 +239,7 @@ void BuyDialog::init() mShopItems = new ShopItems; mShopItemList = new ShopListBox(this, mShopItems, mShopItems); + mShopItemList->postInit(); mScrollArea = new ScrollArea(mShopItemList, getOptionBool("showbackground"), "buy_background.xml"); mScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); diff --git a/src/gui/windows/emotewindow.cpp b/src/gui/windows/emotewindow.cpp index 405aff746..c9f5f927c 100644 --- a/src/gui/windows/emotewindow.cpp +++ b/src/gui/windows/emotewindow.cpp @@ -57,6 +57,8 @@ EmoteWindow::EmoteWindow() : mScrollFontPage(new ScrollArea(mFontPage, false, "fontpage.xml")), mImageSet(Theme::getImageSetFromThemeXml("emotetabs.xml", "", 17, 16)) { + mColorPage->postInit(); + mFontPage->postInit(); setShowTitle(false); setResizable(true); diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index 4f3d851c2..ba8754482 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -126,6 +126,7 @@ NpcDialog::NpcDialog(const int npcId) : mShowAvatar(false), mLogInteraction(config.getBoolValue("logNpcInGui")) { + mItemList->postInit(); // Basic Window Setup setWindowName("NpcText"); setResizable(true); diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index 7ac9a1efb..ce0c1a796 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -144,6 +144,8 @@ QuestsWindow::QuestsWindow() : mCompleteQuestEffectId(paths.getIntValue("completeQuestEffectId")), mMap(nullptr) { + mQuestsListBox->postInit(); + setWindowName("Quests"); setResizable(true); setCloseButton(true); diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp index a188861f0..5cca9892f 100644 --- a/src/gui/windows/selldialog.cpp +++ b/src/gui/windows/selldialog.cpp @@ -84,6 +84,7 @@ void SellDialog::init() mShopItems = new ShopItems(true); mShopItemList = new ShopListBox(this, mShopItems, mShopItems); + mShopItemList->postInit(); mShopItemList->setProtectItems(true); mScrollArea = new ScrollArea(mShopItemList, getOptionBool("showbackground"), "sell_background.xml"); diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 3b0f9e6c9..d1ec6f0df 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -272,6 +272,8 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo, mServerInfo(serverInfo), mPersistentIPCheckBox(nullptr) { + mServersList->postInit(); + if (isSafeMode) { // TRANSLATORS: servers dialog name diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 18ad32470..97edec99d 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -115,6 +115,9 @@ ShopWindow::ShopWindow(): mTradeNick(""), mTradeMoney(0) { + mBuyShopItemList->postInit(); + mSellShopItemList->postInit(); + setWindowName("Personal Shop"); setResizable(true); setCloseButton(true); diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 2eb1bbdaa..ffc76ae81 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -469,6 +469,7 @@ void SkillDialog::loadSkills() model->updateVisibilities(); listbox = new SkillListBox(this, model); + listbox->postInit(); listbox->setActionEventId("sel"); listbox->addActionListener(this); scroll = new ScrollArea(listbox, false); diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index e54d0bf55..74b01ef27 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -189,6 +189,7 @@ public: &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE)); mList = new AvatarListBox(this, guild); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -322,6 +323,7 @@ public: &getThemeColor(Theme::GUILD_SOCIAL_TAB_SELECTED_OUTLINE)); mList = new AvatarListBox(this, guild); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -389,6 +391,7 @@ public: &getThemeColor(Theme::PARTY_SOCIAL_TAB_SELECTED_OUTLINE)); mList = new AvatarListBox(this, party); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -537,6 +540,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -702,6 +706,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -1030,6 +1035,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -1076,6 +1082,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); @@ -1121,6 +1128,7 @@ public: mBeings(new BeingsListModal) { mList = new AvatarListBox(this, mBeings); + mList->postInit(); mScroll = new ScrollArea(mList, showBackground, "social_background.xml"); diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index bd46df9a1..3d9581164 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -91,6 +91,7 @@ WorldSelectDialog::WorldSelectDialog(Worlds worlds): // TRANSLATORS: world dialog button mChooseWorld(new Button(this, _("Choose World"), "world", this)) { + mWorldList->postInit(); ScrollArea *const worldsScroll = new ScrollArea(mWorldList, getOptionBool("showbackground"), "world_background.xml"); |