mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
major header cleanup
This commit is contained in:
15
CRT.c
15
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;
|
||||
|
Reference in New Issue
Block a user