3 * \brief Header: color setup
5 * PLEASE FORGOT ABOUT tty/color.h!
6 * Use skin engine for getting needed color pairs.
8 * edit/syntax.c may use this file directly, I'm agree. :)
15 #include "../../src/global.h" /* glib.h */
18 # include "../../src/tty/color-slang.h"
20 # include "../../src/tty/tty-ncurses.h"
23 extern char *command_line_colors
;
25 void tty_init_colors (gboolean disable
, gboolean force
);
26 void tty_colors_done (void);
28 gboolean
tty_use_colors (void);
29 int tty_try_alloc_color_pair (const char *, const char *);
30 int tty_try_alloc_color_pair2 (const char *, const char *, gboolean
);
32 void tty_color_free_all_tmp (void);
33 void tty_color_free_all_non_tmp (void);
35 void tty_setcolor (int color
);
36 void tty_lowlevel_setcolor (int color
);
37 void tty_set_normal_attrs (void);
39 void tty_color_set_defaults (const char *, const char *);
41 #define ALLOC_COLOR_PAIR_INDEX 1
43 #endif /* MC_COLOR_H */