19#ifndef HEADER_OPTIONS_SCREEN_DEVICE_HPP
20#define HEADER_OPTIONS_SCREEN_DEVICE_HPP
25#include "guiengine/screen.hpp"
26#include "states_screens/dialogs/message_dialog.hpp"
28namespace GUIEngine {
class Widget;
class ListWidget; }
30namespace irr {
namespace gui {
class STKModifiedSpriteBank; } }
46 void updateInputButtons();
56 const irr::core::stringw &translatedName,
62 const core::stringw& text);
75 const std::
string& name, const
int playerID) OVERRIDE;
82 virtual
void init() OVERRIDE;
contains the key bindings information related to one input device
Definition: device_config.hpp:42
Declares a class to be a singleton.
Definition: screen.hpp:59
Represents a single GUI screen.
Definition: screen.hpp:97
Listener interface to get notified of whether the user chose to confirm or cancel.
Definition: message_dialog.hpp:39
Input options screen.
Definition: options_screen_device.hpp:43
DeviceConfig * m_config
The configuration to use.
Definition: options_screen_device.hpp:52
virtual bool onEscapePressed() OVERRIDE
implement optional callback from parent class GUIEngine::Screen
Definition: options_screen_device.cpp:674
virtual void init() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_device.cpp:83
virtual void beforeAddingWidget() OVERRIDE
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: options_screen_device.cpp:71
virtual void unloaded() OVERRIDE
implement optional callback from parent class GUIEngine::Screen
Definition: options_screen_device.cpp:668
void setDevice(DeviceConfig *config)
Sets the configuration to be used.
Definition: options_screen_device.hpp:68
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_device.cpp:65
virtual void eventCallback(GUIEngine::Widget *widget, const std::string &name, const int playerID) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_device.cpp:531
void gotSensedInput(const Input &sensedInput)
invoke in "input sensing" mode, when input was sensed.
Definition: options_screen_device.cpp:420
virtual void onConfirm() OVERRIDE
Implement IConfirmDialogListener callback.
Definition: options_screen_device.cpp:684
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33