void attr_color_overwrite(struct AttrColor *ac_old, struct AttrColor *ac_new)
Update an AttrColor in-place.
void attr_color_clear(struct AttrColor *ac)
Free the contents of an AttrColor.
bool attr_color_is_set(const struct AttrColor *ac)
Is the object coloured?
void get_colorid_name(unsigned int cid, struct Buffer *buf)
Get the name of a color id.
struct Notify * ColorsNotify
Notifications: ColorId, EventColor.
void simple_colors_init(void)
Initialise the simple colour definitions.
struct AttrColor * simple_color_set(enum ColorId cid, struct AttrColor *ac_val)
Set the colour of a simple object.
void simple_colors_cleanup(void)
Cleanup the simple colour definitions.
void simple_colors_reset(void)
Reset the simple colour definitions.
void simple_color_reset(enum ColorId cid)
Clear the colour of a simple object.
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.
struct AttrColor SimpleColors[MT_COLOR_MAX]
Array of Simple colours.
Color and attribute parsing.
ColorId
List of all coloured objects.
@ MT_COLOR_MARKERS
Pager: markers, line continuation.
@ MT_COLOR_STATUS
Status bar (takes a pattern)
@ MT_COLOR_INDICATOR
Selected item in list.
@ MT_COLOR_STRIPE_EVEN
Stripes: even lines of the Help Page.
@ MT_COLOR_NONE
No colour.
@ MT_COLOR_BOLD
Bold text.
@ MT_COLOR_SEARCH
Pager: search matches.
@ MT_COLOR_ITALIC
Italic text.
@ MT_COLOR_UNDERLINE
Underlined text.
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_DEBUG1
Log at debug level 1.
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_SET
Color has been set.
@ NT_COLOR
Colour has changed, NotifyColor, EventColor.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
A curses colour and its attributes.
struct ColorElement bg
Background colour.
struct ColorElement fg
Foreground colour.
int attrs
Text attributes, e.g. A_BOLD.
String manipulation buffer.
char * data
Pointer to data.
An Event that happened to a Colour.
enum ColorId cid
Colour ID that has changed.