TrueReality
v0.1.1912
TextColor.h
Go to the documentation of this file.
1
/*
2
* True Reality Open Source Game and Simulation Engine
3
* Copyright © 2021 Acid Rain Studios LLC
4
*
5
* This library is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU Lesser General Public License as published by the Free
7
* Software Foundation; either version 3.0 of the License, or (at your option)
8
* any later version.
9
*
10
* This library is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
* details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this library; if not, write to the Free Software Foundation, Inc.,
17
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* @author Maxim Serebrennik
20
*/
21
#pragma once
22
23
#include <
trUtil/Export.h
>
24
30
namespace
trUtil::Console
31
{
39
enum
TR_UTIL_EXPORT
TXT_COLOR
40
{
41
DEFAULT
,
42
BRIGHT_RED
,
43
RED
,
44
BRIGHT_GREEN
,
45
GREEN
,
46
BRIGHT_BLUE
,
47
BLUE
,
48
BRIGHT_YELLOW
,
49
YELLOW
,
50
WHITE
,
51
BRIGHT_CYAN
,
52
CYAN
,
53
BRIGHT_MAGENTA
,
54
MAGENTA
,
55
GRAY
56
};
57
67
void
TR_UTIL_EXPORT
TextColor
(TXT_COLOR
TextColor
);
68
77
void
TR_UTIL_EXPORT
PrintAllColors
();
78
}
Export.h
BRIGHT_GREEN
BRIGHT_GREEN
Definition:
TextColor.h:41
RED
RED
Definition:
TextColor.h:41
BLUE
BLUE
Definition:
TextColor.h:41
trUtil::Console::PrintAllColors
void TR_UTIL_EXPORT PrintAllColors()
Prints an example of all available colors This is usually used for testing and development.
Definition:
TextColor.cpp:150
BRIGHT_CYAN
BRIGHT_CYAN
Definition:
TextColor.h:41
GREEN
GREEN
Definition:
TextColor.h:41
WHITE
WHITE
Definition:
TextColor.h:41
trUtil::Console::TextColor
void TR_UTIL_EXPORT TextColor(TXT_COLOR TextColor)
Changes Text color in the console window....
Definition:
TextColor.cpp:34
MAGENTA
MAGENTA
Definition:
TextColor.h:41
BRIGHT_YELLOW
BRIGHT_YELLOW
Definition:
TextColor.h:41
TR_UTIL_EXPORT
A class that represents date time utility.
CYAN
CYAN
Definition:
TextColor.h:41
DEFAULT
DEFAULT
Definition:
TextColor.h:41
YELLOW
YELLOW
Definition:
TextColor.h:41
trUtil::Console
Definition:
Logo.h:25
BRIGHT_MAGENTA
BRIGHT_MAGENTA
Definition:
TextColor.h:41
BRIGHT_RED
BRIGHT_RED
Definition:
TextColor.h:41
BRIGHT_BLUE
BRIGHT_BLUE
Definition:
TextColor.h:41
include
trUtil
Console
TextColor.h
Generated by
1.8.13