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) {