/shark/trunk/drivers/fb/include/drivers/shark_fb26.h |
---|
50,6 → 50,8 |
void grx_circle(WORD x, WORD y, WORD r, DWORD col); |
void grx_disc(WORD x, WORD y, WORD r, DWORD col); |
int vga16color[16]; |
/* 15bpp, 16bpp, 24bpp and 32bpp colors... */ |
#define color15(r, g, b) (((WORD)(r & 0x1F) << 10) | ((WORD)(g & 0x1F) << 5) | ((WORD)(b & 0x1F))) |
#define color16(r, g, b) (((WORD)(r & 0x1F) << 11) | ((WORD)(g & 0x3F) << 5) | ((WORD)(b & 0x1F))) |