Decompile fn_15035 (CUIEquipmentPropertiesWnd::OnCreate)

Batch #18680 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_15035 CUIEquipmentPropertiesWnd::OnCreate: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, 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:
ragnarok-clanker 2026-11-12 18:00:19 +00:00
commit 065b9fde3a

View file

@ -359,8 +359,11 @@ void CUIEquipmentPropertiesWnd::OnCreate(int width, int height) {
this->list->SetOnSelect([this](EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine* line, const std::string& text) { this->OnSelectLine(line, text); });
this->list->SetBinder([this](EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine* line, const std::string& text) { this->BindLine(line, text); });
this->list->SetImages("", "", "", "");
this->list->itemX = 0;
this->list->itemY = 0;
{
auto* list = this->list;
list->itemX = 0;
list->itemY = 0;
}
this->list->scrollBar->SetSize(13, 270);
this->list->scrollBar->Move(265, 0);
this->list->scrollBar->step = 18;