40 {
"black", COLOR_BLACK },
41 {
"blue", COLOR_BLUE },
42 {
"cyan", COLOR_CYAN },
43 {
"green", COLOR_GREEN },
44 {
"magenta", COLOR_MAGENTA },
46 {
"white", COLOR_WHITE },
47 {
"yellow", COLOR_YELLOW },
void color_notify_free(void)
Free the Colour notification.
struct Notify * ColorsNotify
Notifications: ColorId, EventColor.
void color_notify_init(void)
Initialise the Colour notification.
void regex_colors_clear(void)
Clear the Regex colours.
void regex_colors_init(void)
Initialise the Regex colours.
void simple_colors_init(void)
Initialise the simple colour definitions.
void simple_colors_clear(void)
Reset the simple colour definitions.
const struct Mapping ColorNames[]
bool mutt_color_has_pattern(enum ColorId cid)
Check if a color object supports a regex pattern.
void mutt_colors_cleanup(void)
Cleanup all the colours.
void mutt_colors_init(void)
Initialize colours.
void colors_clear(void)
Reset all the simple, quoted and regex colours.
ColorId
List of all colored objects.
@ MT_COLOR_INDEX_AUTHOR
Index: author field.
@ MT_COLOR_HEADER
Message headers (takes a pattern)
@ MT_COLOR_STATUS
Status bar (takes a pattern)
@ MT_COLOR_INDEX_SIZE
Index: size field.
@ MT_COLOR_INDEX_TAGS
Index: tags field (g, J)
@ MT_COLOR_INDEX_SUBJECT
Index: subject field.
@ MT_COLOR_BODY
Pager: highlight body of message (takes a pattern)
@ MT_COLOR_INDEX_DATE
Index: date field.
@ MT_COLOR_INDEX_TAG
Index: tag field (G)
@ MT_COLOR_ATTACH_HEADERS
MIME attachment test (takes a pattern)
@ MT_COLOR_INDEX_LABEL
Index: label field.
@ MT_COLOR_INDEX
Index: default colour.
@ MT_COLOR_INDEX_NUMBER
Index: index number.
@ MT_COLOR_INDEX_FLAGS
Index: flags field.
@ MT_COLOR_INDEX_COLLAPSED
Index: number of messages in collapsed thread.
Convenience wrapper for the core headers.
void curses_colors_init(void)
Initialise the Curses colours.
int color_debug(enum LogLevel level, const char *format,...)
Write to the log file.
#define mutt_debug(LEVEL,...)
Convenience wrapper for the gui headers.
@ LL_DEBUG5
Log at debug level 5.
@ LL_NOTIFY
Log of notifications.
void merged_colors_init(void)
Initialise the Merged colours.
void merged_colors_clear(void)
Free the list of Merged colours.
Convenience wrapper for the library headers.
bool notify_send(struct Notify *notify, enum NotifyType event_type, int event_subtype, void *event_data)
Send out a notification message.
void notify_set_parent(struct Notify *notify, struct Notify *parent)
Set the parent notification handler.
@ NT_COLOR_RESET
Color has been reset/removed.
@ NT_COLOR
Colour has changed, NotifyColor, EventColor.
void quoted_colors_clear(void)
Reset the quoted-email colours.
An Event that happened to a Colour.
enum ColorId cid
Colour ID that has changed.
Mapping between user-readable string and a constant.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.