rodecomp/Source/UI/Window/UIChangeNameWnd.h
ragnarok-clanker 3dba56739e Decompile fn_12637 (UIChangeNameWnd::Slot15)
Batch #7372 by gordaoprogramas: 0 byte-identical, 1 confirmed by peer review.

- fn_12637 UIChangeNameWnd::Slot15: logic confirmed by peer review

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

25 lines
577 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:
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