rodecomp/Source/UI/UIStaticItem.h
ragnarok-clanker 32b94f16e5 Decompile 5 functions in Source/Resource/GifResource.cpp, Source/Resource/GifResource.h, ...
Batch #8072 by eAthena: 0 byte-identical, 5 confirmed by peer review.

- fn_07862 CGifRes::CGifRes: logic confirmed by peer review
- fn_07981 C3dGrannyModelRes::C3dGrannyModelRes: logic confirmed by peer review
- fn_09931 UINpcSprWnd::UINpcSprWnd: logic confirmed by peer review
- fn_10387 UISwapEquipmentWnd::UISwapEquipmentWnd: logic confirmed by peer review
- fn_11109 UIStaticItem::`scalar deleting destructor': logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, pedrao
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 14:05:56 +00:00

32 lines
825 B
C++

#ifndef RAGNAROK_SOURCE_UI_UISTATICITEM_H
#define RAGNAROK_SOURCE_UI_UISTATICITEM_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Window/UIWindow.h"
struct ItemDescriptions;
struct UIButtonContext;
class WindowManagerWindows;
class UIStaticItem : public UIWindow {
public:
UIStaticItem(UIWindowContext& windows, ItemDescriptions& descriptions, UIButtonContext& controls, WindowManagerWindows& windowList);
~UIStaticItem() override;
void Paint() override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
protected:
/* 0080 */ ITEM_INFO m_item;
ItemDescriptions* m_descriptions;
UIButtonContext* m_controls;
WindowManagerWindows* m_windows;
};
class UIStaticItem_Illust : public UIStaticItem {
public:
void Paint() override;
void Slot28(int x, int y) override;
};
#endif