NeoMutt  2024-04-25-85-g27bab4
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
simple2.h
Go to the documentation of this file.
1
23#ifndef MUTT_COLOR_SIMPLE2_H
24#define MUTT_COLOR_SIMPLE2_H
25
26#include "config.h"
27#include <stdbool.h>
28#include "attr.h"
29#include "color.h"
30
31extern struct AttrColor SimpleColors[];
32
33struct AttrColor *simple_color_get (enum ColorId cid);
34bool simple_color_is_header(enum ColorId cid);
35bool simple_color_is_set (enum ColorId cid);
36void simple_color_reset (enum ColorId cid);
37struct AttrColor *simple_color_set (enum ColorId cid, struct AttrColor *ac_val);
38
39void simple_colors_cleanup(void);
40void simple_colors_init(void);
41
42#endif /* MUTT_COLOR_SIMPLE2_H */
Colour and attributes.
Color and attribute parsing.
ColorId
List of all colored objects.
Definition: color.h:40
void simple_colors_init(void)
Initialise the simple colour definitions.
Definition: simple.c:47
struct AttrColor * simple_color_set(enum ColorId cid, struct AttrColor *ac_val)
Set the colour of a simple object.
Definition: simple.c:130
struct AttrColor SimpleColors[]
Array of Simple colours.
Definition: simple.c:42
void simple_colors_cleanup(void)
Reset the simple colour definitions.
Definition: simple.c:71
bool simple_color_is_header(enum ColorId cid)
Colour is for an Email header.
Definition: simple.c:119
void simple_color_reset(enum ColorId cid)
Clear the colour of a simple object.
Definition: simple.c:153
bool simple_color_is_set(enum ColorId cid)
Is the object coloured?
Definition: simple.c:109
struct AttrColor * simple_color_get(enum ColorId cid)
Get the colour of an object by its ID.
Definition: simple.c:88
A curses colour and its attributes.
Definition: attr.h:66