Decompile 2 functions in Source/UI/SelectPackageItemBox/UISelectPackageItemBox.cpp
Batch #5196 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_16662 CUIListBoxEx<SelectPackageItemBox::CUIItemInfo,ITEM_INFO>::Slot15: logic confirmed by peer review - fn_16663 CUIListBoxEx<SelectPackageItemBox::CUITabInfo,SelectPackageItemBox::CTabInfoData>::Slot15: logic confirmed by peer review Peer-reviewed-by: meitogi, alisonrag, SapitoSucio 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
707b9b34b0
commit
fc433ab7c1
1 changed files with 25 additions and 0 deletions
|
|
@ -47,6 +47,31 @@ void CUISelectPackageItemBox::Slot53() {
|
|||
this->m_buttonBarStyle = 3;
|
||||
}
|
||||
|
||||
template <>
|
||||
void CUIListBoxEx<SelectPackageItemBox::CUIItemInfo, ITEM_INFO>::OnScroll(int position);
|
||||
template <>
|
||||
void CUIListBoxEx<SelectPackageItemBox::CUITabInfo, SelectPackageItemBox::CTabInfoData>::OnScroll(int position);
|
||||
|
||||
// OFFSET: 0x00A695F0
|
||||
// FUNCTION: fn_16662
|
||||
template <>
|
||||
void CUIListBoxEx<SelectPackageItemBox::CUIItemInfo, ITEM_INFO>::Slot15(int width, int height) {
|
||||
this->scrollBar = new CUIVScrollBar(*this->m_context);
|
||||
this->scrollBar->Show(0);
|
||||
this->scrollBar->SetOnChange([this](int position) { this->OnScroll(position); });
|
||||
this->AddChild(this->scrollBar);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A696C0
|
||||
// FUNCTION: fn_16663
|
||||
template <>
|
||||
void CUIListBoxEx<SelectPackageItemBox::CUITabInfo, SelectPackageItemBox::CTabInfoData>::Slot15(int width, int height) {
|
||||
this->scrollBar = new CUIVScrollBar(*this->m_context);
|
||||
this->scrollBar->Show(0);
|
||||
this->scrollBar->SetOnChange([this](int position) { this->OnScroll(position); });
|
||||
this->AddChild(this->scrollBar);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A6D060
|
||||
// FUNCTION: fn_16666
|
||||
template <>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue