Batch #4221 by bigodeira: 0 byte-identical, 1 confirmed by peer review. - fn_13136 UIListBoxAgitMenu::SendMsg: logic confirmed by peer review Peer-reviewed-by: willerthal, KWDev, Millenium, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_GUILD_UIAGITWND_H
|
|
#define RAGNAROK_SOURCE_UI_GUILD_UIAGITWND_H
|
|
|
|
#include "UI/Lists/UIListBox.h"
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
|
|
struct UIButtonContext;
|
|
struct WindowResponseRecorder;
|
|
|
|
struct UIAgitMessageBoxContext {
|
|
UIButtonContext& buttons;
|
|
WindowResponseRecorder& recorder;
|
|
};
|
|
|
|
class UIAgitMessageBox : public UIFrameWnd {
|
|
public:
|
|
UIAgitMessageBox();
|
|
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;
|
|
void sub_956130(const char* text);
|
|
|
|
/* 00B4 */ std::uint16_t m_agitId;
|
|
UIAgitMessageBoxContext* m_dialog;
|
|
};
|
|
|
|
class UIListBoxAgit : public UIListBox {
|
|
public:
|
|
void Slot15(int width, int height) override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot32(int x, int y) override;
|
|
};
|
|
|
|
class UIListBoxAgitMenu : public UIListBox {
|
|
public:
|
|
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;
|
|
void Slot25(int x, int y) override;
|
|
void Slot28(int x, int y) override;
|
|
|
|
/* 00D4 */ int m_agitIndex;
|
|
};
|
|
|
|
#endif
|