bug fixes, added background image
[winnie] / src / geom.h
index c294b54..203914a 100644 (file)
@@ -4,12 +4,12 @@
 struct Rect {
        int x, y;
        int width, height;
+
+       Rect();
+       Rect(int x, int y, int w, int h);
 };
 
-// TODO probably need to implement something like this:
-/*
 Rect rect_union(const Rect &a, const Rect &b);
 Rect rect_intersection(const Rect &a, const Rect &b);
-*/
 
 #endif // GEOM_H_