From a69e0fa11aa64c6b27e903821a3b8d008f33cc06 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 30 Aug 2020 12:52:18 +0200 Subject: removed unused functions, removed color.{c,h} --- src/color.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/color.h (limited to 'src/color.h') diff --git a/src/color.h b/src/color.h deleted file mode 100644 index ffe1916..0000000 --- a/src/color.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef _COLOR_H_ -#define _COLOR_H_ - -#include -#include -#include -#include - -#define _COLORS_SIZE 16u -#define COLOR_FG 1 -#define COLOR_BG 2 - -struct console_color -{ - uint8_t R; - uint8_t G; - uint8_t B; - - char *no; -}; - -extern struct console_color colors[ _COLORS_SIZE ]; - -//Calculate luminance -//Order LSB first: BGR -uint8_t rgb_luminance(uint8_t R, uint8_t G, uint8_t B); - -char *calc_col_ansi(uint8_t R, uint8_t G, uint8_t B, uint8_t _mode); -#endif //_COLOR_H_ -- cgit v1.2.3