rodecomp/Source/UI/Dialogs/UINpcEditDialogWnd.h
ragnarok-clanker 9c1c7dadbd Decompile fn_12238 (UINpcTextEditDialogWnd::Paint)
Batch #9372 by secret: 0 byte-identical, 1 confirmed by peer review.

- fn_12238 UINpcTextEditDialogWnd::Paint: logic confirmed by peer review

Peer-reviewed-by: gordaoprogramas, Montyla, Bielhp
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-01 09:25:13 +00:00

41 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_DIALOGS_UINPCEDITDIALOGWND_H
#define RAGNAROK_SOURCE_UI_DIALOGS_UINPCEDITDIALOGWND_H
#include "UI/Window/UIFrameWnd.h"
struct UIButtonContext;
class UIEditCtrl;
class UIItemTagOnMegaPhone;
struct ITEM_INFO;
struct UIEditContext;
class UINpcEditDialogWnd : public UIFrameWnd {
public:
UINpcEditDialogWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
void Paint() override;
void Slot15(int width, int height) override;
protected:
UIButtonContext* m_controls;
public:
/* 00B4 */ UIEditCtrl* edit;
/* 00B8 */ int unknown_00B8;
protected:
UIEditContext* m_editContext;
};
class UINpcTextEditDialogWnd : public UINpcEditDialogWnd {
public:
UINpcTextEditDialogWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
void Slot15(int width, int height) override;
void InsertItemTag(const ITEM_INFO& item);
void InsertSkillTag(int tagId);
void Paint() override;
/* 00BC */ UIItemTagOnMegaPhone* m_tagCtrl;
};
#endif