Colour Debugging. More...
#include "config.h"#include <stdio.h>#include "mutt/lib.h"#include "gui/lib.h"#include "debug.h"#include "pager/lib.h"#include "attr.h"#include "curses2.h"#include "dump.h"#include "pager/private_data.h"
Include dependency graph for debug.c:Go to the source code of this file.
Functions | |
| const char * | color_log_color (color_t fg, color_t bg) |
| Get a colourful string to represent a colour in the log. | |
| void | ansi_colors_dump (struct Buffer *buf) |
| Dump all the ANSI colours. | |
| void | curses_color_dump (struct CursesColor *cc, const char *prefix) |
| Log one Curses colour. | |
| void | curses_colors_dump (struct Buffer *buf) |
| Dump all the Curses colours. | |
| void | merged_colors_dump (struct Buffer *buf) |
| Dump all the Merged colours. | |
Variables | |
| struct AttrColorList | MergedColors |
| Array of user colours. | |
| struct CursesColorList | CursesColors |
| List of all Curses colours. | |
Colour Debugging.
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 debug.c.
Get a colourful string to represent a colour in the log.
| fg | Foreground colour |
| bg | Background colour |
| ptr | Generated string |
Definition at line 51 of file debug.c.
Here is the caller graph for this function:| void ansi_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the ANSI colours.
| buf | Buffer for result |
Definition at line 83 of file debug.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void curses_color_dump | ( | struct CursesColor * | cc, |
| const char * | prefix ) |
Log one Curses colour.
| cc | CursesColor to log |
| prefix | Prefix for the log line |
Definition at line 121 of file debug.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void curses_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the Curses colours.
| buf | Buffer for result |
Definition at line 143 of file debug.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void merged_colors_dump | ( | struct Buffer * | buf | ) |
Dump all the Merged colours.
| buf | Buffer for result |
Definition at line 176 of file debug.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
extern |