rodecomp/Source/UI/Window/UINoticeWnd.h
ragnarok-clanker 6130e8aac9 Decompile 2 functions in Source/UI/Window/UILoginWnd.cpp, Source/UI/Window/UILoginWnd.h, ...
Batch #6224 by eAthena: 0 byte-identical, 2 confirmed by peer review.

- fn_11794 UILoginWnd::OpenWebPage: logic confirmed by peer review
- fn_11795 UINoticeWnd::LoadNotice: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, gordaoprogramas
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/UILoginWnd.cpp, Source/UI/Window/UINoticeWnd.cpp
2026-10-30 20:10:01 +00:00

32 lines
834 B
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UINOTICEWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UINOTICEWND_H
#include "UI/Window/UIFrameWnd.h"
class UINoticeWnd : public UIFrameWnd {
public:
UINoticeWnd(UIWindowContext& windows, UIFrameContext& frames);
void Slot18() override;
void Paint() override;
void Slot28(int x, int y) override;
void Slot35(int delta) override;
void LoadNotice();
/* 00B4 */ UIStaticText* m_texts[19];
/* 0100 */ unsigned char unknown_0100[0x08];
/* 0108 */ int unknown_0108;
/* 010C */ int unknown_010C;
/* 0110 */ const char* m_patchFile;
/* 0114 */ int m_noticeCount;
/* 0118 */ int m_index;
/* 011C */ int m_scrollPositions[10];
/* 0144 */ int m_bottomPositions[10];
/* 016C */ int m_scroll;
/* 0170 */ UIWindow* m_scrollBar;
protected:
UIButtonContext* m_controls;
};
#endif