Batch #7179 by aDw: 0 byte-identical, 1 confirmed by peer review. - fn_11752 UITalkboxTrapInputWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
35 lines
860 B
C++
35 lines
860 B
C++
#ifndef RAGNAROK_SOURCE_UI_WINDOW_UITALKBOXTRAPINPUTWND_H
|
|
#define RAGNAROK_SOURCE_UI_WINDOW_UITALKBOXTRAPINPUTWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
class UIEditCtrl;
|
|
struct UIEditContext;
|
|
|
|
struct TalkboxTrapTarget {
|
|
/* 0000 */ int unknown_0000;
|
|
/* 0004 */ int unknown_0004;
|
|
/* 0008 */ int unknown_0008;
|
|
/* 000C */ int unknown_000C;
|
|
};
|
|
|
|
struct TalkboxTrapRequest {
|
|
/* 0000 */ TalkboxTrapTarget target;
|
|
/* 0010 */ const char* text;
|
|
};
|
|
|
|
class UITalkboxTrapInputWnd : public UIFrameWnd {
|
|
public:
|
|
void Slot15(int width, int height) 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;
|
|
|
|
/* 00B4 */ TalkboxTrapTarget target;
|
|
/* 00C4 */ UIEditCtrl* edit;
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
UIEditContext* m_editContext;
|
|
};
|
|
|
|
#endif
|