From 70d700b26c13e04b601c4ac3db09514db473d01c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 19 Jan 2017 21:15:08 +0000 Subject: rationalise use of utils/utils.h header --- include/netsurf/types.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/netsurf') 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 -- cgit v1.2.3