23#ifndef MUTT_COLOR_CURSES2_H
24#define MUTT_COLOR_CURSES2_H
struct CursesColor * curses_color_new(color_t fg, color_t bg)
Create a new CursesColor.
void curses_color_free(struct CursesColor **ptr)
Free a CursesColor.
int32_t color_t
Type for 24-bit colour value.
void curses_colors_init(void)
Initialise the Curses colours.
struct CursesColor * curses_colors_find(color_t fg, color_t bg)
Find a Curses colour by foreground/background.
Convenience wrapper for the library headers.
#define TAILQ_HEAD(name, type)
Colour in the ncurses palette.
color_t fg
Foreground colour.
TAILQ_ENTRY(CursesColor) entries
Linked list.
color_t bg
Background colour.
short ref_count
Number of users.