|
CeresEngine 0.2.0
A game development framework
|
Classes | |
| struct | ColorFlags |
| Output stream color flags enumeration. More... | |
| class | ScopedColor |
| Helper class for scoped color stack operations. More... | |
Functions | |
| void | enable (bool enable) |
| Enables or disables console manipulation. By default enabled. | |
| bool | isEnabled () |
| Returns true if console manipulation is enabled. | |
| void | pushColor (long front, std::ostream &stream=std::cout) |
| Pushes the specified front color flags onto the stack. | |
| void | pushColor (long front, long back, std::ostream &stream=std::cout) |
| Pushes the specified front and back color flags onto the stack. | |
| void | popColor (std::ostream &stream=std::cout) |
| Pops the previous front and back color flags from the stack. | |
Enables or disables console manipulation. By default enabled.
| bool CeresEngine::ShaderCompiler::ConsoleManip::isEnabled | ( | ) |
Returns true if console manipulation is enabled.
| void CeresEngine::ShaderCompiler::ConsoleManip::popColor | ( | std::ostream & | stream = std::cout | ) |
Pops the previous front and back color flags from the stack.
| void CeresEngine::ShaderCompiler::ConsoleManip::pushColor | ( | long | front, |
| long | back, | ||
| std::ostream & | stream = std::cout |
||
| ) |
Pushes the specified front and back color flags onto the stack.
| [in] | front | Specifies the flags for the front color. This can be a bitwise OR combination of the flags declared in 'ColorFlags'. |
| [in] | back | Specifies the flags for the background color. This can be a bitwise OR combination of the flags declared in 'ColorFlags'. |
| [in,out] | stream | Specifies the output stream whose front color is to be changed. This output stream is only required for Linux and MacOS, since the colors are specified by the streams itself. |
| void CeresEngine::ShaderCompiler::ConsoleManip::pushColor | ( | long | front, |
| std::ostream & | stream = std::cout |
||
| ) |
Pushes the specified front color flags onto the stack.
| [in] | front | Specifies the flags for the front color. This can be a bitwise OR combination of the flags declared in 'ColorFlags'. |
| [in,out] | stream | Specifies the output stream whose front color is to be changed. This output stream is only required for Linux and MacOS, since the colors are specified by the streams itself. |