ScummVM API documentation
Stark::SingleWindowScreen Class Reference
Inheritance diagram for Stark::SingleWindowScreen:
Stark::Screen Stark::Window Stark::FMVScreen Stark::StaticLocationScreen Stark::DialogScreen Stark::DiaryIndexScreen Stark::DiaryPagesScreen Stark::FMVMenuScreen Stark::MainMenuScreen Stark::SaveLoadMenuScreen Stark::SettingsMenuScreen Stark::LoadMenuScreen Stark::SaveMenuScreen

Public Member Functions

 SingleWindowScreen (Name name, Gfx::Driver *gfx, Cursor *cursor)
 
void handleGameLoop () override
 
void render () override
 
void handleMouseMove () override
 
void handleClick () override
 
void handleRightClick () override
 
void handleDoubleClick () override
 
- Public Member Functions inherited from Stark::Screen
 Screen (Name name)
 
Name getName () const
 
virtual void open ()
 
virtual void close ()
 
virtual 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
 

Additional Inherited Members

- Public Types inherited from Stark::Screen
enum  Name {
  kScreenMainMenu, kScreenGame, kScreenFMV, kScreenDiaryIndex,
  kScreenSettingsMenu, kScreenSaveMenu, kScreenLoadMenu, kScreenFMVMenu,
  kScreenDiaryPages, kScreenDialog
}
 
- Protected Member Functions inherited from Stark::Window
virtual void onMouseMove (const Common::Point &pos)
 
virtual void onClick (const Common::Point &pos)
 
virtual void onRightClick (const Common::Point &pos)
 
virtual void onDoubleClick (const Common::Point &pos)
 
virtual void onGameLoop ()
 
virtual void onRender ()=0
 
Common::Point getRelativeMousePosition () const
 
- Protected Attributes inherited from Stark::Window
Gfx::Driver_gfx
 
Cursor_cursor
 
Common::Rect _position
 
bool _visible
 

Member Function Documentation

◆ handleGameLoop()

void Stark::SingleWindowScreen::handleGameLoop ( )
inlineoverridevirtual

Called once per game loop when the screen is active.

Reimplemented from Stark::Screen.

◆ render()

void Stark::SingleWindowScreen::render ( )
inlineoverridevirtual

Draw the screen

Implements Stark::Screen.


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