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 "color.h"
#include "curses2.h"
#include "debug.h"
#include "merged.h"
#include "notify2.h"
#include "quoted.h"
#include "regex4.h"
#include "simple2.h"
Go to the source code of this file.
Functions | |
void | colors_cleanup (void) |
Reset all the simple, quoted and regex colours. | |
void | mutt_colors_cleanup (void) |
Cleanup all the colours. | |
void | mutt_colors_init (void) |
Initialize colours. | |
bool | mutt_color_has_pattern (enum ColorId cid) |
Check if a color object supports a regex pattern. | |
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_cleanup | ( | void | ) |
Reset all the simple, quoted and regex colours.
Definition at line 49 of file color.c.
void mutt_colors_cleanup | ( | void | ) |
Cleanup all the colours.
Definition at line 64 of file color.c.
void mutt_colors_init | ( | void | ) |
Initialize colours.
Definition at line 74 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 97 of file color.c.