Revision 336
even more docs
graph.h | ||
---|---|---|
11 | 11 |
*/ |
12 | 12 |
|
13 | 13 |
// Graphics modes |
14 |
/// @brief Indexed graphic mode, 1024x768 px |
|
14 | 15 |
#define INDEXED_1024_768 0x105 |
16 |
/// @brief Direct graphic mode, 640x480 px, RGB = 888 bits |
|
15 | 17 |
#define DIRECT_640_480_888 0x110 |
18 |
/// @brief Direct graphic mode, 800x600 px, RGB = 888 bits |
|
16 | 19 |
#define DIRECT_800_600_888 0x115 |
20 |
/// @brief Direct graphic mode, 1024x768 px, RGB = 888 bits |
|
17 | 21 |
#define DIRECT_1024_768_888 0x118 |
22 |
/// @brief Direct graphic mode, 1280x1024 px, RGB = 565 bits |
|
18 | 23 |
#define DIRECT_1280_1024_565 0x11A |
24 |
/// @brief Direct graphic mode, 1280x1024 px, RGB = 888 bits |
|
19 | 25 |
#define DIRECT_1280_1024_888 0x11B |
20 | 26 |
|
21 | 27 |
// Colors in RBG (8 bit) |
28 |
/// @brief Black color |
|
22 | 29 |
#define GRAPH_BLACK 0x000000 |
30 |
/// @brief White color |
|
23 | 31 |
#define GRAPH_WHITE 0xFFFFFF |
32 |
/// @brief Transparent |
|
24 | 33 |
#define GRAPH_TRANSPARENT 0x00 |
34 |
/// @brief Red color |
|
25 | 35 |
#define GRAPH_RED 0xFF0000 |
26 | 36 |
|
27 |
// Alpha
|
|
37 |
/// @brief Alpha threshold, from which it is either considered transparent or opaque
|
|
28 | 38 |
#define ALPHA_THRESHOLD 0x7F |
29 | 39 |
|
30 | 40 |
/** |
Also available in: Unified diff