ScummVM API documentation
Pegasus::MainMenu Class Reference
Inheritance diagram for Pegasus::MainMenu:
Pegasus::GameMenu Pegasus::IDObject Pegasus::InputHandler

Public Member Functions

void handleInput (const Input &input, const Hotspot *) override
 
void startMainMenuLoop ()
 
void stopMainMenuLoop ()
 
- Public Member Functions inherited from Pegasus::GameMenu
 GameMenu (const uint32)
 
virtual void becomeCurrentHandler ()
 
virtual void restorePreviousHandler ()
 
GameMenuCommand getLastCommand ()
 
void clearLastCommand ()
 
- Public Member Functions inherited from Pegasus::IDObject
 IDObject (const int32 id)
 
int32 getObjectID () const
 
- Public Member Functions inherited from Pegasus::InputHandler
 InputHandler (InputHandler *)
 
virtual void setNextHandler (InputHandler *nextHandler)
 
virtual InputHandlergetNextHandler ()
 
virtual void clickInHotspot (const Input &, const Hotspot *)
 
virtual void activateHotspots ()
 
virtual void updateCursor (const Common::Point, const Hotspot *)
 
virtual bool isClickInput (const Input &, const Hotspot *)
 
virtual bool wantsCursor ()
 
virtual bool releaseInputFocus ()
 
virtual void grabInputFocus ()
 
virtual InputBits getInputFilter ()
 
virtual InputBits getClickFilter ()
 
virtual void allowInput (const bool allow)
 

Protected Member Functions

void updateDisplay ()
 
- Protected Member Functions inherited from Pegasus::GameMenu
void setLastCommand (const GameMenuCommand command)
 
void drawScore (GameScoreType, GameScoreType, const Common::Rect &, Surface *)
 

Protected Attributes

uint32 _menuSelection
 
Picture _menuBackground
 
Picture _startButton
 
Picture _creditsButton
 
Picture _quitButton
 
Picture _largeSelect
 
Picture _smallSelect
 
bool _adventureMode
 
Picture _overviewButton
 
Picture _restoreButton
 
Picture _adventureButton
 
Picture _walkthroughButton
 
Sound _menuLoop
 
SoundFader _menuFader
 
- Protected Attributes inherited from Pegasus::GameMenu
InputHandler_previousHandler
 
GameMenuCommand _lastCommand
 
- Protected Attributes inherited from Pegasus::InputHandler
InputHandler_nextHandler
 
bool _allowInput
 

Additional Inherited Members

- Static Public Member Functions inherited from Pegasus::InputHandler
static InputHandlersetInputHandler (InputHandler *)
 
static InputHandlergetCurrentHandler ()
 
static void pollForInput ()
 
static void getInput (Input &, Hotspot *&)
 
static void readInputDevice (Input &)
 
static void invalHotspots ()
 
static InputBits getCurrentFilter ()
 
- Static Protected Attributes inherited from Pegasus::InputHandler
static InputHandler_inputHandler
 
static bool _invalHotspots
 
static InputBits _lastFilter
 

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