Batch #8618 by youko: 0 byte-identical, 2 confirmed by peer review. - fn_09882 UIPreviewEquipWnd::Slot15: logic confirmed by peer review - fn_09879 UIPreviewEquipWnd::UIPreviewEquipWnd: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Tanke, aDw Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
35 lines
1 KiB
C++
35 lines
1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_UIPREVIEWEQUIPWND_H
|
|
#define RAGNAROK_SOURCE_UI_UIPREVIEWEQUIPWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
class CCharacterRender;
|
|
class UIBasicButton;
|
|
class UIBitmapButton;
|
|
struct PreviewEquipWndInfo;
|
|
struct UIButtonContext;
|
|
|
|
class UIPreviewEquipWnd : public UIFrameWnd {
|
|
public:
|
|
UIPreviewEquipWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
|
|
~UIPreviewEquipWnd() override;
|
|
void Slot11() override;
|
|
void Paint() override;
|
|
void Slot15(int width, int height) override;
|
|
void Slot19() 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 DrawCharacter();
|
|
void RefreshHeadgearLocations();
|
|
void SyncFromPlayer();
|
|
|
|
/* 00B4 */ PreviewEquipWndInfo* saved;
|
|
/* 00B8 */ CCharacterRender* m_render;
|
|
/* 00BC */ UIBitmapButton* m_leftButton;
|
|
/* 00C0 */ UIBitmapButton* m_rightButton;
|
|
/* 00C4 */ UIBasicButton* unknown_00C4;
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
#endif
|