22 #ifndef STARK_UI_INVENTORY_WINDOW_H 23 #define STARK_UI_INVENTORY_WINDOW_H 25 #include "engines/stark/gfx/renderentry.h" 26 #include "engines/stark/ui/window.h" 28 #include "common/scummsys.h" 29 #include "common/rect.h" 30 #include "common/array.h" 48 void setSelectedInventoryItem(int16 selectedInventoryItem);
49 int16 getSelectedInventoryItem()
const;
62 void onGameLoop()
override;
63 void onRender()
override;
68 bool isSlotVisible(uint32 slot)
const;
69 bool canScrollUp()
const;
70 bool canScrollDown()
const;
71 void drawScrollArrows()
const;
84 uint32 _firstVisibleSlot;
85 static const uint32 _visibleSlotsCount = 15;
88 int16 _selectedInventoryItem;
90 int32 _autoCloseTimeRemaining;
95 #endif // STARK_UI_INVENTORY_WINDOW_H
Definition: inventorywindow.h:40