rodecomp/Source/UI/Dialogs/UINpcEditDialogWnd.h
ragnarok-clanker f24910881d Decompile fn_11962 (UINpcTextEditDialogWnd::UINpcTextEditDialogWnd)
Batch #8096 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_11962 UINpcTextEditDialogWnd::UINpcTextEditDialogWnd: logic confirmed by peer review

Peer-reviewed-by: Yommy, secret, pedrao
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 14:15:18 +00:00

40 lines
1,002 B
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);
/* 00BC */ UIItemTagOnMegaPhone* m_tagCtrl;
};
#endif