rodecomp/Source/UI/Status/UIStatusWnd.h
ragnarok-clanker 461569f9a9 Decompile fn_12253 (UIStatusWnd::Paint)
Batch #10031 by codeplay: 0 byte-identical, 1 confirmed by peer review.

- fn_12253 UIStatusWnd::Paint: logic confirmed by peer review

Peer-reviewed-by: gordaoprogramas, willerthal, cremane
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-02 14:35:51 +00:00

39 lines
1.1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_STATUS_UISTATUSWND_H
#define RAGNAROK_SOURCE_UI_STATUS_UISTATUSWND_H
#include "UI/Window/UIFrameWnd.h"
struct UIButtonContext;
struct StatusWndInfo;
class UIBitmapButton;
class UIBmpTextButton;
class UIStatusWnd : public UIFrameWnd {
public:
UIStatusWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
/* 00B4 */ UIBitmapButton* m_statButtons[6];
/* 00CC */ int m_expandedHeight;
/* 00D0 */ StatusWndInfo* m_info;
/* 00D4 */ int m_titleHeight;
/* 00D8 */ int m_offsetY;
/* 00DC */ int m_offsetX;
/* 00E0 */ UIBitmapButton* m_extendedButtons[6];
/* 00F8 */ UIBmpTextButton* m_expandButton;
/* 00FC */ unsigned char m_extended;
bool Slot03() override;
void Slot11() override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
void Slot15(int width, int height) override;
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot28(int x, int y) override;
void ValidatePlacement();
protected:
UIButtonContext* m_controls;
};
#endif