Michael Lutz
dd138fc460
Codechange: Stringify config file paths.
4 years ago
dP
ab420d8cc0
Change: Use key names instead of characters in hotkey.cfg
4 years ago
Michael Lutz
715aa67a9c
Codechange: Use std::string in INI file parsing.
4 years ago
Konstantin Gribov
69f9529ba3
Add: Missing keycodes for hotkeys.cfg ( #7850 )
...
Added missing keycodes mapping to `_keycode_to_name` array
to allow their use in `hotkeys.cfg`.
Also reordered them according to `WindowKeyCodes` order.
Signed-off-by: Konstantin Gribov <grossws@gmail.com>
5 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
Henry Wilson
c01a2e2a81
Codechange: Removed SmallVector completely
6 years ago
Henry Wilson
ab711e6942
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
6 years ago
Henry Wilson
297fd3dda3
Codechange: Replaced SmallVector::Include() with include()
6 years ago
Henry Wilson
a0f36a50e6
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
6 years ago
Henry Wilson
5795f66d2e
Codechange: Replaced SmallVector::Contains() with std::find() pattern
6 years ago
Henry Wilson
81315939b9
Codechange: Replaced SmallVector::Find() non-const with std::find()
6 years ago
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
6 years ago
Henry Wilson
bfd79e59dc
Codechange: Replace SmallVector::Clear() with std::vector::clear()
6 years ago
Samuel Cochran
1a73c39838
Add: BACKSPACE can be mapped as a hotkey
6 years ago
peter1138
73ea8cdb21
(svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path.
8 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
63e0ff048e
(svn r25973) -Fix [FS#5679]: comma key collided with F12 key for hotkeys; also remove '+' as that is generally not a key (the '+' on the numpad is a separate one)
11 years ago
michi_cc
1567e32d89
(svn r25669) -Codechange: Pass UCS-4 instead of UCS-2 characters to the hotkey handlers.
11 years ago
frosch
fef30983e6
(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.
11 years ago
frosch
1b8b1f3f6c
(svn r25410) -Codechange: Put all hotkeys of a window into a static HotkeyList member.
11 years ago
frosch
d9e9710cb3
(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.
11 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
zuu
eff4bbeb53
(svn r24554) -Add: Hotkeys for widgets in AI Debug window
12 years ago
rubidium
bd64bf6372
(svn r23193) -Codechange: don't cast away const unneededly
13 years ago
rubidium
05300a00b1
(svn r22824) -Codechange: pass sub directory to ini loading
13 years ago
alberth
1dbc0a20be
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
14 years ago
yexo
f7f3db7174
(svn r22142) -Fix (r22094): some valid keycodes were ignored along with the invalid ones
14 years ago
yexo
24753fbd35
(svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg
14 years ago
rubidium
8017c2a3d7
(svn r21909) -Fix: some missing spaces
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
terkhen
ff1c565e14
(svn r20516) -Feature [FS#3472]: Filter signs at the sign list window. (Zuu)
14 years ago
yexo
09bfbee90e
(svn r20275) -Fix (r20274): some compilers are complaining about signed/unsigned comparison
14 years ago
yexo
dc3271b705
(svn r20274) -Fix: special keycodes were matched if a code matched the start of the string (ie 'C' matched 'CTRL')
14 years ago
yexo
b0b0a21617
(svn r20273) -Fix [FS#3930]: '-' and '=' were not correctly read from hotkeys.cfg
14 years ago
yexo
17ef1a2336
(svn r20076) -Fix (r20073): hotkeys for the road toolbar were not stored in hotkeys.cfg
14 years ago
yexo
6997637208
(svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor
14 years ago
yexo
19f86951d9
(svn r20073) -Feature: customizable hotkeys for the road toolbar
14 years ago
frosch
6c6d1e3792
(svn r20072) -Fix (r20065): NUM_MINUS was stored as NUM_PLUS in config file.
14 years ago
yexo
26be68ae98
(svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
...
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
14 years ago
frosch
9be9302cdb
(svn r20069) -Fix (r20055): Make valgrind happy.
14 years ago
yexo
9b66684b81
(svn r20068) -Feature: customizable hotkeys for the rail toolbar
14 years ago
yexo
4012f85eec
(svn r20067) -Add: special modifier (GLOBAL) to mark hotkeys as global hotkeys
14 years ago
yexo
ddf11b7d3f
(svn r20065) -Feature: customizable hotkeys for the main toolbar
14 years ago
yexo
243075a096
(svn r20063) -Feature: customizable hotkeys for the dock toolbar
14 years ago
yexo
2e0acdbb07
(svn r20062) -Feature: customizable hotkeys for the airport toolbar
14 years ago
frosch
30b4228723
(svn r20060) -Fix (r20055): strnicmp() does not exist on all platforms.
14 years ago
yexo
70a35a94b5
(svn r20059) -Feature: customizable hotkeys for the main window (the global hotkeys)
14 years ago
yexo
da57796d51
(svn r20058) -Feature: customizable hotkeys for the vehicle orders window
14 years ago