aboutsummaryrefslogtreecommitdiff
path: root/rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'rect.h')
-rw-r--r--rect.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/rect.h b/rect.h
new file mode 100644
index 0000000..6f45705
--- /dev/null
+++ b/rect.h
@@ -0,0 +1,10 @@
+#ifndef rect_h
+#define rect_h
+
+typedef struct {
+ int x, y, w, h;
+} Rectangle;
+
+Rectangle make_rect(int x, int y, int w, int h);
+
+#endif