Color and attribute parsing. More...
#include "config.h"
#include <stdbool.h>
#include <stdio.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
Go to the source code of this file.
Functions | |
void | colors_clear (void) |
Reset all the simple, quoted and regex colours. More... | |
void | mutt_colors_cleanup (void) |
Cleanup all the colours. More... | |
void | mutt_colors_init (void) |
Initialize colours. More... | |
bool | mutt_color_has_pattern (enum ColorId cid) |
Check if a color object supports a regex pattern. More... | |
Variables | |
const struct Mapping | ColorNames [] |
Color and attribute parsing.
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 color.c.
void colors_clear | ( | void | ) |
Reset all the simple, quoted and regex colours.
Definition at line 56 of file color.c.
void mutt_colors_cleanup | ( | void | ) |
Cleanup all the colours.
Definition at line 71 of file color.c.
void mutt_colors_init | ( | void | ) |
Initialize colours.
Definition at line 81 of file color.c.
bool mutt_color_has_pattern | ( | enum ColorId | cid | ) |
Check if a color object supports a regex pattern.
cid | Object type, e.g. MT_COLOR_TILDE |
true | The color object supports patterns |
Definition at line 103 of file color.c.
const struct Mapping ColorNames[] |