summaryrefslogtreecommitdiff
path: root/render/geom.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 04:31:34 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 04:31:34 +0000
commit58be655de321369ceec5819a3516003a05ead575 (patch)
tree0d698ccd1a8e0d23ff081662fe9ee6fd3f637e7a /render/geom.h
parent2abbf01125731caf99490eca58db6debce717947 (diff)
remove rependancy on geom.h from the kernel, provide what is used in its own geom.h
Diffstat (limited to 'render/geom.h')
-rw-r--r--render/geom.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/render/geom.h b/render/geom.h
new file mode 100644
index 00000000..f6fa4f24
--- /dev/null
+++ b/render/geom.h
@@ -0,0 +1,19 @@
+#ifndef __geom_h
+#define __geom_h
+
+typedef struct {
+ int width;
+ int height;
+} RrSize;
+
+typedef struct {
+ int x;
+ int y;
+ int width;
+ int height;
+} RrRect;
+
+#define RECT_SET(r, nx, ny, w, h) \
+ (r).x = (nx), (r).y = (ny), (r).width = (w), (r).height = (h)
+
+#endif