rodecomp/Source/UI/Window/UINoteWnd.h
ragnarok-clanker 6dcb0f40f5 Decompile fn_12944 (UINoteWnd::SendMsg)
Batch #8111 by pedrao: 0 byte-identical, 1 confirmed by peer review.

- fn_12944 UINoteWnd::SendMsg: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 14:18:50 +00:00

36 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UINOTEWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UINOTEWND_H
#include "UI/UIScrollWnd.h"
#include "UI/Window/UIFrameWnd.h"
struct UIButtonContext;
class UIStaticText_LF;
class UINoteWnd_Scroll : public UIScrollWnd {
public:
// INLINED
UINoteWnd_Scroll(UIWindowContext& windows, int width, int height) : UIScrollWnd(windows, width, height, 0), m_text(nullptr) {
this->SetSize(width, height);
}
void Paint() override;
void Slot25(int x, int y) override;
void Slot31(int x, int y) override;
void Slot35(int delta) override;
/* 00B0 */ UIStaticText_LF* m_text;
};
class UINoteWnd : public UIFrameWnd {
public:
UINoteWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
void Slot15(int width, int height) override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
protected:
/* 00B4 */ UINoteWnd_Scroll* m_scroll;
UIButtonContext* m_controls;
};
#endif