diff options
Diffstat (limited to 'apps/plugins/xrick/rects.h')
-rw-r--r-- | apps/plugins/xrick/rects.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/plugins/xrick/rects.h b/apps/plugins/xrick/rects.h new file mode 100644 index 0000000000..ed75f609aa --- /dev/null +++ b/apps/plugins/xrick/rects.h | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * xrick/rects.h | ||
3 | * | ||
4 | * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). | ||
5 | * Copyright (C) 2008-2014 Pierluigi Vicinanza. | ||
6 | * All rights reserved. | ||
7 | * | ||
8 | * The use and distribution terms for this software are contained in the file | ||
9 | * named README, which can be found in the root of this distribution. By | ||
10 | * using this software in any fashion, you are agreeing to be bound by the | ||
11 | * terms of this license. | ||
12 | * | ||
13 | * You must not remove this notice, or any other, from this software. | ||
14 | */ | ||
15 | |||
16 | #ifndef _RECTS_H | ||
17 | #define _RECTS_H | ||
18 | |||
19 | #include "xrick/system/basic_types.h" | ||
20 | |||
21 | typedef struct rect_s { | ||
22 | U16 x, y; | ||
23 | U16 width, height; | ||
24 | struct rect_s *next; | ||
25 | } rect_t; | ||
26 | |||
27 | extern void rects_free(rect_t *); | ||
28 | extern rect_t *rects_new(U16, U16, U16, U16, rect_t *); | ||
29 | |||
30 | #endif /* ndef _RECTS_H */ | ||
31 | |||
32 | /* eof */ | ||