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 "lib/global.h" /* glib.h */
18 # include "color-slang.h"
20 # include "tty-ncurses.h"
23 /* colors specified on the command line: they override any other setting */
24 extern char *command_line_colors
;
26 void tty_init_colors (gboolean disable
, gboolean force
);
27 void tty_colors_done (void);
29 gboolean
tty_use_colors (void);
30 int tty_try_alloc_color_pair (const char *, const char *);
31 int tty_try_alloc_color_pair2 (const char *, const char *, gboolean
);
33 void tty_color_free_all_tmp (void);
34 void tty_color_free_all_non_tmp (void);
36 void tty_setcolor (int color
);
37 void tty_lowlevel_setcolor (int color
);
38 void tty_set_normal_attrs (void);
40 void tty_color_set_defaults (const char *, const char *);
42 #define ALLOC_COLOR_PAIR_INDEX 1
44 #endif /* MC_COLOR_H */