Decompile 4 functions in Source/UI/Lists/UIScrollBar.cpp, Source/UI/Buttons/UITextButton.cpp, ...
Batch #4232 by eAthena: 0 byte-identical, 4 confirmed by peer review. - fn_11527 UIChatHisBox::Resize: logic confirmed by peer review - fn_11528 UIComboBox::Resize: logic confirmed by peer review - fn_11541 UIBmpRadioBtn::SendMsg: logic confirmed by peer review - fn_11542 UIChatHisBox::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, 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
17d76dd573
commit
171e2e078d
5 changed files with 51 additions and 0 deletions
|
|
@ -561,6 +561,30 @@ void UIItemMoveInfo::Slot48() {
|
|||
this->Invalidate();
|
||||
}
|
||||
|
||||
// OFFSET: 0x008974A0
|
||||
// FUNCTION: fn_11528
|
||||
void UIComboBox::Resize(int width, int height) {
|
||||
UIListBox::Resize(width, height);
|
||||
this->topLine = 0;
|
||||
this->verticalBar->position = this->topLine;
|
||||
if (this->verticalOverflow) {
|
||||
this->verticalBar->Move(width - 13, 0);
|
||||
this->verticalBar->Invalidate();
|
||||
} else {
|
||||
this->verticalBar->Move(width - 13, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00897BF0
|
||||
// FUNCTION: fn_11541
|
||||
int UIBmpRadioBtn::SendMsg(UIWindow*, int message, std::intptr_t argument1, std::intptr_t, std::intptr_t, std::intptr_t) {
|
||||
if (message == 13) {
|
||||
this->geometry.unknown_0030 = static_cast<std::uint32_t>(argument1);
|
||||
this->Invalidate();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00892060
|
||||
// FUNCTION: fn_11463
|
||||
void UIComboBox::Slot27(int x, int y) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue