diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-31 14:25:30 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-31 14:25:30 -0500 |
commit | e26bc35d04c136a142da37a87f6ba47940399879 (patch) | |
tree | 8a537dcff79d0915c46249db336fa30e79a190d3 /ted-base.c | |
parent | e5ccfb4ee98da03ac5423c0570a4da33ef85b975 (diff) |
started color customization
Diffstat (limited to 'ted-base.c')
-rw-r--r-- | ted-base.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ typedef struct { i64 argument; } KeyAction; +typedef struct { + u32 colors[COLOR_COUNT]; +} Settings; + #define SCANCODE_COUNT 0x120 // SDL scancodes should be less than this value. // a "key combo" is some subset of {control, shift, alt} + some key. #define KEY_COMBO_COUNT (SCANCODE_COUNT << 3) |