ParamKit
A small library helping to parse commandline parameters (for Windows).
|
Definitions of the colors used on the terminal. More...
#include <iostream>
#include <windows.h>
Go to the source code of this file.
Macros | |
#define | BLACK 0 |
#define | DARK_BLUE 1 |
#define | DARK_GREEN 2 |
#define | DARK_CYAN 3 |
#define | DARK_RED 4 |
#define | DARK_MAGENTA 5 |
#define | BROWN 6 |
#define | SILVER 7 |
#define | GRAY 8 |
#define | BLUE 9 |
#define | LIME 0xA |
#define | CYAN 0xB |
#define | RED 0xC |
#define | MAGENTA 0xD |
#define | YELLOW 0xE |
#define | WHITE 0xF |
#define | MAKE_COLOR(fg_color, bg_color) (fg_color | (bg_color << 4)) |
#define | GET_BG_COLOR(color) (color >> 4) |
#define | YELLOW_ON_BLACK MAKE_COLOR(YELLOW, BLACK) |
#define | RED_ON_BLACK MAKE_COLOR(RED, BLACK) |
Definitions of the colors used on the terminal.
Definition in file term_colors.h.
#define BLACK 0 |
Definition at line 11 of file term_colors.h.
#define BLUE 9 |
Definition at line 20 of file term_colors.h.
#define BROWN 6 |
Definition at line 17 of file term_colors.h.
#define CYAN 0xB |
Definition at line 22 of file term_colors.h.
#define DARK_BLUE 1 |
Definition at line 12 of file term_colors.h.
#define DARK_CYAN 3 |
Definition at line 14 of file term_colors.h.
#define DARK_GREEN 2 |
Definition at line 13 of file term_colors.h.
#define DARK_MAGENTA 5 |
Definition at line 16 of file term_colors.h.
#define DARK_RED 4 |
Definition at line 15 of file term_colors.h.
#define GET_BG_COLOR | ( | color | ) | (color >> 4) |
Definition at line 29 of file term_colors.h.
#define GRAY 8 |
Definition at line 19 of file term_colors.h.
#define LIME 0xA |
Definition at line 21 of file term_colors.h.
#define MAGENTA 0xD |
Definition at line 24 of file term_colors.h.
#define MAKE_COLOR | ( | fg_color, | |
bg_color | |||
) | (fg_color | (bg_color << 4)) |
Definition at line 28 of file term_colors.h.
#define RED 0xC |
Definition at line 23 of file term_colors.h.
#define RED_ON_BLACK MAKE_COLOR(RED, BLACK) |
Definition at line 32 of file term_colors.h.
#define SILVER 7 |
Definition at line 18 of file term_colors.h.
#define WHITE 0xF |
Definition at line 26 of file term_colors.h.
#define YELLOW 0xE |
Definition at line 25 of file term_colors.h.
#define YELLOW_ON_BLACK MAKE_COLOR(YELLOW, BLACK) |
Definition at line 31 of file term_colors.h.