diff --git a/Source/Contents/Messenger/MessengerMember.cpp b/Source/Contents/Messenger/MessengerMember.cpp index 714a1683..e76bcec0 100644 --- a/Source/Contents/Messenger/MessengerMember.cpp +++ b/Source/Contents/Messenger/MessengerMember.cpp @@ -125,6 +125,7 @@ public: void Slot31(int x, int y) override; void Slot35(int delta) override; MessengerMember MemberAt(int x, int y); + void OpenMiniPartyWnd(int cell, const MessengerMember& member); MessengerMember MemberAtIndex(int index); void UpdateScroll(); void LayoutButtons(); @@ -684,6 +685,17 @@ MessengerMember UIMessengerGroupWnd::MemberAt(int x, int y) { return MessengerMember(0); } +// OFFSET: 0x0073A330 +// FUNCTION: fn_07703 +void UIMessengerGroupWnd::OpenMiniPartyWnd(int cell, const MessengerMember& member) { + UIMiniPartyWnd* window = new UIMiniPartyWnd(*this->m_context, *this->m_frameContext); + window->SetSize(174, 52); + window->m_cell = cell; + g_windowMgr.AddMiniPartyWindow(window); + window->SendMsg(nullptr, 0x17, reinterpret_cast(&member), 0, 0, 0); + g_session.AddRecord0734(member.accountId, cell); +} + // OFFSET: 0x0073A540 // FUNCTION: fn_07705 MessengerMember UIMessengerGroupWnd::MemberAtIndex(int index) { diff --git a/Source/UI/Edit/UIEditCtrl.cpp b/Source/UI/Edit/UIEditCtrl.cpp index 7506dc82..3dadcfbb 100644 --- a/Source/UI/Edit/UIEditCtrl.cpp +++ b/Source/UI/Edit/UIEditCtrl.cpp @@ -2448,6 +2448,18 @@ void UIMerchantItemShopWnd::StartTimer(std::uint32_t value) { this->SendMsg(nullptr, 14, 3, this->geometry.width, this->geometry.height, 0); } +// OFFSET: 0x009970A0 +// FUNCTION: fn_13479 +void UIItemStoreFindWnd::SetTitle(std::string title) { + this->title->SetTextFitted(title.c_str()); +} + +// OFFSET: 0x00997100 +// FUNCTION: fn_13480 +void UIItemStoreSubWnd::SetTitle(std::string title) { + this->title->SetTextFitted(title.c_str()); +} + // OFFSET: 0x009971E0 // FUNCTION: fn_13483 void UIItemStoreFindWnd::SetSearchText(std::string text) { diff --git a/Source/UI/Item/UIItemStoreFindWnd.h b/Source/UI/Item/UIItemStoreFindWnd.h index 48897b89..7ade01c9 100644 --- a/Source/UI/Item/UIItemStoreFindWnd.h +++ b/Source/UI/Item/UIItemStoreFindWnd.h @@ -22,6 +22,7 @@ public: void Slot35(int value) override; __declspec(noinline) ITEM_INFO GetItemAt(int x, int y); + void SetTitle(std::string title); void SetSearchText(std::string text); void Slot15(int width, int height) override; diff --git a/Source/UI/Item/UIItemStoreSubWnd.h b/Source/UI/Item/UIItemStoreSubWnd.h index 267bc58d..99f9bbfb 100644 --- a/Source/UI/Item/UIItemStoreSubWnd.h +++ b/Source/UI/Item/UIItemStoreSubWnd.h @@ -5,6 +5,7 @@ #include "UI/Item/UIItemBaseWnd.h" #include +#include class UIResizer; class UIStaticText; @@ -21,6 +22,7 @@ public: __declspec(noinline) ITEM_INFO GetItemAt(int x, int y); void SetTabIndex(int index); + void SetTitle(std::string title); bool Sort1(); bool Sort2(); bool Sort3(); diff --git a/Source/UI/Quest/UIRenewQuestWnd.cpp b/Source/UI/Quest/UIRenewQuestWnd.cpp index 1f9bf961..9a8c95b6 100644 --- a/Source/UI/Quest/UIRenewQuestWnd.cpp +++ b/Source/UI/Quest/UIRenewQuestWnd.cpp @@ -484,6 +484,13 @@ void UIRenewDetailQuestInfoWnd::SetQuest(unsigned int questId, bool recommended) this->Invalidate(); } +// OFFSET: 0x007FBF60 +// FUNCTION: fn_09966 +UIRenewQuestScrollBar::UIRenewQuestScrollBar(UIWindowContext& windows) : UIScrollBar(windows) { + this->arrowLength = 3; + this->thickness = 7; +} + // OFFSET: 0x007FBFD0 // FUNCTION: fn_09967 UIRenewQuestWnd::UIRenewQuestWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls) diff --git a/Source/UI/Quest/UIRenewQuestWnd.h b/Source/UI/Quest/UIRenewQuestWnd.h index 98e98fa7..3e5a4393 100644 --- a/Source/UI/Quest/UIRenewQuestWnd.h +++ b/Source/UI/Quest/UIRenewQuestWnd.h @@ -99,10 +99,7 @@ protected: class UIRenewQuestScrollBar : public UIScrollBar { public: - explicit UIRenewQuestScrollBar(UIWindowContext& windows) : UIScrollBar(windows) { - this->arrowLength = 3; - this->thickness = 7; - } + explicit UIRenewQuestScrollBar(UIWindowContext& windows); void Paint() override; }; diff --git a/Source/UI/Text/UIAchWnd.cpp b/Source/UI/Text/UIAchWnd.cpp index 5e4c3c08..ea1c97cb 100644 --- a/Source/UI/Text/UIAchWnd.cpp +++ b/Source/UI/Text/UIAchWnd.cpp @@ -46,6 +46,11 @@ UIAchievementWnd::UIAchievementWnd(UIWindowContext& windows, UIFrameContext& fra : UIFrameWnd(windows, frame, 0), upper(nullptr), tab(nullptr), list(nullptr), group(0), sub(-1), m_controls(&controls) { } +// OFFSET: 0x007B2E80 +// FUNCTION: fn_09192 +UIAchievementWnd::~UIAchievementWnd() { +} + // OFFSET: 0x007B32B0 // OFFSET: 0x007B37F0 diff --git a/Source/UI/Text/UIAchWnd.h b/Source/UI/Text/UIAchWnd.h index 024e4f74..288aad3e 100644 --- a/Source/UI/Text/UIAchWnd.h +++ b/Source/UI/Text/UIAchWnd.h @@ -245,6 +245,7 @@ private: class UIAchievementWnd : public UIFrameWnd { public: UIAchievementWnd(UIWindowContext& windows, UIFrameContext& frame, UIButtonContext& controls); + ~UIAchievementWnd() override; /* 00B4 */ UIAchUpperWnd* upper; /* 00B8 */ UIAchTab* tab;