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

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

Member Function Documentation

◆ onScreenChanged()

void Stark::TopMenu::onScreenChanged ( )

The screen resolution changed, rebuild the text accordingly

◆ notifyInventoryItemEnabled()

void Stark::TopMenu::notifyInventoryItemEnabled ( uint16  itemIndex)

A new item has been added to the player's inventory. Play relevant animation

◆ notifyDiaryEntryEnabled()

void Stark::TopMenu::notifyDiaryEntryEnabled ( )

A new entry has been added to the player's diary. Play relevant animation


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