22 #ifndef NANCY_UI_INVENTORYBOX_H 23 #define NANCY_UI_INVENTORYBOX_H 25 #include "engines/nancy/time.h" 27 #include "engines/nancy/renderobject.h" 48 byte keepItem = kInvItemUseThenLose;
56 void updateGraphics()
override;
57 void registerGraphics()
override;
60 void onScrollbarMove();
64 void addItem(
const int16 itemID);
65 void removeItem(
const int16 itemID);
68 void setHotspots(
const uint pageNr);
69 void drawItemInSlot(
const uint itemID,
const uint slotID,
const bool highlighted =
false);
74 virtual ~Curtains() =
default;
77 void updateGraphics()
override;
79 void setOpen(
bool open) { _areOpen = open; }
81 void setAnimationFrame(uint frame);
105 ItemHotspot _itemHotspots[4];
106 int _highlightedHotspot;
108 const struct INV *_inventoryData;
114 #endif // NANCY_UI_INVENTORYBOX_H Definition: managed_surface.h:51
Definition: inventorybox.h:42
Definition: soundequalizerpuzzle.h:27
Definition: renderobject.h:36
Definition: enginedata.h:108
Definition: inventorybox.h:46
Definition: actionmanager.h:32