Public Member Functions | |
| InventoryWindow (Gfx::Driver *gfx, Cursor *cursor, ActionMenu *actionMenu) | |
| void | open () |
| void | close () |
| void | setSelectedInventoryItem (int16 selectedInventoryItem) |
| int16 | getSelectedInventoryItem () const |
| void | reset () |
| void | scrollDown () |
| void | scrollUp () |
Public Member Functions inherited from Stark::Window | |
| Window (Gfx::Driver *gfx, Cursor *cursor) | |
| void | handleMouseMove () |
| void | handleClick () |
| void | handleRightClick () |
| void | handleDoubleClick () |
| void | handleGameLoop () |
| void | render () |
| bool | isMouseInside () const |
| bool | isVisible () const |
| Graphics::Surface * | getScreenshot () const |
Protected Member Functions | |
| void | onMouseMove (const Common::Point &pos) override |
| void | onClick (const Common::Point &pos) override |
| void | onRightClick (const Common::Point &pos) override |
| void | onGameLoop () override |
| void | onRender () override |
| void | checkObjectAtPos (Common::Point pos, Resources::ItemVisual **item, int16 selectedInventoryItem, int16 &singlePossibleAction) |
| Common::Rect | getSlotRect (uint32 slot) const |
| Common::Rect | getItemRect (uint32 slot, VisualImageXMG *image) const |
| bool | isSlotVisible (uint32 slot) const |
| bool | canScrollUp () const |
| bool | canScrollDown () const |
| void | drawScrollArrows () const |
Protected Member Functions inherited from Stark::Window | |
| virtual void | onDoubleClick (const Common::Point &pos) |
| Common::Point | getRelativeMousePosition () const |
Additional Inherited Members | |
Protected Attributes inherited from Stark::Window | |
| Gfx::Driver * | _gfx |
| Cursor * | _cursor |
| Common::Rect | _position |
| bool | _visible |
| void Stark::InventoryWindow::reset | ( | ) |
Clear the location dependent state
| void Stark::InventoryWindow::scrollDown | ( | ) |
Scroll the inventory