summaryrefslogtreecommitdiff
path: root/ted-base.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-12-31 14:25:30 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-12-31 14:25:30 -0500
commite26bc35d04c136a142da37a87f6ba47940399879 (patch)
tree8a537dcff79d0915c46249db336fa30e79a190d3 /ted-base.c
parente5ccfb4ee98da03ac5423c0570a4da33ef85b975 (diff)
started color customization
Diffstat (limited to 'ted-base.c')
-rw-r--r--ted-base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted-base.c b/ted-base.c
index 1024404..8771f02 100644
--- a/ted-base.c
+++ b/ted-base.c
@@ -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)