NeoMutt
2025-12-11-1039-g550ac6
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
parse_color.h
Go to the documentation of this file.
1
22
23
#ifndef MUTT_COLOR_PARSE_COLOR_H
24
#define MUTT_COLOR_PARSE_COLOR_H
25
26
#include "
mutt/lib.h
"
27
#include "
core/lib.h
"
28
29
struct
AttrColor
;
30
31
extern
const
struct
Mapping
ColorNames
[];
32
33
enum
CommandResult
parse_attr_spec
(
const
struct
Command
*cmd,
struct
Buffer
*line,
struct
AttrColor
*ac,
struct
Buffer
*err);
34
enum
CommandResult
parse_color_pair
(
const
struct
Command
*cmd,
struct
Buffer
*line,
struct
AttrColor
*ac,
struct
Buffer
*err);
35
36
#endif
/* MUTT_COLOR_PARSE_COLOR_H */
CommandResult
CommandResult
Error codes for command_t parse functions.
Definition
command.h:37
lib.h
Convenience wrapper for the core headers.
parse_color_pair
enum CommandResult parse_color_pair(const struct Command *cmd, struct Buffer *line, struct AttrColor *ac, struct Buffer *err)
Parse a pair of colours - Implements parser_callback_t -.
Definition
parse_color.c:282
parse_attr_spec
enum CommandResult parse_attr_spec(const struct Command *cmd, struct Buffer *line, struct AttrColor *ac, struct Buffer *err)
Parse an attribute description - Implements parser_callback_t -.
Definition
parse_color.c:334
lib.h
Convenience wrapper for the library headers.
ColorNames
const struct Mapping ColorNames[]
Mapping between a colour name and an ncurses colour.
Definition
parse_color.c:42
AttrColor
A curses colour and its attributes.
Definition
attr.h:65
Buffer
String manipulation buffer.
Definition
buffer.h:36
Command
Definition
command.h:161
Mapping
Mapping between user-readable string and a constant.
Definition
mapping.h:33