ParamKit
A small library helping to parse commandline parameters (for Windows).
Main Page
Namespaces
Namespace List
Namespace Members
All
c
e
g
h
i
l
p
r
s
t
w
Functions
Variables
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
g
h
i
m
n
o
p
r
s
t
v
w
~
Functions
_
a
b
c
e
g
h
i
o
p
r
s
t
v
w
~
Variables
a
b
d
e
g
h
i
m
n
p
r
s
t
v
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
b
c
d
g
i
l
m
p
r
s
u
w
y
Functions
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
paramkit
include
term_colors.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <iostream>
9
#include <windows.h>
10
11
#define BLACK 0
12
#define DARK_BLUE 1
13
#define DARK_GREEN 2
14
#define DARK_CYAN 3
15
#define DARK_RED 4
16
#define DARK_MAGENTA 5
17
#define BROWN 6
18
#define SILVER 7
19
#define GRAY 8
20
#define BLUE 9
21
#define LIME 0xA
22
#define CYAN 0xB
23
#define RED 0xC
24
#define MAGENTA 0xD
25
#define YELLOW 0xE
26
#define WHITE 0xF
27
28
#define MAKE_COLOR(fg_color, bg_color) (fg_color | (bg_color << 4))
29
#define GET_BG_COLOR(color) (color >> 4)
30
31
#define YELLOW_ON_BLACK MAKE_COLOR(YELLOW, BLACK)
32
#define RED_ON_BLACK MAKE_COLOR(RED, BLACK)
33
Generated by
1.9.1