Commit Graph

51 Commits

Author SHA1 Message Date
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>
2019-12-27 08:32:34 +00:00
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
Henry Wilson c01a2e2a81 Codechange: Removed SmallVector completely 2019-03-26 20:15:57 +00:00
Henry Wilson ab711e6942 Codechange: Replaced SmallVector::[Begin|End]() with std alternatives 2019-03-26 20:15:57 +00:00
Henry Wilson 297fd3dda3 Codechange: Replaced SmallVector::Include() with include() 2019-03-26 20:15:57 +00:00
Henry Wilson a0f36a50e6 Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back() 2019-03-26 20:15:57 +00:00
Henry Wilson 5795f66d2e Codechange: Replaced SmallVector::Contains() with std::find() pattern 2019-03-26 20:15:57 +00:00
Henry Wilson 81315939b9 Codechange: Replaced SmallVector::Find() non-const with std::find() 2019-03-26 20:15:57 +00:00
Henry Wilson a690936ed7 Codechange: Replace SmallVector::Length() with std::vector::size() 2019-03-26 20:15:57 +00:00
Henry Wilson bfd79e59dc Codechange: Replace SmallVector::Clear() with std::vector::clear() 2019-03-26 20:15:57 +00:00
Samuel Cochran 1a73c39838 Add: BACKSPACE can be mapped as a hotkey 2018-09-16 11:36:25 +02:00
peter1138 73ea8cdb21 (svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path. 2017-03-20 19:30:49 +00:00
rubidium 9ed12b0f07 (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
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 2014-04-23 20:13:33 +00:00
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) 2013-11-13 15:54:44 +00:00
michi_cc 1567e32d89 (svn r25669) -Codechange: Pass UCS-4 instead of UCS-2 characters to the hotkey handlers. 2013-08-05 20:36:28 +00:00
frosch fef30983e6 (svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList. 2013-06-15 15:31:22 +00:00
frosch 1b8b1f3f6c (svn r25410) -Codechange: Put all hotkeys of a window into a static HotkeyList member. 2013-06-15 15:28:09 +00:00
frosch d9e9710cb3 (svn r25408) -Codechange: Simplify hotkeys by removing unused stuff. 2013-06-15 15:27:33 +00:00
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
zuu eff4bbeb53 (svn r24554) -Add: Hotkeys for widgets in AI Debug window 2012-09-23 14:37:59 +00:00
rubidium bd64bf6372 (svn r23193) -Codechange: don't cast away const unneededly 2011-11-12 08:10:22 +00:00
rubidium 05300a00b1 (svn r22824) -Codechange: pass sub directory to ini loading 2011-08-24 13:38:26 +00:00
alberth 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 2011-02-25 21:53:43 +00:00
yexo f7f3db7174 (svn r22142) -Fix (r22094): some valid keycodes were ignored along with the invalid ones 2011-02-25 13:59:02 +00:00
yexo 24753fbd35 (svn r22094) -Fix [FS#4510]: remove invalid keycodes when reading hotkeys.cfg 2011-02-17 23:14:43 +00:00
rubidium 8017c2a3d7 (svn r21909) -Fix: some missing spaces 2011-01-26 08:14:36 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
terkhen ff1c565e14 (svn r20516) -Feature [FS#3472]: Filter signs at the sign list window. (Zuu) 2010-08-16 16:15:22 +00:00
yexo 09bfbee90e (svn r20275) -Fix (r20274): some compilers are complaining about signed/unsigned comparison 2010-08-01 10:53:39 +00:00
yexo dc3271b705 (svn r20274) -Fix: special keycodes were matched if a code matched the start of the string (ie 'C' matched 'CTRL') 2010-08-01 10:42:18 +00:00
yexo b0b0a21617 (svn r20273) -Fix [FS#3930]: '-' and '=' were not correctly read from hotkeys.cfg 2010-07-31 23:33:09 +00:00
yexo 17ef1a2336 (svn r20076) -Fix (r20073): hotkeys for the road toolbar were not stored in hotkeys.cfg 2010-07-04 12:06:33 +00:00
yexo 6997637208 (svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor 2010-07-04 11:48:04 +00:00
yexo 19f86951d9 (svn r20073) -Feature: customizable hotkeys for the road toolbar 2010-07-04 10:57:31 +00:00
frosch 6c6d1e3792 (svn r20072) -Fix (r20065): NUM_MINUS was stored as NUM_PLUS in config file. 2010-07-04 09:35:06 +00:00
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
2010-07-03 21:43:44 +00:00
frosch 9be9302cdb (svn r20069) -Fix (r20055): Make valgrind happy. 2010-07-03 21:18:02 +00:00
yexo 9b66684b81 (svn r20068) -Feature: customizable hotkeys for the rail toolbar 2010-07-03 20:40:18 +00:00
yexo 4012f85eec (svn r20067) -Add: special modifier (GLOBAL) to mark hotkeys as global hotkeys 2010-07-03 20:14:56 +00:00
yexo ddf11b7d3f (svn r20065) -Feature: customizable hotkeys for the main toolbar 2010-07-03 19:35:54 +00:00
yexo 243075a096 (svn r20063) -Feature: customizable hotkeys for the dock toolbar 2010-07-03 18:18:58 +00:00
yexo 2e0acdbb07 (svn r20062) -Feature: customizable hotkeys for the airport toolbar 2010-07-03 18:10:18 +00:00
frosch 30b4228723 (svn r20060) -Fix (r20055): strnicmp() does not exist on all platforms. 2010-07-03 15:15:19 +00:00
yexo 70a35a94b5 (svn r20059) -Feature: customizable hotkeys for the main window (the global hotkeys) 2010-07-03 13:42:27 +00:00
yexo da57796d51 (svn r20058) -Feature: customizable hotkeys for the vehicle orders window 2010-07-03 13:29:19 +00:00
yexo fda69b2be3 (svn r20057) -Feature: customizable hotkeys for the terraform toolbar in scenario editor 2010-07-03 13:29:01 +00:00
yexo 44a49ac849 (svn r20056) -Feature: customizable hotkeys for the terraform toolbar 2010-07-03 13:28:48 +00:00
yexo 258ca28819 (svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg 2010-07-03 13:28:15 +00:00