OpenTTD Source
20241120-master-g6d3adc6169
|
Hotkey related functions. More...
Go to the source code of this file.
Data Structures | |
struct | Hotkey |
All data for a single hotkey. More... | |
struct | HotkeyList |
List of hotkeys for a window. More... | |
Functions | |
bool | IsQuitKey (uint16_t keycode) |
Does the given keycode match one of the keycodes bound to 'quit game'? More... | |
void | LoadHotkeysFromConfig () |
Load the hotkeys from the config file. | |
void | SaveHotkeysToConfig () |
Save the hotkeys to the config file. | |
void | HandleGlobalHotkeys (char32_t key, uint16_t keycode) |
Hotkey related functions.
Definition in file hotkeys.h.
bool IsQuitKey | ( | uint16_t | keycode | ) |
Does the given keycode match one of the keycodes bound to 'quit game'?
keycode | The keycode that was pressed by the user. |
Definition at line 534 of file main_gui.cpp.