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::Surface * | getScreenshot () 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 |
|
inlineoverridevirtual |
Called once per game loop when the screen is active.
Reimplemented from Stark::Screen.
|
inlineoverridevirtual |
Draw the screen
Implements Stark::Screen.