summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index b713d3f..e9b8904 100644
--- a/ted.h
+++ b/ted.h
@@ -227,6 +227,7 @@ typedef struct Ted {
Node *active_node;
Settings settings;
float window_width, window_height;
+ u32 key_modifier; // which of shift, alt, ctrl are down right now.
v2 mouse_pos;
u8 nmouse_clicks[4]; // nmouse_clicks[i] = length of mouse_clicks[i]
v2 mouse_clicks[4][32]; // mouse_clicks[SDL_BUTTON_RIGHT], for example, is all the right mouse-clicks that have happened this frame