#include <mainmenu.h>
Public Member Functions | |
MainMenuScreen (Gfx::Driver *gfx, Cursor *cursor) | |
void | open () override |
Public Member Functions inherited from Stark::StaticLocationScreen | |
StaticLocationScreen (Gfx::Driver *gfx, Cursor *cursor, const char *locationName, Screen::Name screenName) | |
void | close () override |
void | onScreenChanged () override |
void | waitForSoundsToComplete () |
Public Member Functions inherited from Stark::SingleWindowScreen | |
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 |
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::StaticLocationScreen | |
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 |
Protected Attributes inherited from Stark::StaticLocationScreen | |
Common::Array< StaticLocationWidget * > | _widgets |
Protected Attributes inherited from Stark::Window | |
Gfx::Driver * | _gfx |
Cursor * | _cursor |
Common::Rect | _position |
bool | _visible |
The main menu of the game when it is opened
|
overridevirtual |
The screen is being made active, prepare it to be drawn
Reimplemented from Stark::StaticLocationScreen.