Batch #7993 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_13177 UIIllustWnd::UIIllustWnd: logic confirmed by peer review - fn_13178 UIMultiIllustWnd::UIMultiIllustWnd: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, secret, System4z, Tanke, pedrao Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
46 lines
1.4 KiB
C++
46 lines
1.4 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIILLUSTWND_H
|
|
#define RAGNAROK_SOURCE_UI_ITEMS_UIILLUSTWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <string>
|
|
|
|
struct UIButtonContext;
|
|
|
|
class UIIllustWnd : public UIFrameWnd {
|
|
public:
|
|
UIIllustWnd(UIWindowContext& windows, UIFrameContext& frames);
|
|
bool CanHitTest() override;
|
|
void Slot15(int width, int height) override;
|
|
void Slot18() override;
|
|
void Paint() override;
|
|
void Slot27(int x, int y) 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 */ int m_titled;
|
|
/* 00B8 */ int m_closable;
|
|
/* 00BC */ std::string m_bitmapName;
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
class UIMultiIllustWnd : public UIFrameWnd {
|
|
public:
|
|
UIMultiIllustWnd(UIWindowContext& windows, UIFrameContext& frames);
|
|
bool CanHitTest() override;
|
|
void Slot15(int width, int height) override;
|
|
void Slot18() override;
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot27(int x, int y) 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 */ int m_titled;
|
|
/* 00B8 */ int m_closable;
|
|
/* 00BC */ std::string m_bitmapName;
|
|
/* 00D4 */ int m_state;
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|