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).
This commit is contained in:
parent
e31205e4b9
commit
ee040f5172
3 changed files with 3 additions and 6 deletions
|
|
@ -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<std::intptr_t>(this->m_message.c_str()), static_cast<int>(width / 7.5), 0, 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = "유저인터페이스\\";
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue