print.h File Reference

#include <stdio.h>
#include <stdarg.h>
Include dependency graph for print.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  terminal_tools

Enumerations

enum  terminal_tools::TT_ATTIBUTES {
  terminal_tools::TT_RESET = 0, terminal_tools::TT_BRIGHT = 1, terminal_tools::TT_DIM = 2, terminal_tools::TT_UNDERLINE = 3,
  terminal_tools::TT_BLINK = 4, terminal_tools::TT_REVERSE = 7, terminal_tools::TT_HIDDEN = 8
}
enum  terminal_tools::TT_COLORS {
  terminal_tools::TT_BLACK, terminal_tools::TT_RED, terminal_tools::TT_GREEN, terminal_tools::TT_YELLOW,
  terminal_tools::TT_BLUE, terminal_tools::TT_MAGENTA, terminal_tools::TT_CYAN, terminal_tools::TT_WHITE
}

Functions

void terminal_tools::change_text_color (FILE *stream, int attribute, int fg)
 Change the text color (on either stdout or stderr) with an attr:fg.
void terminal_tools::change_text_color (FILE *stream, int attribute, int fg, int bg)
 Change the text color (on either stdout or stderr) with an attr:fg:bg.
void terminal_tools::print_color (FILE *stream, int attr, int fg, const char *format,...)
 Print a message on stream with colors.
void terminal_tools::print_debug (FILE *stream, const char *format,...)
 Print a debug message on stream with colors.
void terminal_tools::print_debug (const char *format,...)
 Print a debug message on stream with colors.
void terminal_tools::print_error (FILE *stream, const char *format,...)
 Print an error message on stream with colors.
void terminal_tools::print_error (const char *format,...)
 Print an error message on stream with colors.
void terminal_tools::print_highlight (FILE *stream, const char *format,...)
 Print a highlighted info message on stream with colors.
void terminal_tools::print_highlight (const char *format,...)
 Print a highlighted info message on stream with colors.
void terminal_tools::print_info (FILE *stream, const char *format,...)
 Print an info message on stream with colors.
void terminal_tools::print_info (const char *format,...)
 Print an info message on stream with colors.
void terminal_tools::print_value (FILE *stream, const char *format,...)
 Print a value message on stream with colors.
void terminal_tools::print_value (const char *format,...)
 Print a value message on stream with colors.
void terminal_tools::print_warn (FILE *stream, const char *format,...)
 Print a warning message on stream with colors.
void terminal_tools::print_warn (const char *format,...)
 Print a warning message on stream with colors.
void terminal_tools::reset_text_color (FILE *stream)
 Reset the text color (on either stdout or stderr) to its original state.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator


terminal_tools
Author(s): Radu Bogdan Rusu
autogenerated on Fri Jan 11 09:58:56 2013