CIOF v1.0.0-build
Char Input Output Format - A simple Input and Output utility library
|
Go to the source code of this file.
Namespaces | |
namespace | ciof |
Functions | |
std::string | ciof::colorSet (int _color) |
Set the colors from the default color palette from the terminal. | |
void | ciof::cursorPos (int _row, int _col) |
Get the set cursor position using _row and _col Essentially calls the getCursorPos() function and then sets the row and col according to the getCursorPos() function. | |
std::string | ciof::getCursorPos (int _row, int _col) |
Get the set cursor position using _row and _col. | |
void | ciof::initANSI () |
Initialize ANSI text option in Windows 10 or later NOTE: ONLY WORKS IN WINDOWS 10 OR LATER. | |
void | ciof::print () |
Print a new line. | |
std::string | ciof::rgbSet (unsigned int r, unsigned int g, unsigned int b) |
Set the RGB color in the terminal. | |
std::string | ciof::styleReset () |
Reset all the styles and colors in the terminal. | |
std::string | ciof::styleSet (const OutputStyle &_style) |
Set the styles according to the OutputStyle type. |