Batch #8835 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13330 UIItemPurchaseWnd::Paint: logic confirmed by peer review Peer-reviewed-by: alisonrag, gordaoprogramas, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
32 lines
855 B
C++
32 lines
855 B
C++
#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMPURCHASEWND_H
|
|
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMPURCHASEWND_H
|
|
|
|
#include "Contents/UserData/NormalItemSlots.h"
|
|
#include "UI/Item/UIItemBaseWnd.h"
|
|
|
|
#include <cstddef>
|
|
|
|
class UIStaticText;
|
|
|
|
class UIItemPurchaseWnd : public UIItemBaseWnd {
|
|
public:
|
|
UIItemPurchaseWnd();
|
|
UIItemPurchaseWnd(UIWindowContext& windows, UIFrameContext& frames);
|
|
void Slot10(int x, int y, std::intptr_t value) override;
|
|
void Slot11() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot28(int x, int y) override;
|
|
void Slot32(int x, int y) override;
|
|
void Paint() override;
|
|
|
|
/* 00F0 */ UIStaticText* title;
|
|
/* 00F4 */ ItemPurchaseWndInfo* saved;
|
|
/* 00F8 */ int hovered;
|
|
/* 00FC */ int unknown_00FC;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(UIItemPurchaseWnd, saved) == 0xF4);
|
|
#endif
|
|
|
|
#endif
|