aboutsummaryrefslogtreecommitdiff
path: root/src/color.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-08-30 12:52:18 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-08-30 12:52:18 +0200
commita69e0fa11aa64c6b27e903821a3b8d008f33cc06 (patch)
tree852554cdb93083c23fe51067638d45827d11f44d /src/color.h
parent4a395cae20c9cd0dcb8437390cf5e470e3c1720b (diff)
downloadAsciiMap-a69e0fa11aa64c6b27e903821a3b8d008f33cc06.tar.gz
removed unused functions, removed color.{c,h}
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h29
1 files changed, 0 insertions, 29 deletions
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 <stdint.h>
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#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_