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

The setting menu of the game. More...

#include <settingsmenu.h>

Inheritance diagram for Stark::SettingsMenuScreen:
Collaboration diagram for Stark::SettingsMenuScreen:

List of all members.

Public Member Functions

 SettingsMenuScreen (Gfx::Driver *gfx, Cursor *cursor)
virtual ~SettingsMenuScreen ()
void open () override
void close () override
void onGameLoop () override
void handleMouseUp ()

Private Types

enum  HelpTextIndex {
  kHighRes = 5, kSubtitles = 7, kSpecialFX = 9, kShadows = 11,
  kHighResFMV = 13, kVoice = 16, kMusic = 18, kSfx = 20,
  kAllowFF = 22
}
enum  WidgetIndex { kWidgetVoice = 15, kWidgetMusic = 17, kWidgetSfx = 19 }

Private Member Functions

template<HelpTextIndex N>
void textHandler (StaticLocationWidget &widget, const Common::Point &mousePos)
template<Settings::BoolSettingIndex N>
void flipSettingHandler ()
void backHandler ()

Private Attributes

TestSoundManager _soundManager

Static Private Attributes

static const Color _textColorHovered = Color(0x1E, 0x1E, 0x96)
static const Color _textColorDefault = Color(0x00, 0x00, 0x00)

Detailed Description

The setting menu of the game.

Definition at line 69 of file settingsmenu.h.


Member Enumeration Documentation

Enumerator:
kHighRes 
kSubtitles 
kSpecialFX 
kShadows 
kHighResFMV 
kVoice 
kMusic 
kSfx 
kAllowFF 

Definition at line 82 of file settingsmenu.h.

Enumerator:
kWidgetVoice 
kWidgetMusic 
kWidgetSfx 

Definition at line 94 of file settingsmenu.h.


Constructor & Destructor Documentation

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

Definition at line 39 of file settingsmenu.cpp.

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

Definition at line 44 of file settingsmenu.cpp.


Member Function Documentation

void Stark::SettingsMenuScreen::backHandler (  )  [private]

Definition at line 236 of file settingsmenu.cpp.

void Stark::SettingsMenuScreen::close (  )  [override]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 199 of file settingsmenu.cpp.

template<Settings::BoolSettingIndex N>
void Stark::SettingsMenuScreen::flipSettingHandler (  )  [private]

Definition at line 232 of file settingsmenu.cpp.

void Stark::SettingsMenuScreen::handleMouseUp (  ) 

Definition at line 209 of file settingsmenu.cpp.

void Stark::SettingsMenuScreen::onGameLoop (  )  [override, virtual]

Reimplemented from Stark::StaticLocationScreen.

Definition at line 205 of file settingsmenu.cpp.

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

Reimplemented from Stark::StaticLocationScreen.

Definition at line 47 of file settingsmenu.cpp.

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

Definition at line 219 of file settingsmenu.cpp.


Member Data Documentation

const Color Stark::SettingsMenuScreen::_textColorDefault = Color(0x00, 0x00, 0x00) [static, private]

Definition at line 110 of file settingsmenu.h.

const Color Stark::SettingsMenuScreen::_textColorHovered = Color(0x1E, 0x1E, 0x96) [static, private]

Definition at line 109 of file settingsmenu.h.


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


Generated on Sat Mar 23 2019 05:08:59 for ResidualVM by doxygen 1.7.1
curved edge   curved edge