#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "dump.h"
#include "pager/lib.h"
#include "attr.h"
#include "color.h"
#include "parse_color.h"
#include "quoted.h"
#include "regex4.h"
#include "simple2.h"
Go to the source code of this file.
Functions | |
void | color_log_color_attrs (struct AttrColor *ac, struct Buffer *swatch) |
Get a colourful string to represent a colour in the log. | |
const char * | color_log_attrs_list (int attrs) |
Get a string to represent some attributes in the log. | |
const char * | color_log_name (char *buf, int buflen, struct ColorElement *elem) |
Get a string to represent a colour name. | |
void | quoted_colors_dump (struct Buffer *buf) |
Dump all the Quoted colours. | |
void | regex_colors_dump (struct Buffer *buf) |
Dump all the Regex colours. | |
void | simple_colors_dump (struct Buffer *buf) |
Dump all the Simple colours. | |
void | status_colors_dump (struct Buffer *buf) |
Dump all the Status colours. | |
void | color_dump (void) |
Display all the colours in the Pager. | |
Colour Dump Command.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file dump.c.
Get a colourful string to represent a colour in the log.
ac | Colour |
swatch | Buffer for swatch |
Definition at line 52 of file dump.c.
const char * color_log_attrs_list | ( | int | attrs | ) |
Get a string to represent some attributes in the log.
attrs | Attributes, e.g. A_UNDERLINE |
ptr | Generated string |
Definition at line 135 of file dump.c.
const char * color_log_name | ( | char * | buf, |
int | buflen, | ||
struct ColorElement * | elem | ||
) |
Get a string to represent a colour name.
ptr | Generated string |
Definition at line 165 of file dump.c.
void quoted_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the Quoted colours.
buf | Buffer for result |
Definition at line 222 of file dump.c.
void regex_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the Regex colours.
buf | Buffer for result |
Definition at line 254 of file dump.c.
void simple_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the Simple colours.
buf | Buffer for result |
Definition at line 304 of file dump.c.
void status_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the Status colours.
buf | Buffer for result |
Definition at line 386 of file dump.c.
void color_dump | ( | void | ) |
Display all the colours in the Pager.
Definition at line 450 of file dump.c.