33 lines
467 B
C
33 lines
467 B
C
|
|
/*
|
|
* Copyright (C) Artsiom D.
|
|
* Copyright (C) shit-co.de
|
|
*/
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
enum ui_color {
|
|
UI_NONE,
|
|
UI_RED,
|
|
UI_GREEN,
|
|
UI_BLUE,
|
|
};
|
|
|
|
|
|
void ui_init(void);
|
|
void ui_end(void);
|
|
|
|
void ui_color_on(enum ui_color);
|
|
void ui_color_off(enum ui_color);
|
|
|
|
void ui_char(unsigned int x, unsigned int y, char c);
|
|
void ui_string(unsigned int x, unsigned int y, char *s);
|
|
|
|
size_t ui_width(void);
|
|
size_t ui_height(void);
|
|
|
|
void ui_refresh(void);
|
|
void ui_clear(void);
|