Batch #1607 by ragnarok-clanker: 0 byte-identical, 41 confirmed by peer review. - fn_11718 DrawItemIconById: logic confirmed by peer review - fn_11719 DrawItemSlotBackground: logic confirmed by peer review - fn_11721 UICntWnd::DrawBorder: logic confirmed by peer review - fn_11760 UIBank_NewWnd::Paint: logic confirmed by peer review - fn_11761 UIChatRoomWnd::Paint: logic confirmed by peer review - fn_11767 UIMerInfoWnd::Paint: logic confirmed by peer review - fn_12085 UIWindow::DrawPanelBackground: logic confirmed by peer review - fn_12086 UIWindow::DrawPanelBackgroundAt: logic confirmed by peer review - fn_12088 UIWindow::DrawButtonBar: logic confirmed by peer review - fn_12089 UIWindow::DrawButtonBarAt: logic confirmed by peer review - fn_12098 UIWindow::DrawTitleBar: logic confirmed by peer review - fn_12099 UIWindow::DrawTitleBarAt: logic confirmed by peer review - fn_12120 UIWindow::LoadStyledBitmap: logic confirmed by peer review - fn_12219 UIDisconnectedServerMsgWnd::Paint: logic confirmed by peer review - fn_12233 UINoticeConfirmWnd::Paint: logic confirmed by peer review - fn_12245 UIQuitWnd::Paint: logic confirmed by peer review - fn_12246 UIRestartWnd::Paint: logic confirmed by peer review - fn_12258 UIWaitWnd::Paint: logic confirmed by peer review - fn_14470 CUIFrameWnd::RefreshSkinColors: logic confirmed by peer review - fn_14471 CUIFrameWnd::Paint: logic confirmed by peer review - fn_14472 CUIFrameWnd::SetSkinColors: logic confirmed by peer review - fn_14635 CUIControl::LoadBitmapResource: logic confirmed by peer review - fn_17781 InputCharset::Prefix: logic confirmed by peer review - fn_17788 InputCharset::ServiceName: logic confirmed by peer review - fn_17847 FadeOutMode: logic confirmed by peer review - fn_18378 Resolve: logic confirmed by peer review - fn_02111 RendererDX7Operations::SaveLogo: logic confirmed by peer review - fn_09446 UICashEmotionPack::Paint: logic confirmed by peer review - fn_09453 UICashEmotionPack::SetSaleBadge: logic confirmed by peer review - fn_09483 UICashEmotionPiece::Paint: logic confirmed by peer review - fn_45445 CSkinMgr::CSkinMgr: logic confirmed by peer review - fn_09681 CSkinMgr::~CSkinMgr: logic confirmed by peer review - fn_09683 CSkinMgr::Prepare: logic confirmed by peer review - fn_09684 SkinPaletteColor: logic confirmed by peer review - fn_09685 SkinPaletteChannels: logic confirmed by peer review - fn_09686 CSkinMgr::Name: logic confirmed by peer review - fn_09687 CSkinMgr::Prefix: logic confirmed by peer review - fn_09688 CSkinMgr::Name: logic confirmed by peer review - fn_09690 CSkinMgr::Selected: logic confirmed by peer review - fn_10758 UIEditCtrl::DrawSelectionAt: logic confirmed by peer review - fn_10759 UIEditCtrl::DrawSelection: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Contents/SkinMgr.cpp
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_CASHEMOTION_UICASHEMOTIONPIECE_H
|
|
#define RAGNAROK_SOURCE_UI_CASHEMOTION_UICASHEMOTIONPIECE_H
|
|
|
|
#include "UI/Window/UIWindow.h"
|
|
|
|
#include <cstdint>
|
|
|
|
struct UIButtonContext;
|
|
class UICashEmotionSprBtn;
|
|
|
|
struct UICashEmotionPieceContext {
|
|
UIButtonContext& buttons;
|
|
};
|
|
|
|
class UICashEmotionPiece : public UIWindow {
|
|
public:
|
|
UICashEmotionPiece(UIWindowContext& windows, UICashEmotionPieceContext& controls);
|
|
void Slot15(int width, int height) override;
|
|
void Slot19() override;
|
|
void Paint() override;
|
|
void Slot26(int x, int y) override;
|
|
void Slot35(int argument) override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
|
void Slot47() override;
|
|
void Slot48() override;
|
|
|
|
void Set(int packId, int emotionId, bool showTooltip, bool hoverable, bool locked);
|
|
|
|
protected:
|
|
/* 007C */ int m_packId;
|
|
/* 0080 */ int m_emotionId;
|
|
/* 0084 */ UICashEmotionSprBtn* m_button;
|
|
/* 0088 */ bool m_hoverable;
|
|
/* 0089 */ bool m_hovered;
|
|
UICashEmotionPieceContext* m_controls;
|
|
};
|
|
|
|
#endif
|