|
SimpleFastOpenAtomicVisualiser
|
A window for Console (from Imgui example.) More...
#include <consoleWindow.h>
Public Member Functions | |
| ConsoleWindow () | |
| Construct a new ConsoleWindow. | |
| ~ConsoleWindow () | |
| void | clearLog () |
| Clear the ConsoleWindow's log. | |
| void | addLog (const char *fmt,...) IM_FMTARGS(2) |
| Add a const char * to the log. | |
| void | addLog (std::string s) |
| Add a string to the log. | |
| void | draw (const char *title, Console &console) |
| Draw the console window. | |
| void | execCommand (const char *command_line, Console &console) |
| Execute a console command. | |
| int | textEditCallback (ImGuiInputTextCallbackData *data) |
Static Public Member Functions | |
| static int | Stricmp (const char *s1, const char *s2) |
| static int | Strnicmp (const char *s1, const char *s2, int n) |
| static char * | Strdup (const char *s) |
| static void | Strtrim (char *s) |
| static int | TextEditCallbackStub (ImGuiInputTextCallbackData *data) |
Public Attributes | |
| char | InputBuf [256] |
| ImVector< char * > | Items |
| ImVector< const char * > | Commands |
| ImVector< char * > | History |
| int | HistoryPos |
| ImGuiTextFilter | Filter |
| bool | AutoScroll |
| bool | ScrollToBottom |
| bool | focussed |
| const unsigned | logLineSize = 2048 |
| std::streambuf * | ocout |
| std::streambuf * | ocerr |
| std::stringstream | out |
| std::stringstream | err |
| const char * | banner |
| The text banner. | |
A window for Console (from Imgui example.)
|
inline |
Construct a new ConsoleWindow.
|
inline |
|
inline |
Add a string to the log.
| s | the string to add. |
|
inline |
Clear the ConsoleWindow's log.
Draw the console window.
| title | the name of the window. |
| console | the Console to execute commands with. |
Execute a console command.
| command_line | the command. |
| console | the Console to execute with. |
|
inline |
|
inlinestatic |
| bool ConsoleWindow::AutoScroll |
The text banner.
| std::stringstream ConsoleWindow::err |
| ImGuiTextFilter ConsoleWindow::Filter |
| bool ConsoleWindow::focussed |
| int ConsoleWindow::HistoryPos |
| char ConsoleWindow::InputBuf[256] |
| std::streambuf* ConsoleWindow::ocerr |
| std::streambuf* ConsoleWindow::ocout |
| std::stringstream ConsoleWindow::out |
| bool ConsoleWindow::ScrollToBottom |