*work in progress*
[winnie] / src / mouse.h
diff --git a/src/mouse.h b/src/mouse.h
new file mode 100644 (file)
index 0000000..535f0d4
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef MOUSE_H_
+#define MOUSE_H_
+
+struct Rect;
+
+bool init_mouse();
+void destroy_mouse();
+
+void set_mouse_bounds(const Rect &rect);
+
+int get_mouse_fd();
+void process_mouse_event();
+
+void get_pointer_pos(int *x, int *y);
+int get_button_state(int bn);
+
+#endif // MOUSE_H_