From ee040f5172b224af0627c8f6568c3e1757abe504 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 02:39:09 +0000 Subject: [PATCH] Decompile 3 functions in Source/UI/Acceptance/UIChooseSellBuyWnd.cpp, Source/UI/Acceptance/UIExchangeAcceptWnd.cpp, ... Batch #17713 by eAthena: 0 byte-identical, 3 confirmed by peer review. - fn_12880 UINormalMB::Create: logic confirmed by peer review - fn_13065 UIGuildTipWnd::OnCreate: logic confirmed by peer review - fn_19698 UIEntryQueueStandByWnd::Create: logic confirmed by peer review Peer-reviewed-by: Yommy, cremane, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Dialogs/UINormalMB.cpp | 3 +-- Source/UI/EntryQueue/UIEntryQueueWnd.cpp | 3 +-- Source/UI/Guild/UIGuildHelperWnd.cpp | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Source/UI/Dialogs/UINormalMB.cpp b/Source/UI/Dialogs/UINormalMB.cpp index dc9f7d0e4..c4863d12d 100644 --- a/Source/UI/Dialogs/UINormalMB.cpp +++ b/Source/UI/Dialogs/UINormalMB.cpp @@ -102,8 +102,7 @@ void UINormalMB::Create(UIWindow* owner, const char* text, int type, bool defaul this->m_viewer->Configure(inset + 10, 22, width - inset - 20, height - 55, 0); unsigned red, green, blue; SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue); - this->m_viewer->backgroundColor = RGB(red, green, blue) | 0xFF000000u; - this->m_viewer->Invalidate(); + this->m_viewer->SetBackgroundColor(RGB(red, green, blue) | 0xFF000000u); this->AddChild(this->m_viewer); this->m_viewer->SendMsg(nullptr, UM_SETTEXT, reinterpret_cast(this->m_message.c_str()), static_cast(width / 7.5), 0, 0); diff --git a/Source/UI/EntryQueue/UIEntryQueueWnd.cpp b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp index 0e0d33b16..51a7ece29 100644 --- a/Source/UI/EntryQueue/UIEntryQueueWnd.cpp +++ b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp @@ -254,8 +254,7 @@ bool UIEntryQueueStandByWnd::Create() { this->m_viewer->Configure(10, 22, 260, 65, 0); unsigned red, green, blue; SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue); - this->m_viewer->backgroundColor = 0xFF000000u | (blue << 16) | (green << 8) | red; - this->m_viewer->Invalidate(); + this->m_viewer->SetBackgroundColor(0xFF000000u | RGB(red, green, blue)); this->AddChild(this->m_viewer); const std::string path = "유저인터페이스\\"; diff --git a/Source/UI/Guild/UIGuildHelperWnd.cpp b/Source/UI/Guild/UIGuildHelperWnd.cpp index 56134783c..b1ea6765c 100644 --- a/Source/UI/Guild/UIGuildHelperWnd.cpp +++ b/Source/UI/Guild/UIGuildHelperWnd.cpp @@ -400,8 +400,7 @@ void UIGuildTipWnd::OnCreate(int width, int height) { unsigned int green; unsigned int blue; SkinPaletteChannels(ResourceMgr::Instance(), 2, 2, red, green, blue); - this->m_textViewer->backgroundColor = 0xFF000000 | RGB(red, green, blue); - this->m_textViewer->Invalidate(); + this->m_textViewer->SetBackgroundColor(0xFF000000 | RGB(red, green, blue)); this->AddChild(this->m_textViewer); if (!g_guildTip.m_bTryLoading) {