Public Member Functions | |
| GameWindow (Gfx::Driver *gfx, Cursor *cursor, ActionMenu *actionMenu, InventoryWindow *inventory) | |
| void | reset () |
| void | onScreenChanged () |
| void | toggleExitDisplay () |
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 | onDoubleClick (const Common::Point &pos) override |
| void | onRender () override |
| void | checkObjectAtPos (const Common::Point &pos, int16 selectedInventoryItem, int16 &singlePossibleAction, bool &isDefaultAction) |
Protected Member Functions inherited from Stark::Window | |
| virtual void | onGameLoop () |
| Common::Point | getRelativeMousePosition () const |
Protected Attributes | |
| ActionMenu * | _actionMenu |
| InventoryWindow * | _inventory |
| Gfx::RenderEntryArray | _renderEntries |
| Resources::ItemVisual * | _objectUnderCursor |
| Common::Point | _objectRelativePosition |
| Gfx::FadeRenderer * | _fadeRenderer |
| VisualImageXMG * | _exitArrow |
| VisualImageXMG * | _exitArrowLeft |
| VisualImageXMG * | _exitArrowRight |
| int | _exitLeftBoundary |
| int | _exitRightBoundary |
| bool | _displayExit |
Protected Attributes inherited from Stark::Window | |
| Gfx::Driver * | _gfx |
| Cursor * | _cursor |
| Common::Rect | _position |
| bool | _visible |
| void Stark::GameWindow::reset | ( | ) |
Clear the location dependent state
| void Stark::GameWindow::onScreenChanged | ( | ) |
Update when the screen resolution has changed
|
inline |
Toggle the display of exit locations