Batch #4088 by youko: 2 byte-identical, 7 confirmed by peer review. - fn_12712 UINewChatWnd::Slot27: logic confirmed by peer review - fn_12718 UIQuickSlotWnd::Slot19: byte-identical - fn_12719 UISeekPartyWnd::Slot19: logic confirmed by peer review - fn_12721 UIHotKeyWnd::Slot32: byte-identical - fn_12726 UIBattleMsgOptionWnd::Slot35: logic confirmed by peer review - fn_12727 UISeekPartyListWnd::Slot35: logic confirmed by peer review - fn_12734 UIHotKeyWnd::UpdatePageButtons: logic confirmed by peer review - fn_12737 UINewChatWnd::Resize: logic confirmed by peer review - fn_12741 CUICollectionSystemWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, superintelligence, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Window/UICollectionSystemWnd.cpp
21 lines
454 B
C++
21 lines
454 B
C++
#include "UI/Window/UIBattleMsgOptionWnd.h"
|
|
|
|
#include "Contents/MessageTable.h"
|
|
#include "UI/Lists/UIScrollBar.h"
|
|
|
|
// OFFSET: 0x009335E0
|
|
// FUNCTION: fn_12726
|
|
void UIBattleMsgOptionWnd::Slot35(int delta) {
|
|
if (this->m_scrollable != 0) {
|
|
int step = this->m_visibleRows - 1;
|
|
if (step > 3) {
|
|
step = 3;
|
|
}
|
|
if (delta >= 0) {
|
|
step = -step;
|
|
}
|
|
this->SendMsg(this->m_scrollBar, 7, step, 0, 0, 0);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00910C40
|