Refactoring, license, Box UI framework
This commit is contained in:
28
ui.h
Normal file
28
ui.h
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
/*
|
||||
* Copyright (C) Artsiom D.
|
||||
* Copyright (C) shit-co.de
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
enum ui_color {
|
||||
UI_RED = 1,
|
||||
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(size_t x, size_t y, char c);
|
||||
void ui_string(size_t x, size_t y, char *s);
|
||||
|
||||
void ui_refresh(void);
|
||||
void ui_clear(void);
|
||||
Reference in New Issue
Block a user