NeoMutt  2024-04-25-89-g194907
Teaching an old dog new tricks
No Matches
AttrColor Struct Reference

A curses colour and its attributes. More...

#include "attr.h"

+ Collaboration diagram for AttrColor:

Public Member Functions

 TAILQ_ENTRY (AttrColor) entries
 Linked list.

Data Fields

struct ColorElement fg
 Foreground colour.
struct ColorElement bg
 Background colour.
int attrs
 Text attributes, e.g. A_BOLD.
struct CursesColorcurses_color
 Underlying Curses colour.
short ref_count
 Number of users.

Detailed Description

A curses colour and its attributes.

Definition at line 65 of file attr.h.

Member Function Documentation


AttrColor::TAILQ_ENTRY ( AttrColor  )

Linked list.

Field Documentation

◆ fg

struct ColorElement AttrColor::fg

Foreground colour.

Definition at line 67 of file attr.h.

◆ bg

struct ColorElement AttrColor::bg

Background colour.

Definition at line 68 of file attr.h.

◆ attrs

int AttrColor::attrs

Text attributes, e.g. A_BOLD.

Definition at line 69 of file attr.h.

◆ curses_color

struct CursesColor* AttrColor::curses_color

Underlying Curses colour.

Definition at line 70 of file attr.h.

◆ ref_count

short AttrColor::ref_count

Number of users.

Definition at line 71 of file attr.h.

The documentation for this struct was generated from the following file: