ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::MainMenuScreen Class Reference

The main menu of the game when it is opened. More...

#include <mainmenu.h>

Inheritance diagram for Stark::MainMenuScreen:
Collaboration diagram for Stark::MainMenuScreen:

List of all members.

Public Member Functions

 MainMenuScreen (Gfx::Driver *gfx, Cursor *cursor)
virtual ~MainMenuScreen ()
void open () override

Private Types

enum  HelpTextIndex {
  kNewGame = 7, kContinue = 8, kOption = 6, kBox = 9,
  kQuit = 10, kCredits = 12
}

Private Member Functions

template<HelpTextIndex N>
void helpTextHandler (StaticLocationWidget &widget, const Common::Point &mousePos)
void newGameHandler ()
void loadHandler ()
void creditsHandler ()
void settingsHandler ()
void boxHandler ()
void quitHandler ()

Detailed Description

The main menu of the game when it is opened.

Definition at line 33 of file mainmenu.h.


Member Enumeration Documentation

Enumerator:
kNewGame 
kContinue 
kOption 
kBox 
kQuit 
kCredits 

Definition at line 42 of file mainmenu.h.


Constructor & Destructor Documentation

Stark::MainMenuScreen::MainMenuScreen ( Gfx::Driver gfx,
Cursor cursor 
)

Definition at line 39 of file mainmenu.cpp.

Stark::MainMenuScreen::~MainMenuScreen (  )  [virtual]

Definition at line 43 of file mainmenu.cpp.


Member Function Documentation

void Stark::MainMenuScreen::boxHandler (  )  [private]

Definition at line 178 of file mainmenu.cpp.

void Stark::MainMenuScreen::creditsHandler (  )  [private]

Definition at line 136 of file mainmenu.cpp.

template<MainMenuScreen::HelpTextIndex N>
void Stark::MainMenuScreen::helpTextHandler ( StaticLocationWidget widget,
const Common::Point mousePos 
) [private]

Definition at line 130 of file mainmenu.cpp.

void Stark::MainMenuScreen::loadHandler (  )  [private]

Definition at line 170 of file mainmenu.cpp.

void Stark::MainMenuScreen::newGameHandler (  )  [private]

Definition at line 143 of file mainmenu.cpp.

void Stark::MainMenuScreen::open (  )  [override]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 46 of file mainmenu.cpp.

void Stark::MainMenuScreen::quitHandler (  )  [private]

Definition at line 186 of file mainmenu.cpp.

void Stark::MainMenuScreen::settingsHandler (  )  [private]

Definition at line 174 of file mainmenu.cpp.


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


Generated on Sat Sep 14 2019 05:04:55 for ResidualVM by doxygen 1.7.1
curved edge   curved edge