23#ifndef MUTT_COLOR_ATTR_H
24#define MUTT_COLOR_ATTR_H
void attr_color_clear(struct AttrColor *ac)
Free the contents of an AttrColor.
struct AttrColor * attr_color_list_find(struct AttrColorList *acl, uint32_t fg, uint32_t bg, int attrs)
Find an AttrColor in a list.
bool attr_color_is_set(struct AttrColor *ac)
Is the object coloured?
bool attr_color_match(struct AttrColor *ac1, struct AttrColor *ac2)
Do the colours match?
struct AttrColor attr_color_copy(const struct AttrColor *ac)
Copy a colour.
struct AttrColor * attr_color_new(void)
Create a new AttrColor.
void attr_color_free(struct AttrColor **ptr)
Free an AttrColor.
TAILQ_HEAD(AttrColorList, AttrColor)
void attr_color_list_clear(struct AttrColorList *acl)
Free the contents of an AttrColorList.
Convenience wrapper for the library headers.
A curses colour and its attributes.
TAILQ_ENTRY(AttrColor) entries
Linked list.
short ref_count
Number of users.
int attrs
Text attributes, e.g. A_BOLD.
struct CursesColor * curses_color
Underlying Curses colour.
Colour in the ncurses palette.