term.h 298 Bytes
Newer Older
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef __TERM_H
#define __TERM_H

#define C_DIM 0x80
#define C_WHITE 7

#define C_GREY (C_WHITE | C_DIM)

#define C_RED 1
#define C_GREEN 2
#define C_BLUE 4

void cprintf(int color, const char *fmt, ...);
void pcprintf(int row, int col, int color, const char *fmt, ...);
void term_clear();

#endif