rodecomp/Source/UI/Window/UIChangeNameWnd.h
ragnarok-clanker 8cbbea0552 Decompile fn_12516 (UIMiniBtnWnd::UIMiniBtnWnd)
Batch #7694 by secret: 0 byte-identical, 1 confirmed by peer review.

- fn_12516 UIMiniBtnWnd::UIMiniBtnWnd: logic confirmed by peer review

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

26 lines
673 B
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UICHANGENAMEWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UICHANGENAMEWND_H
#include "UI/Window/UIFrameWnd.h"
struct UIButtonContext;
class UIBitmapButton;
class UIBitmapEditCtrl;
class UIChangeNameWnd : public UIFrameWnd {
public:
UIChangeNameWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
void Slot15(int width, int height) override;
void Paint() override;
int IsNameWithinLimit(std::string name, int limit);
protected:
UIButtonContext* m_controls;
public:
/* 00B4 */ UIBitmapButton* m_okButton;
/* 00B8 */ UIBitmapButton* m_cancelButton;
/* 00BC */ UIBitmapEditCtrl* m_edit;
};
#endif