ScummVM API documentation
Stark::ActionMenu Class Reference
Inheritance diagram for Stark::ActionMenu:
Stark::Window

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::SurfacegetScreenshot () 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
 

The documentation for this class was generated from the following file: