NeoMutt  2024-12-12-14-g7b49f7
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 "color.h"
29
30struct AttrColor;
31
32void simple_colors_init (void);
33void simple_colors_reset (void);
34void simple_colors_cleanup(void);
35
36struct AttrColor *simple_color_get (enum ColorId cid);
37bool simple_color_is_set (enum ColorId cid);
38void simple_color_reset (enum ColorId cid);
39struct AttrColor *simple_color_set (enum ColorId cid, struct AttrColor *ac_val);
40
41#endif /* MUTT_COLOR_SIMPLE2_H */
Color and attribute parsing.
ColorId
List of all coloured objects.
Definition: color.h:36
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:127
void simple_colors_cleanup(void)
Cleanup the simple colour definitions.
Definition: simple.c:83
void simple_colors_reset(void)
Reset the simple colour definitions.
Definition: simple.c:70
void simple_color_reset(enum ColorId cid)
Clear the colour of a simple object.
Definition: simple.c:150
bool simple_color_is_set(enum ColorId cid)
Is the object coloured?
Definition: simple.c:116
struct AttrColor * simple_color_get(enum ColorId cid)
Get the colour of an object by its ID.
Definition: simple.c:95
A curses colour and its attributes.
Definition: attr.h:66