23#ifndef MUTT_COLOR_QUOTED_H
24#define MUTT_COLOR_QUOTED_H
36#define COLOR_QUOTES_MAX 10
Color and attribute parsing.
ColorId
List of all colored objects.
CommandResult
Error codes for command_t parse functions.
Convenience wrapper for the core headers.
enum CommandResult quoted_colors_parse_uncolor(enum ColorId cid, int q_level, struct Buffer *err)
Parse the 'uncolor quoted' command.
struct QuoteStyle * qstyle_classify(struct QuoteStyle **quote_list, const char *qptr, size_t length, bool *force_redraw, int *q_level)
Find a style for a string.
struct AttrColor * quoted_colors_get(int q)
Return the color of a quote, cycling through the used quotes.
void qstyle_recolor(struct QuoteStyle *quote_list)
Recolour quotes after colour changes.
bool quoted_colors_parse_color(enum ColorId cid, struct AttrColor *ac_val, int q_level, int *rc, struct Buffer *err)
Parse the 'color quoted' command.
int quoted_colors_num_used(void)
Return the number of used quotes.
int NumQuotedColors
Number of colours for quoted email text.
void qstyle_free_tree(struct QuoteStyle **quote_list)
Free an entire tree of QuoteStyle.
void quoted_colors_init(void)
Initialise the Quoted colours.
void quoted_colors_cleanup(void)
Reset the quoted-email colours.
struct AttrColor QuotedColors[]
Array of colours for quoted email text.
A curses colour and its attributes.
String manipulation buffer.
struct AttrColor * attr_color
Colour and attribute of the text.
struct QuoteStyle * next
Different quoting styles at the same level.
size_t prefix_len
Length of the prefix string.
char * prefix
Prefix string, e.g. "> ".
struct QuoteStyle * down
Parent (less quoted) and child (more quoted) levels.
int quote_n
The quoteN colour index for this level.