23#ifndef MUTT_COLOR_CURSES2_H
24#define MUTT_COLOR_CURSES2_H
void curses_color_free(struct CursesColor **ptr)
Free a CursesColor.
struct CursesColor * curses_colors_find(int fg, int bg)
Find a Curses colour by foreground/background.
struct CursesColor * curses_color_new(int fg, int bg)
Create a new CursesColor.
void curses_colors_init(void)
Initialise the Curses colours.
int NumCursesColors
Number of ncurses colours left to allocate.
struct CursesColorList CursesColors
List of all Curses colours.
Convenience wrapper for the library headers.
#define TAILQ_HEAD(name, type)
Colour in the ncurses palette.
TAILQ_ENTRY(CursesColor) entries
Linked list.
uint32_t fg
Foreground colour.
uint32_t bg
Background colour.
short ref_count
Number of users.