Public Member Functions | |
| TopMenu (Gfx::Driver *gfx, Cursor *cursor) | |
| void | onGameLoop () override |
| void | onRender () override |
| void | onMouseMove (const Common::Point &pos) override |
| void | onClick (const Common::Point &pos) override |
| void | onScreenChanged () |
| void | notifyInventoryItemEnabled (uint16 itemIndex) |
| void | notifyDiaryEntryEnabled () |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from Stark::Window | |
| virtual void | onRightClick (const Common::Point &pos) |
| virtual void | onDoubleClick (const Common::Point &pos) |
| Common::Point | getRelativeMousePosition () const |
Protected Attributes inherited from Stark::Window | |
| Gfx::Driver * | _gfx |
| Cursor * | _cursor |
| Common::Rect | _position |
| bool | _visible |
| void Stark::TopMenu::onScreenChanged | ( | ) |
The screen resolution changed, rebuild the text accordingly
| void Stark::TopMenu::notifyInventoryItemEnabled | ( | uint16 | itemIndex | ) |
A new item has been added to the player's inventory. Play relevant animation
| void Stark::TopMenu::notifyDiaryEntryEnabled | ( | ) |
A new entry has been added to the player's diary. Play relevant animation