summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-19 14:23:43 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-19 14:23:43 -0500
commit34fa190c3d490dd8cfec37d27bc03182f2a725a2 (patch)
tree8e9746d787247bf22d0841df091db3888009bc29 /ted.h
parent2151df75cb8646381d3c4bf95379c8f568dcd9eb (diff)
ctrl+click to go to definition
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