rodecomp/Source/UI/Window/UINoteWnd.cpp
ragnarok-clanker c59545e35d Decompile 2 functions in Source/UI/Window/UINoteWnd.cpp, Source/UI/Window/UINoteWnd.h, ...
Batch #4835 by youko: 2 byte-identical, 0 confirmed by peer review.

- fn_12902 UIBalloonOpenBtn::Paint: byte-identical
- fn_12908 UINoteWnd_Scroll::Paint: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/UI/Window/UIAccountLimitedToolWnd.cpp, Source/UI/Window/UIBalloonOpenBtn.cpp
2026-10-30 05:12:08 +00:00

39 lines
835 B
C++

#include "UI/Window/UINoteWnd.h"
#include "UI/Lists/UIScrollBar.h"
#include "UI/Window/WindowBorder.h"
// OFFSET: 0x0094D870
// OFFSET: 0x0094D8E0
// FUNCTION: fn_12908
void UINoteWnd_Scroll::Paint() {
this->ClearSurface(0xF7F7F7);
}
// OFFSET: 0x0094EE80
// FUNCTION: fn_12919
void UINoteWnd_Scroll::Slot25(int x, int y) {
if (this->parent) {
this->parent->Slot25(x + 23, y + 27);
}
}
// OFFSET: 0x0094EF80
// FUNCTION: fn_12924
void UINoteWnd_Scroll::Slot31(int x, int y) {
if (this->parent) {
this->parent->Slot31(x + 23, y + 27);
}
}
// OFFSET: 0x0094F2C0
// FUNCTION: fn_12935
void UINoteWnd_Scroll::Slot35(int delta) {
if (this->wheelScroll == 1) {
if (delta < 0) {
this->SendMsg(this->scrollBar, 7, 12, 0, 0, 0);
} else {
this->SendMsg(this->scrollBar, 7, -12, 0, 0, 0);
}
}
}