bringelle/src/utils/print.h

23 lines
412 B
C
Raw Normal View History

2021-04-04 11:19:55 +02:00
#ifndef PRINT_H
#define PRINT_H
2021-04-05 14:46:31 +02:00
#include "types.h"
typedef enum VIDEO_COLORS {
BLACK=0, BLUE=1, GREEN=2,CYAN=3, RED=4,PURPLE=5,BROWN=6,GRAY=7,
DARK_GRAY=8,LIGHT_BLUE=9,LIGHT_GREEN=10,LIGHT_CYAN=11,LIGHT_RED=12,LIGHT_PURPLE=13,YELLOW=14,WHITE=15
} VIDEO_COLORS;
typedef struct VIDEO_STATE VIDEO_STATE;
2021-04-04 11:19:55 +02:00
2021-04-04 14:03:26 +02:00
/**
* Print char
*/
2021-04-04 11:19:55 +02:00
void putchar(char);
2021-04-04 14:03:26 +02:00
void print(char*);
void scrollup();
void clear();
2021-04-04 11:19:55 +02:00
#endif