summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-12-26 21:35:57 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-12-26 21:35:57 +0000
commit84281bdc44ea42e110efd256cdcdd37a84276204 (patch)
tree77b2b1f5e8bfc57bd6bdb82ac215e84d9f3179e2 /CRT.c
parent81e44312b4976d5516f129f36a67fe381bcb6883 (diff)
major header cleanup
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/CRT.c b/CRT.c
index 949b543e..459a9c2e 100644
--- a/CRT.c
+++ b/CRT.c
@@ -7,19 +7,17 @@ in the source distribution for its full text.
#include "CRT.h"
+#include "config.h"
+#include "String.h"
+#include "debug.h"
+
#include <curses.h>
#include <signal.h>
#include <stdlib.h>
-#include <stdbool.h>
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#endif
-#include "String.h"
-
-#include "config.h"
-#include "debug.h"
-
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
#define COLORSCHEME_DEFAULT 0
@@ -40,9 +38,8 @@ in the source distribution for its full text.
//#link curses
-bool CRT_hasColors;
-
/*{
+#include <stdbool.h>
typedef enum ColorElements_ {
RESET_COLOR,
@@ -112,6 +109,8 @@ typedef enum ColorElements_ {
// TODO: centralize these in Settings.
+static bool CRT_hasColors;
+
int CRT_delay = 0;
int CRT_colorScheme = 0;

© 2014-2024 Faster IT GmbH | imprint | privacy policy