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

Abstract user interface screen using resources from a static Location sub-tree. More...

#include <locationscreen.h>

Inheritance diagram for Stark::StaticLocationScreen:
Collaboration diagram for Stark::StaticLocationScreen:

List of all members.

Public Member Functions

 StaticLocationScreen (Gfx::Driver *gfx, Cursor *cursor, const char *locationName, Screen::Name screenName)
 ~StaticLocationScreen () override
void open () override
void close () override
void onScreenChanged () override
void waitForSoundsToComplete ()
 Wait for all effect sounds to complete.

Protected Member Functions

void onMouseMove (const Common::Point &pos) override
void onClick (const Common::Point &pos) override
void onGameLoop () override
void onRender () override

Protected Attributes

Common::Array
< StaticLocationWidget * > 
_widgets

Private Member Functions

void freeWidgets ()

Private Attributes

const char * _locationName
Resources::Location_location
int _hoveredWidgetIndex

Detailed Description

Abstract user interface screen using resources from a static Location sub-tree.

Definition at line 47 of file locationscreen.h.


Constructor & Destructor Documentation

Stark::StaticLocationScreen::StaticLocationScreen ( Gfx::Driver gfx,
Cursor cursor,
const char *  locationName,
Screen::Name  screenName 
)

Definition at line 43 of file locationscreen.cpp.

Stark::StaticLocationScreen::~StaticLocationScreen (  )  [override]

Definition at line 53 of file locationscreen.cpp.


Member Function Documentation

void Stark::StaticLocationScreen::close (  )  [override]
void Stark::StaticLocationScreen::freeWidgets (  )  [private]

Definition at line 68 of file locationscreen.cpp.

void Stark::StaticLocationScreen::onClick ( const Common::Point pos  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Reimplemented in Stark::FMVMenuScreen.

Definition at line 115 of file locationscreen.cpp.

void Stark::StaticLocationScreen::onGameLoop (  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Reimplemented in Stark::SettingsMenuScreen.

Definition at line 77 of file locationscreen.cpp.

void Stark::StaticLocationScreen::onMouseMove ( const Common::Point pos  )  [override, protected, virtual]

Reimplemented from Stark::Window.

Reimplemented in Stark::FMVMenuScreen.

Definition at line 86 of file locationscreen.cpp.

void Stark::StaticLocationScreen::onRender (  )  [override, protected, virtual]

Implements Stark::Window.

Reimplemented in Stark::DialogScreen, and Stark::FMVMenuScreen.

Definition at line 125 of file locationscreen.cpp.

void Stark::StaticLocationScreen::onScreenChanged (  )  [override]

Reimplemented in Stark::DialogScreen, and Stark::FMVMenuScreen.

Definition at line 133 of file locationscreen.cpp.

void Stark::StaticLocationScreen::waitForSoundsToComplete (  ) 

Wait for all effect sounds to complete.

Used to ensure the button press sounds are no longer playing before performing the next action that would produce a sound.

Definition at line 139 of file locationscreen.cpp.


Member Data Documentation

Definition at line 78 of file locationscreen.h.

Definition at line 76 of file locationscreen.h.


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


Generated on Sat Mar 16 2019 05:06:55 for ResidualVM by doxygen 1.7.1
curved edge   curved edge