rodecomp/Source/UI/Shop/ItemDrawing.h

19 lines
797 B
C++

#ifndef RAGNAROK_SOURCE_UI_SHOP_ITEMDRAWING_H
#define RAGNAROK_SOURCE_UI_SHOP_ITEMDRAWING_H
struct ITEM_INFO;
struct ItemDescriptions;
class UIWindow;
class ResourceMgr;
class FontCache;
struct TextLocale;
void DrawItemIcon(UIWindow& window, ResourceMgr& resources, ItemDescriptions& descriptions, int x, int y, const ITEM_INFO& item, unsigned char identified);
void DrawItemIconById(UIWindow& window, ItemDescriptions& descriptions, int x, int y, const char* id, unsigned char identified);
void DrawItemSlotBackground(UIWindow& window, int x, int y);
void DrawItemWithQuantity(
UIWindow& window, ResourceMgr& resources, ItemDescriptions& descriptions, FontCache& fonts, const TextLocale& locale, int x, int y, const ITEM_INFO& item,
unsigned char identified, unsigned char plain
);
#endif