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

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

Member Function Documentation

◆ reset()

void Stark::GameWindow::reset ( )

Clear the location dependent state

◆ onScreenChanged()

void Stark::GameWindow::onScreenChanged ( )

Update when the screen resolution has changed

◆ toggleExitDisplay()

void Stark::GameWindow::toggleExitDisplay ( )
inline

Toggle the display of exit locations


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