Color private Module data.
void color_notify_init(struct Notify **colors_notify, struct Notify *parent)
Initialise the Colour notification.
void color_notify_cleanup(struct Notify **colors_notify)
Free the Colour notification.
void regex_colors_cleanup(struct ColorModuleData *mod_data)
Cleanup the Regex colours.
void regex_colors_reset(struct ColorModuleData *mod_data)
Reset the Regex colours.
void regex_colors_init(struct ColorModuleData *mod_data)
Initialise the Regex colours.
void simple_colors_init(struct AttrColor *simple_colors)
Initialise the simple colour definitions.
void simple_colors_cleanup(struct AttrColor *simple_colors)
Cleanup the simple colour definitions.
void simple_colors_reset(struct AttrColor *simple_colors)
Reset the simple colour definitions.
bool mutt_color_has_pattern(enum ColorId cid)
Check if a color object supports a regex pattern.
void colors_cleanup(struct ColorModuleData *mod_data)
Cleanup all the colours.
void colors_reset(struct ColorModuleData *mod_data)
Reset all the simple, quoted and regex colours.
void colors_init(struct ColorModuleData *mod_data)
Initialize colours.
Color and attribute parsing.
ColorId
List of all coloured 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(struct CursesColorList *curses_colors, int *num_curses_colors)
Initialise the Curses colours.
static int color_debug(enum LogLevel level, const char *format,...)
#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_cleanup(struct AttrColorList *merged_colors)
Free the list of Merged colours.
void merged_colors_init(struct AttrColorList *merged_colors)
Initialise the 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.
@ NT_COLOR_RESET
Color has been reset/removed.
@ NT_COLOR
Colour has changed, NotifyColor, EventColor.
void quoted_colors_reset(int *num_quoted_colors)
Reset the quoted-email colours.
void quoted_colors_cleanup(int *num_quoted_colors)
Cleanup the quoted-email colours.
void quoted_colors_init(void)
Initialise the Quoted colours.
Color private Module data.
struct AttrColorList merged_colors
Array of user colours.
int num_curses_colors
Number of ncurses colours left to allocate.
struct CursesColorList curses_colors
List of all Curses colours.
struct Notify * colors_notify
Notifications: ColorId, EventColor.
struct AttrColor simple_colors[MT_COLOR_MAX]
Array of Simple colours.
int num_quoted_colors
Number of colours for quoted email text.
An Event that happened to a Colour.
enum ColorId cid
Colour ID that has changed.
Container for Accounts, Notifications.
struct Notify * notify
Notifications handler.