add key modifiers to button event

This commit is contained in:
Cedric Roux
2016-05-19 15:28:28 +02:00
parent 262ab7090c
commit 4511fe7778
10 changed files with 39 additions and 19 deletions
+5
View File
@@ -12,6 +12,11 @@ typedef void widget;
#define BACKGROUND_COLOR 0
#define FOREGROUND_COLOR 1
/* key modifiers */
#define KEY_SHIFT (1<<0)
#define KEY_CONTROL (1<<1)
#define KEY_ALT (1<<2)
gui *gui_init(void);
/* position = -1 to put at the end */