Batch #6069 by System4z: 0 byte-identical, 1 confirmed by peer review. - fn_13205 UIKeyStrokeWnd::Paint: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, Lumen, superintelligence, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_EDIT_UICANDIDATEWND_H
|
|
#define RAGNAROK_SOURCE_UI_EDIT_UICANDIDATEWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <string>
|
|
|
|
struct UIButtonContext;
|
|
|
|
class UICandidateWnd : public UIFrameWnd {
|
|
public:
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
|
|
protected:
|
|
/* 00B4 */ std::string m_candidates[9];
|
|
/* 018C */ int m_selection;
|
|
/* 0190 */ int m_page;
|
|
/* 0194 */ int m_lastPage;
|
|
/* 0198 */ int m_count;
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
class UICompositionWnd : public UIFrameWnd {
|
|
public:
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
|
|
protected:
|
|
/* 00B4 */ std::string m_text;
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
class UIKeyStrokeWnd : public UIFrameWnd {
|
|
public:
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
};
|
|
|
|
#endif
|