Maintenance: [forced, user-approved] Family D5: remove UITextViewerContext and TextViewerActions entirely. UITextViewer ctor 0x86F0A0

Batch #10206 by ragnarok-clanker: forced by an admin (4 lower score(s), 20 changed function(s)); checked with 36 compiled unit(s), including every includer of Source/UI/Acceptance/UIJoinPartyAcceptWnd.h, Source/UI/Dialogs/UIBookWnd.h, Source/UI/Dialogs/UIDisconnectedServerMsgWnd.h, Source/UI/Dialogs/UINoticeConfirmWnd.h, Source/UI/Dialogs/UIWaitWnd.h, Source/UI/EntryQueue/UIEntryQueueWnd.h, Source/UI/Party/UIRequestJoinPartyWnd.h, Source/UI/Text/UITextViewer.h, Source/UI/Window/UIAccountLimitedToolWnd.h, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UINavigationHelpWnd.h, Source/UI/Window/UINormalMB.h, Source/UI/Window/UIPartyBookingHelpWnd.h.
This commit is contained in:
ragnarok-clanker 2026-11-02 22:23:07 +00:00
commit cc8a43db9f
23 changed files with 56 additions and 90 deletions

View file

@ -108,8 +108,6 @@ UIEntryQueueRequestWnd::UIEntryQueueRequestWnd(UIWindowContext& windows, UIEntry
// OFFSET: 0x00BA48E0
// FUNCTION: fn_19691
bool UIEntryQueueRequestWnd::Create() {
auto& text = this->m_entryQueue->text;
this->Resize(300, 250);
this->AddBaseButton();
this->AddCloseButton("", 0);
@ -118,7 +116,7 @@ bool UIEntryQueueRequestWnd::Create() {
this->Slot22(300, 250);
this->Move((g_renderer->viewport.width - 640) / 2 + 185, (g_renderer->viewport.height - 480) / 2 + 180);
this->m_viewer = new UITextViewer(*this->m_context, text);
this->m_viewer = new UITextViewer(*this->m_context);
this->m_viewer->Configure(10, 22, 280, 305, 0);
unsigned red, green, blue;
SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue);
@ -238,8 +236,6 @@ UIEntryQueueStandByWnd::UIEntryQueueStandByWnd(UIWindowContext& windows, UIEntry
// OFFSET: 0x00BA5700
// FUNCTION: fn_19698
bool UIEntryQueueStandByWnd::Create() {
auto& text = this->m_entryQueue->text;
this->Resize(280, 120);
this->AddBaseButton();
this->SetSize(280, 120);
@ -247,7 +243,7 @@ bool UIEntryQueueStandByWnd::Create() {
this->Slot22(280, 120);
this->Move((g_renderer->viewport.width - 640) / 2 + 185, (g_renderer->viewport.height - 480) / 2 + 180);
this->m_viewer = new UITextViewer(*this->m_context, text);
this->m_viewer = new UITextViewer(*this->m_context);
this->m_viewer->Configure(10, 22, 260, 65, 0);
unsigned red, green, blue;
SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue);
@ -636,11 +632,9 @@ void UIEntryQueueWnd::Slot11() {
// OFFSET: 0x00BA3A50
// FUNCTION: fn_19679
void UIEntryQueueHelpWnd::Slot15(int width, int height) {
auto& text = this->m_entryQueue->text;
this->Resize(280, 280);
this->m_viewer = new UITextViewer(*this->m_context, text);
this->m_viewer = new UITextViewer(*this->m_context);
this->m_viewer->Configure(10, 22, 270, 225, 0);
unsigned red, green, blue;
SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue);