summaryrefslogtreecommitdiff
path: root/include/netsurf
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-01-19 21:15:08 +0000
committerVincent Sanders <vince@kyllikki.org>2017-01-19 21:15:08 +0000
commit70d700b26c13e04b601c4ac3db09514db473d01c (patch)
tree27daebf66a8b037fdd36619efe02785c839f9a9f /include/netsurf
parenta99c7a5c44fdd3f6ee1a0ec2b9beb5a1d6a32501 (diff)
downloadnetsurf-70d700b26c13e04b601c4ac3db09514db473d01c.tar.gz
netsurf-70d700b26c13e04b601c4ac3db09514db473d01c.tar.bz2
rationalise use of utils/utils.h header
Diffstat (limited to 'include/netsurf')
-rw-r--r--include/netsurf/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netsurf/types.h b/include/netsurf/types.h
index 27f2e8f2a..5c9501b5c 100644
--- a/include/netsurf/types.h
+++ b/include/netsurf/types.h
@@ -34,4 +34,12 @@
*/
typedef uint32_t colour;
+/**
+ * Rectangle coordinates
+ */
+typedef struct rect {
+ int x0, y0; /**< Top left */
+ int x1, y1; /**< Bottom right */
+} rect;
+
#endif