diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-01-19 21:15:08 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-01-19 21:15:08 +0000 |
commit | 70d700b26c13e04b601c4ac3db09514db473d01c (patch) | |
tree | 27daebf66a8b037fdd36619efe02785c839f9a9f /include/netsurf/types.h | |
parent | a99c7a5c44fdd3f6ee1a0ec2b9beb5a1d6a32501 (diff) | |
download | netsurf-70d700b26c13e04b601c4ac3db09514db473d01c.tar.gz netsurf-70d700b26c13e04b601c4ac3db09514db473d01c.tar.bz2 |
rationalise use of utils/utils.h header
Diffstat (limited to 'include/netsurf/types.h')
-rw-r--r-- | include/netsurf/types.h | 8 |
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 |