libcommonc++
0.7
|
#include <commonc++/Common.h++>
Go to the source code of this file.
Namespaces | |
ccxx | |
Macros | |
#define | TERMATTR_ESC "\033" |
Terminal control escape character. More... | |
#define | TERMATTR_NORMAL TERMATTR_ESC "[0m" |
Normal font. More... | |
#define | TERMATTR_BOLD TERMATTR_ESC "[1m" |
Bold font. More... | |
#define | TERMATTR_DIM TERMATTR_ESC "[2m" |
Dim (half-intensity) font. More... | |
#define | TERMATTR_UNDERLINE TERMATTR_ESC "[4m" |
Underlined font. More... | |
#define | TERMATTR_BLINK TERMATTR_ESC "[5m" |
Blinking font. More... | |
#define | TERMATTR_INVERSE TERMATTR_ESC "[7m" |
Inverse (reverse-video) font. More... | |
#define | TERMATTR_FG_BLACK TERMATTR_ESC "[30m" |
Set text foreground color to black. More... | |
#define | TERMATTR_FG_RED TERMATTR_ESC "[31m" |
Set text foreground color to red. More... | |
#define | TERMATTR_FG_GREEN TERMATTR_ESC "[32m" |
Set text foreground color to green. More... | |
#define | TERMATTR_FG_YELLOW TERMATTR_ESC "[33m" |
Set text foreground color to yellow. More... | |
#define | TERMATTR_FG_BLUE TERMATTR_ESC "[34m" |
Set text foreground color to blue. More... | |
#define | TERMATTR_FG_MAGENTA TERMATTR_ESC "[35m" |
Set text foreground color to magenta. More... | |
#define | TERMATTR_FG_CYAN TERMATTR_ESC "[36m" |
Set text foreground color to cyan. More... | |
#define | TERMATTR_FG_WHITE TERMATTR_ESC "[37m" |
Set text foreground color to white. More... | |
#define | TERMATTR_FG_NORMAL TERMATTR_ESC "[39m" |
Set text foreground color to default. More... | |
#define | TERMATTR_BG_BLACK TERMATTR_ESC "[40m" |
Set text background color to black. More... | |
#define | TERMATTR_BG_RED TERMATTR_ESC "[41m" |
Set text background color to red. More... | |
#define | TERMATTR_BG_GREEN TERMATTR_ESC "[42m" |
Set text background color to green. More... | |
#define | TERMATTR_BG_YELLOW TERMATTR_ESC "[43m" |
Set text background color to yellow. More... | |
#define | TERMATTR_BG_BLUE TERMATTR_ESC "[44m" |
Set text background color to blue. More... | |
#define | TERMATTR_BG_MAGENTA TERMATTR_ESC "[45m" |
Set text background color to magenta. More... | |
#define | TERMATTR_BG_CYAN TERMATTR_ESC "[46m" |
Set text background color to cyan. More... | |
#define | TERMATTR_BG_WHITE TERMATTR_ESC "[47m" |
Set text background color to white. More... | |
#define | TERMATTR_BG_NORMAL TERMATTR_ESC "[49m" |
Set text background color to default. More... | |
#define | TERMATTR_LINECHARS_ON TERMATTR_ESC "(0" |
Turn on alternate (line drawing) character set. More... | |
#define | TERMATTR_LINECHARS_OFF TERMATTR_ESC "(B" |
Turn off alternate (line drawing) character set. More... | |
#define | TERMATTR_CLEAR_SCREEN TERMATTR_ESC "[2J" |
Clear the screen. More... | |
#define | TERMATTR_CLEAR_LINE TERMATTR_ESC "[2K" |
Clear the line at the cursor position. More... | |
#define | TERMATTR_CURSOR(Y, X) TERMATTR_ESC "[" #Y ";" #X "H" |
Move the cursor to row Y, column X. More... | |
#define | TERMATTR_CURSOR_UP(N) TERMATTR_ESC "[" #N "A" |
Move the cursor up N lines. More... | |
#define | TERMATTR_CURSOR_DOWN(N) TERMATTR_ESC "[" #N "B" |
Move the cursor down N lines. More... | |
#define | TERMATTR_CURSOR_RIGHT(N) TERMATTR_ESC "[" #N "C" |
Move the cursor right N characters. More... | |
#define | TERMATTR_CURSOR_LEFT(N) TERMATTR_ESC "[" #N "D" |
Move the cursor left N characters. More... | |
#define | TERMATTR_CURSOR_HOME TERMATTR_ESC "[H" |
Move the cursor to home position. More... | |
#define | TERMATTR_SCROLL_UP TERMATTR_ESC "D" |
Scroll the screen up one line. More... | |
#define | TERMATTR_SCROLL_DOWN TERMATTR_ESC "M" |
Scroll the screen down one line. More... | |
#define TERMATTR_BG_BLACK TERMATTR_ESC "[40m" |
Set text background color to black.
#define TERMATTR_BG_BLUE TERMATTR_ESC "[44m" |
Set text background color to blue.
#define TERMATTR_BG_CYAN TERMATTR_ESC "[46m" |
Set text background color to cyan.
#define TERMATTR_BG_GREEN TERMATTR_ESC "[42m" |
Set text background color to green.
#define TERMATTR_BG_MAGENTA TERMATTR_ESC "[45m" |
Set text background color to magenta.
#define TERMATTR_BG_NORMAL TERMATTR_ESC "[49m" |
Set text background color to default.
#define TERMATTR_BG_RED TERMATTR_ESC "[41m" |
Set text background color to red.
#define TERMATTR_BG_WHITE TERMATTR_ESC "[47m" |
Set text background color to white.
#define TERMATTR_BG_YELLOW TERMATTR_ESC "[43m" |
Set text background color to yellow.
#define TERMATTR_BLINK TERMATTR_ESC "[5m" |
Blinking font.
#define TERMATTR_BOLD TERMATTR_ESC "[1m" |
Bold font.
#define TERMATTR_CLEAR_LINE TERMATTR_ESC "[2K" |
Clear the line at the cursor position.
#define TERMATTR_CLEAR_SCREEN TERMATTR_ESC "[2J" |
Clear the screen.
#define TERMATTR_CURSOR | ( | Y, | |
X | |||
) | TERMATTR_ESC "[" #Y ";" #X "H" |
Move the cursor to row Y, column X.
#define TERMATTR_CURSOR_DOWN | ( | N | ) | TERMATTR_ESC "[" #N "B" |
Move the cursor down N lines.
#define TERMATTR_CURSOR_HOME TERMATTR_ESC "[H" |
Move the cursor to home position.
#define TERMATTR_CURSOR_LEFT | ( | N | ) | TERMATTR_ESC "[" #N "D" |
Move the cursor left N characters.
#define TERMATTR_CURSOR_RIGHT | ( | N | ) | TERMATTR_ESC "[" #N "C" |
Move the cursor right N characters.
#define TERMATTR_CURSOR_UP | ( | N | ) | TERMATTR_ESC "[" #N "A" |
Move the cursor up N lines.
#define TERMATTR_DIM TERMATTR_ESC "[2m" |
Dim (half-intensity) font.
#define TERMATTR_ESC "\033" |
Terminal control escape character.
#define TERMATTR_FG_BLACK TERMATTR_ESC "[30m" |
Set text foreground color to black.
#define TERMATTR_FG_BLUE TERMATTR_ESC "[34m" |
Set text foreground color to blue.
#define TERMATTR_FG_CYAN TERMATTR_ESC "[36m" |
Set text foreground color to cyan.
#define TERMATTR_FG_GREEN TERMATTR_ESC "[32m" |
Set text foreground color to green.
#define TERMATTR_FG_MAGENTA TERMATTR_ESC "[35m" |
Set text foreground color to magenta.
#define TERMATTR_FG_NORMAL TERMATTR_ESC "[39m" |
Set text foreground color to default.
#define TERMATTR_FG_RED TERMATTR_ESC "[31m" |
Set text foreground color to red.
#define TERMATTR_FG_WHITE TERMATTR_ESC "[37m" |
Set text foreground color to white.
#define TERMATTR_FG_YELLOW TERMATTR_ESC "[33m" |
Set text foreground color to yellow.
#define TERMATTR_INVERSE TERMATTR_ESC "[7m" |
Inverse (reverse-video) font.
#define TERMATTR_LINECHARS_OFF TERMATTR_ESC "(B" |
Turn off alternate (line drawing) character set.
#define TERMATTR_LINECHARS_ON TERMATTR_ESC "(0" |
Turn on alternate (line drawing) character set.
#define TERMATTR_NORMAL TERMATTR_ESC "[0m" |
Normal font.
#define TERMATTR_SCROLL_DOWN TERMATTR_ESC "M" |
Scroll the screen down one line.
#define TERMATTR_SCROLL_UP TERMATTR_ESC "D" |
Scroll the screen up one line.
#define TERMATTR_UNDERLINE TERMATTR_ESC "[4m" |
Underlined font.