rodecomp/Source/UI/CashEmotion/UICashEmotionMiniWnd.h
ragnarok-clanker c924c86410 Decompile fn_12732 (UINewChatWnd::ApplyInputLayout)
Batch #10365 by dori: 0 byte-identical, 1 confirmed by peer review.

- fn_12732 UINewChatWnd::ApplyInputLayout: logic confirmed by peer review

Peer-reviewed-by: willerthal, KWDev, cremane
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-03 20:49:17 +00:00

42 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_CASHEMOTION_UICASHEMOTIONMINIWND_H
#define RAGNAROK_SOURCE_UI_CASHEMOTION_UICASHEMOTIONMINIWND_H
#include "UI/Window/UIWindow.h"
#include <array>
class CashEmotionCommand;
class ICashEmotionAction;
class UICashEmotionPiece;
class UIBitmapButton;
class UICashEmotionMiniWnd : public UIWindow {
public:
UICashEmotionMiniWnd();
~UICashEmotionMiniWnd() override;
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;
unsigned int Select(int actionId);
void Select(CashEmotionCommand* command);
void Previous();
void Refresh(int first);
void Next();
void SetIndex(int index);
protected:
/* 007C */ CashEmotionCommand* m_selected;
/* 0080 */ std::array<UICashEmotionPiece*, 3> m_pieces;
/* 008C */ UIBitmapButton* m_previous;
/* 0090 */ UIBitmapButton* m_next;
/* 0094 */ ICashEmotionAction* m_action;
/* 0098 */ int m_page;
/* 009C */ int m_selectedIndex;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(UICashEmotionMiniWnd) == 0xA0);
#endif
#endif