Decompile fn_10394 (UISwapEquipmentWnd::Slot15)
Batch #5193 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_10394 UISwapEquipmentWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: meitogi, alisonrag, OvoKore, Bruwuno 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
3f308ea123
commit
ebc4a46e76
1 changed files with 21 additions and 0 deletions
|
|
@ -124,6 +124,27 @@ ITEM_INFO UISwapEquipmentWnd::GetSlotItem(int slot) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00830760
|
||||
// FUNCTION: fn_10394
|
||||
void UISwapEquipmentWnd::Slot15(int width, int height) {
|
||||
this->m_swapButton = new (std::nothrow) UISwapBitmapButton(*this->m_context, *this->m_controls);
|
||||
this->m_swapButton->SetBitmap("유저인터페이스\\swap_equipment\\btn_change2_normal.bmp", 0, 0);
|
||||
this->m_swapButton->SetBitmap("유저인터페이스\\swap_equipment\\btn_change2_over.bmp", 1, 0);
|
||||
this->m_swapButton->SetBitmap("유저인터페이스\\swap_equipment\\btn_change2_press.bmp", 2, 0);
|
||||
this->m_swapButton->SetSize(this->m_swapButton->BitmapWidth(), this->m_swapButton->BitmapHeight());
|
||||
UISwapBitmapButton* button = this->m_swapButton;
|
||||
const std::string label = LookupMessage(0xC27);
|
||||
button->label = label;
|
||||
this->m_swapButton->m_textColor = 0x172842;
|
||||
this->m_swapButton->Move(0x51, 0x9B);
|
||||
this->m_swapButton->SetId(0x1FC);
|
||||
this->AddChild(this->m_swapButton);
|
||||
|
||||
UIBasicButton* close = new (std::nothrow) UIBasicButton(*this->m_context, *this->m_controls);
|
||||
close->Configure(0x32, LookupMessage(0xDA));
|
||||
close->Move(0xE0, 0x9B);
|
||||
close->SetId(0xB9);
|
||||
this->AddChild(close);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00830970
|
||||
// FUNCTION: fn_10395
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue