aboutsummaryrefslogtreecommitdiff
path: root/input.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2018-09-05 00:35:24 +0530
committerDandelion <nirav@teisuu.com>2018-09-07 21:16:09 +0530
commit02f7a54e67260ee7995c6cd9bf40ae784b60203d (patch)
treed8bb663f273f4adf1d737ea39f19e5154c9ac07c /input.h
parent28e58ba0dbf30a4a28465f460c67e1c4337bd3a4 (diff)
downloadim-02f7a54e67260ee7995c6cd9bf40ae784b60203d.tar.gz
im-02f7a54e67260ee7995c6cd9bf40ae784b60203d.zip
Added image panning support, refactoring
Diffstat (limited to 'input.h')
-rw-r--r--input.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/input.h b/input.h
new file mode 100644
index 0000000..9d88383
--- /dev/null
+++ b/input.h
@@ -0,0 +1,13 @@
+#ifndef __INPUT_H
+#define __INPUT_H
+
+#include <gtk-3.0/gtk/gtk.h>
+
+void handle_key_press(GdkEventKey key);
+void handle_button_press(GdkEvent *event);
+void handle_button_release();
+void handle_mouse_move(gdouble x, gdouble y);
+void handle_scroll(GdkEvent *event);
+void handle_resize();
+
+#endif