Colour Debugging. More...
Go to the source code of this file.
Functions | |
const char * | color_debug_log_color_attrs (int fg, int bg, int attrs) |
Get a colourful string to represent a colour in the log. More... | |
const char * | color_debug_log_name (char *buf, int buflen, int color) |
Get a string to represent a colour name. More... | |
const char * | color_debug_log_attrs_list (int attrs) |
Get a string to represent some attributes in the log. More... | |
static const char * | color_debug_log_attrs (int attrs) |
static const char * | color_debug_log_color (int fg, int bg) |
static void | attr_color_dump (struct AttrColor *ac, const char *prefix) |
static void | attr_color_list_dump (struct AttrColorList *acl, const char *title) |
static void | curses_color_dump (struct CursesColor *cc, const char *prefix) |
static void | curses_colors_dump (void) |
static void | merged_colors_dump (void) |
static void | quoted_color_dump (struct AttrColor *ac, int q_level, const char *prefix) |
static void | quoted_color_list_dump (void) |
static void | regex_color_dump (struct RegexColor *rcol, const char *prefix) |
static void | regex_color_list_dump (const char *name, struct RegexColorList *rcl) |
static void | regex_colors_dump_all (void) |
static void | simple_color_dump (enum ColorId cid, const char *prefix) |
static void | simple_colors_dump (bool force) |
static int | color_debug (enum LogLevel level, const char *format,...) |
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.h.
const char * color_debug_log_color_attrs | ( | int | fg, |
int | bg, | ||
int | attrs | ||
) |
Get a colourful string to represent a colour in the log.
fg | Foreground colour |
bg | Background colour |
attrs | Attributes, e.g. A_UNDERLINE |
ptr | Generated string |
Definition at line 67 of file debug.c.
const char * color_debug_log_name | ( | char * | buf, |
int | buflen, | ||
int | color | ||
) |
Get a string to represent a colour name.
ptr | Generated string |
Definition at line 181 of file debug.c.
const char * color_debug_log_attrs_list | ( | int | attrs | ) |
Get a string to represent some attributes in the log.
attrs | Attributes, e.g. A_UNDERLINE |
ptr | Generated string |
Definition at line 150 of file debug.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |