19 #ifndef OPENXCOM_OPTIONSCONTROLSSTATE_H
20 #define OPENXCOM_OPTIONSCONTROLSSTATE_H
24 #include "../Engine/OptionInfo.h"
25 #include "OptionsBaseState.h"
40 std::vector<OptionInfo> _controlsGeneral, _controlsGeo, _controlsBattle;
43 Uint8 _colorGroup, _colorSel, _colorNormal;
45 void addControls(
const std::vector<OptionInfo> &keys);
47 std::string ucWords(std::string str);
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
Helper class that ties metadata to particular options to help in serializing and stuff.
Definition: OptionInfo.h:37
OptionsControlsState(Game *game, OptionsOrigin origin)
Creates the Controls state.
Definition: OptionsControlsState.cpp:41
List of Text's split into columns.
Definition: TextList.h:42
~OptionsControlsState()
Cleans up the Controls state.
Definition: OptionsControlsState.cpp:103
void lstControlsKeyPress(Action *action)
Handler for pressing a key in the Controls list.
Definition: OptionsControlsState.cpp:239
void lstControlsClick(Action *action)
Handler for clicking the Controls list.
Definition: OptionsControlsState.cpp:197
Controls screen which allows the user to customize the various key shortcuts in the game...
Definition: OptionsControlsState.h:36
void init()
Fills controls list.
Definition: OptionsControlsState.cpp:110
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:44
Options base state for common stuff across Options windows.
Definition: OptionsBaseState.h:43