diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-26 21:35:57 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-26 21:35:57 +0000 |
commit | 84281bdc44ea42e110efd256cdcdd37a84276204 (patch) | |
tree | 77b2b1f5e8bfc57bd6bdb82ac215e84d9f3179e2 /CRT.c | |
parent | 81e44312b4976d5516f129f36a67fe381bcb6883 (diff) |
major header cleanup
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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; |