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"
Include dependency graph for color.c:Go to the source code of this file.
Functions | |
| void | colors_init (void) |
| Initialize colours. | |
| void | colors_reset (void) |
| Reset all the simple, quoted and regex colours. | |
| void | colors_cleanup (void) |
| Cleanup all the 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_init | ( | void | ) |
Initialize colours.
Definition at line 49 of file color.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void colors_reset | ( | void | ) |
Reset all the simple, quoted and regex colours.
Definition at line 68 of file color.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void colors_cleanup | ( | void | ) |
Cleanup all the colours.
Definition at line 84 of file color.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 98 of file color.c.
Here is the caller graph for this function: