Revision 253
commited some stuff
graph.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
#include "graph_macros.h" |
5 | 5 |
|
6 |
// Colors in RBG (8 bit) |
|
7 |
#define GRAPH_BLACK 0x000000 |
|
8 |
#define GRAPH_WHITE 0xFFFFFF |
|
9 |
|
|
10 |
// Alpha |
|
11 |
#define ALPHA_THRESHOLD 0x7F |
|
12 |
|
|
6 | 13 |
/// MACROS |
7 | 14 |
#define GET_ALP(n) (0xFF & ((n) >> 24)) |
8 | 15 |
#define GET_RED(n) (0xFF & ((n) >> 16)) |
Also available in: Unified diff