Decompile fn_12683 (UISubChatMiniWnd::Paint)
Batch #5176 by zindokar: 0 byte-identical, 1 confirmed by peer review. - fn_12683 UISubChatMiniWnd::Paint: logic confirmed by peer review Peer-reviewed-by: eAthena, youko 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
b122c2599b
commit
72988372fc
1 changed files with 9 additions and 0 deletions
|
|
@ -597,6 +597,15 @@ void UIWindowCallBtnWnd::Paint() {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00930550
|
||||
// FUNCTION: fn_12683
|
||||
void UISubChatMiniWnd::Paint() {
|
||||
const char* firstName = g_subChatMiniFirstCollapsed ? "유저인터페이스\\basic_interface\\st_a.tga" : "유저인터페이스\\basic_interface\\st_b.tga";
|
||||
const auto* first = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(firstName)));
|
||||
const char* secondName = g_subChatMiniSecondCollapsed ? "유저인터페이스\\basic_interface\\bt_a.tga" : "유저인터페이스\\basic_interface\\bt_b.tga";
|
||||
const auto* second = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve(secondName)));
|
||||
this->DrawBitmap(0, 0, first ? &first->image : nullptr, false);
|
||||
this->DrawBitmap(this->m_rowHeight, 0, second ? &second->image : nullptr, false);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00931330
|
||||
// FUNCTION: fn_12701
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue