TrueReality  v0.1.1912
trUtil::Console Namespace Reference

Functions

void TR_UTIL_EXPORT Logo (void)
 Displays the True Reality Logo in the Consol Window. More...
 
void TR_UTIL_EXPORT TextColor (TXT_COLOR TextColor)
 Changes Text color in the console window.... More...
 
void TR_UTIL_EXPORT PrintAllColors ()
 Prints an example of all available colors This is usually used for testing and development. More...
 

Function Documentation

◆ Logo()

void trUtil::Console::Logo ( void  )

Displays the True Reality Logo in the Consol Window.

Definition at line 32 of file Logo.cpp.

References BRIGHT_BLUE, BRIGHT_RED, BRIGHT_YELLOW, DEBUG, DEFAULT, trUtil::VersionUtil::GetMajorVersion(), trUtil::VersionUtil::GetMinorVersion(), trUtil::VersionUtil::GetVersionString(), TextColor(), and trUtil::TR_BUILD_TYPE.

Here is the call graph for this function:

◆ PrintAllColors()

void trUtil::Console::PrintAllColors ( )

Prints an example of all available colors This is usually used for testing and development.

Author
Maxim Serebrennik

Definition at line 150 of file TextColor.cpp.

References BLUE, BRIGHT_BLUE, BRIGHT_CYAN, BRIGHT_GREEN, BRIGHT_MAGENTA, BRIGHT_RED, BRIGHT_YELLOW, CYAN, DEFAULT, GREEN, MAGENTA, RED, TextColor(), WHITE, and YELLOW.

Here is the call graph for this function:

◆ TextColor()

void trUtil::Console::TextColor ( TXT_COLOR  TextColor)

Changes Text color in the console window....

Author
Maxim Serebrennik
Parameters
TextColorThe text color.

Definition at line 34 of file TextColor.cpp.

References BLUE, BRIGHT_BLUE, BRIGHT_CYAN, BRIGHT_GREEN, BRIGHT_MAGENTA, BRIGHT_RED, BRIGHT_YELLOW, CYAN, GREEN, MAGENTA, RED, WHITE, and YELLOW.

Referenced by trUtil::VersionUtil::GetCurrentCommitNum(), IncremenetVersion(), trUtil::Logging::LogWriterConsole::LogMessage(), Logo(), main(), PrintAllColors(), SetVersion(), and UpdateVersion().

Here is the caller graph for this function: