Caricamento in corso...
Ricerca in corso...
Nessun risultato
1#ifndef RADARELAB_UTILS_TERM_H
2#define RADARELAB_UTILS_TERM_H
20 static const unsigned black;
21 static const unsigned red;
22 static const unsigned green;
23 static const unsigned yellow;
24 static const unsigned blue;
25 static const unsigned magenta;
26 static const unsigned cyan;
27 static const unsigned white;
28 static const unsigned bright;
37 Restore(Terminal& term);
43 Restore set_color(
int fg,
int bg);
44 Restore set_color_fg(
int col);
45 Restore set_color_bg(
int col);
47 std::string color(
int fg,
int bg,
const std::string& s);
48 std::string color_fg(
int col,
const std::string& s);
49 std::string color_bg(
int col,
const std::string& s);
51 operator FILE*() {
return out; }