Decompile fn_15035 (CUIEquipmentPropertiesWnd::Slot15)
Batch #14633 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_15035 CUIEquipmentPropertiesWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay 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
5b61e6f90c
commit
0910593ee1
1 changed files with 5 additions and 1 deletions
|
|
@ -554,7 +554,11 @@ void CUIEquipmentPropertiesWnd::Slot15(int width, int height) {
|
|||
this->tabs = new CUITab();
|
||||
this->tabs->SetSize(18, 265);
|
||||
this->tabs->Move(3, 18);
|
||||
this->tabs->SetOnChange([this](CUITabButton* button) { this->OnChangeTab(button); });
|
||||
{
|
||||
CUITab* tabs = this->tabs;
|
||||
const std::function<void(CUITabButton*)> handler = [this](CUITabButton* button) { this->OnChangeTab(button); };
|
||||
tabs->onChange = handler;
|
||||
}
|
||||
this->AddChild(this->tabs);
|
||||
|
||||
CUITabButton* allButton = new CUITabButton();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue