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

#include <base_keyboard_state.h>

Inheritance diagram for Wintermute::BaseKeyboardState:
Collaboration diagram for Wintermute::BaseKeyboardState:

List of all members.

Public Member Functions

 BaseKeyboardState (BaseGame *inGame)
 ~BaseKeyboardState () override
bool readKey (Common::Event *event)
void handleKeyPress (Common::Event *event)
void handleKeyRelease (Common::Event *event)
bool isCurrentPrintable () const
ScValuescGetProperty (const Common::String &name) override
bool scSetProperty (const char *name, ScValue *value) override
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
const char * scToString () override

Static Public Member Functions

static bool isShiftDown ()
static bool isControlDown ()
static bool isAltDown ()

Private Member Functions

void init ()

Private Attributes

bool _currentPrintable
uint32 _currentKeyData
uint32 _currentCharCode
bool _currentShift
bool _currentAlt
bool _currentControl
uint8_keyStates
const keyCodeMapping_mapping
uint32 _mappingSize

Detailed Description

Definition at line 45 of file base_keyboard_state.h.


Constructor & Destructor Documentation

Wintermute::BaseKeyboardState::BaseKeyboardState ( BaseGame inGame  ) 

Definition at line 248 of file base_keyboard_state.cpp.

Wintermute::BaseKeyboardState::~BaseKeyboardState (  )  [override]

Definition at line 277 of file base_keyboard_state.cpp.


Member Function Documentation

void Wintermute::BaseKeyboardState::handleKeyPress ( Common::Event event  ) 

Definition at line 281 of file base_keyboard_state.cpp.

void Wintermute::BaseKeyboardState::handleKeyRelease ( Common::Event event  ) 

Definition at line 287 of file base_keyboard_state.cpp.

void Wintermute::BaseKeyboardState::init (  )  [private]

Definition at line 253 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::isAltDown (  )  [static]

Definition at line 556 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::isControlDown (  )  [static]

Definition at line 550 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::isCurrentPrintable (  )  const

Definition at line 562 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::isShiftDown (  )  [static]

Definition at line 544 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::readKey ( Common::Event event  ) 

Definition at line 458 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::scCallMethod ( ScScript script,
ScStack stack,
ScStack thisStack,
const char *  name 
) [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 296 of file base_keyboard_state.cpp.

ScValue * Wintermute::BaseKeyboardState::scGetProperty ( const Common::String name  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 364 of file base_keyboard_state.cpp.

bool Wintermute::BaseKeyboardState::scSetProperty ( const char *  name,
ScValue value 
) [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 436 of file base_keyboard_state.cpp.

const char * Wintermute::BaseKeyboardState::scToString (  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 452 of file base_keyboard_state.cpp.


Member Data Documentation

Definition at line 73 of file base_keyboard_state.h.

Definition at line 74 of file base_keyboard_state.h.

Definition at line 72 of file base_keyboard_state.h.


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


Generated on Sat Sep 26 2020 05:04:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge