Public Member Functions | |
ActionMenu (Gfx::Driver *gfx, Cursor *cursor) | |
void | setInventory (InventoryWindow *inventory) |
void | open (Resources::ItemVisual *item, const Common::Point &itemRelativePos) |
void | close () |
void | onScreenChanged () |
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 | |
Common::Rect | computePosition (const Common::Point &mouse) const |
void | onMouseMove (const Common::Point &pos) override |
void | onClick (const Common::Point &pos) override |
void | onGameLoop () override |
void | onRender () override |
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 |
Additional Inherited Members | |
Protected Attributes inherited from Stark::Window | |
Gfx::Driver * | _gfx |
Cursor * | _cursor |
Common::Rect | _position |
bool | _visible |