summaryrefslogtreecommitdiff
path: root/src/ui/tui.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2024-12-21 21:47:19 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2024-12-21 21:47:19 +0330
commit217e7d18dbaa260a15f5612d9670105b04cd455f (patch)
tree8ed8aebbb02538472bf78a6c21b7d6a3406e21de /src/ui/tui.h
parentdd493a56e5c014f7c71d79c14215b514c5aca06e (diff)
Added ARGB colors
Diffstat (limited to 'src/ui/tui.h')
-rw-r--r--src/ui/tui.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/ui/tui.h b/src/ui/tui.h
index eda55ac..8678804 100644
--- a/src/ui/tui.h
+++ b/src/ui/tui.h
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>
#include <termios.h>
+#include <ui/color.h>
extern const int MAX_WIDTH;
extern const int MAX_HEIGHT;
@@ -35,18 +36,6 @@ typedef enum bool : uint8_t { false = 0, true = 1 } bool;
#endif
#endif
-typedef enum COLOR {
- COLOR_NO_COLOR = -1,
- COLOR_RESET = 0,
- COLOR_RED = 1,
- COLOR_GREEN = 2,
- COLOR_YELLOW = 3,
- COLOR_BLUE = 4,
- COLOR_MAGENTA = 5,
- COLOR_CYAN = 6,
- COLOR_WHITE = 7
-} COLOR;
-
typedef struct TERMINAL_CELL {
char c;
COLOR color;