void mutt_color_observer_remove(observer_t callback, void *global_data)
Remove an observer.
void mutt_color_observer_add(observer_t callback, void *global_data)
Add an observer.
bool simple_color_is_set(enum ColorId cid)
Is the object coloured?
struct AttrColor * simple_color_get(enum ColorId cid)
Get the colour of an object by its ID.
Color and attribute parsing.
ColorId
List of all coloured objects.
@ MT_COLOR_QUOTED0
Pager: quoted text, level 0.
@ MT_COLOR_QUOTED9
Pager: quoted text, level 9.
static int quoted_color_observer(struct NotifyCallback *nc)
Notification that a Color has changed - Implements observer_t -.
Convenience wrapper for the library headers.
@ NT_COLOR
Colour has changed, NotifyColor, EventColor.
struct AttrColor * quoted_colors_get(int q)
Return the color of a quote, cycling through the used quotes.
int quoted_colors_num_used(void)
Return the number of used quotes.
static int NumQuotedColors
Number of colours for quoted email text.
void quoted_colors_init(void)
Initialise the Quoted colours.
void quoted_colors_reset(void)
Reset the quoted-email colours.
void quoted_colors_cleanup(void)
Cleanup the quoted-email colours.
#define COLOR_QUOTED(cid)
A curses colour and its attributes.
An Event that happened to a Colour.
enum ColorId cid
Colour ID that has changed.
Data passed to a notification function.
void * event_data
Data from notify_send()
enum NotifyType event_type
Send: Event type, e.g. NT_ACCOUNT.