diff options
Diffstat (limited to 'apps/plugins/xrick/data/img.h')
-rw-r--r-- | apps/plugins/xrick/data/img.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/plugins/xrick/data/img.h b/apps/plugins/xrick/data/img.h new file mode 100644 index 0000000000..96952627f9 --- /dev/null +++ b/apps/plugins/xrick/data/img.h | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * xrick/data/img.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 _IMG_H | ||
17 | #define _IMG_H | ||
18 | |||
19 | #include "xrick/system/basic_types.h" | ||
20 | |||
21 | typedef struct { | ||
22 | U8 r, g, b, nothing; | ||
23 | } img_color_t; | ||
24 | |||
25 | typedef struct { | ||
26 | U16 width; | ||
27 | U16 height; | ||
28 | U16 xPos; | ||
29 | U16 yPos; | ||
30 | U16 ncolors; | ||
31 | img_color_t *colors; | ||
32 | U8 *pixels; | ||
33 | } img_t; | ||
34 | |||
35 | extern img_t *img_splash; | ||
36 | |||
37 | #endif /* ndef _IMG_H */ | ||
38 | |||
39 | /* eof */ | ||