blob: d2ed13d8a9ff34c480f324357147ec60c24c75ac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef RALEIGH_UTIL_H
#define RALEIGH_UTIL_H
#include <stdint.h>
#define RGB(R, G, B) ((_pixel_t){.r = 0x##R, .g = 0x##G, .b = 0x##B})
struct coord {
uint32_t x;
uint32_t y;
coord(uint32_t x, uint32_t y);
coord();
};
#endif
|