GUIConsole implementation, CEGUI based, as in the practical tutorial series.
More...
#include <GUIConsole.h>
GUIConsole implementation, CEGUI based, as in the practical tutorial series.
Definition at line 52 of file GUIConsole.h.
◆ GUIConsole()
◆ ~GUIConsole()
Divide::GUIConsole::~GUIConsole |
( |
| ) |
|
|
override |
◆ createCEGUIWindow()
void Divide::GUIConsole::createCEGUIWindow |
( |
| ) |
|
|
protected |
The function which will load in the CEGUI Window and register event handlers.
Definition at line 57 of file GUIConsole.cpp.
◆ Handle_TextInput()
bool Divide::GUIConsole::Handle_TextInput |
( |
const CEGUI::EventArgs & |
e | ) |
|
|
protected |
A key is pressed in the console input editbox.
Definition at line 98 of file GUIConsole.cpp.
◆ Handle_TextSubmitted()
bool Divide::GUIConsole::Handle_TextSubmitted |
( |
const CEGUI::EventArgs & |
e | ) |
|
|
protected |
◆ isVisible()
bool Divide::GUIConsole::isVisible |
( |
| ) |
const |
Return true if console is visible, false if is hidden.
Definition at line 176 of file GUIConsole.cpp.
◆ OutputText()
◆ printText()
Add text to the console Window. Uses a text buffer if the console isn't ready for display yet.
Definition at line 183 of file GUIConsole.cpp.
◆ RegisterHandlers()
void Divide::GUIConsole::RegisterHandlers |
( |
| ) |
|
|
protected |
◆ setVisible()
void Divide::GUIConsole::setVisible |
( |
bool |
visible | ) |
|
◆ update()
void Divide::GUIConsole::update |
( |
U64 |
deltaTimeUS | ) |
|
◆ GUI
◆ _closing
bool Divide::GUIConsole::_closing |
|
protected |
◆ _cmdParser
pointer to the command parser instance used
Definition at line 91 of file GUIConsole.h.
◆ _consoleCallbackIndex
size_t Divide::GUIConsole::_consoleCallbackIndex |
|
protected |
◆ _consoleWindow
CEGUI::Window* Divide::GUIConsole::_consoleWindow |
|
protected |
This will be a pointer to the ConsoleRoot Window.
Definition at line 93 of file GUIConsole.h.
◆ _editBox
CEGUI::Editbox* Divide::GUIConsole::_editBox |
|
protected |
pointer to the editBox to reduce typing and casting
Definition at line 86 of file GUIConsole.h.
◆ _init
bool Divide::GUIConsole::_init |
|
protected |
used to check if the console is ready
Definition at line 81 of file GUIConsole.h.
◆ _inputBuffer
CEGUI::String Divide::GUIConsole::_inputBuffer |
|
protected |
Used to check the text we are typing so that we don't close the console in the middle of a sentence/command
Definition at line 96 of file GUIConsole.h.
◆ _inputHistory
std::deque<CEGUI::String> Divide::GUIConsole::_inputHistory |
|
protected |
Used to manage the input history.
Definition at line 98 of file GUIConsole.h.
◆ _inputHistoryIndex
I16 Divide::GUIConsole::_inputHistoryIndex |
|
protected |
Used to cycle through history.
Definition at line 100 of file GUIConsole.h.
◆ _lastMsg
CEGUI::String Divide::GUIConsole::_lastMsg |
|
protected |
◆ _lastMsgType
◆ _outputBuffer
◆ _outputWindow
CEGUI::Listbox* Divide::GUIConsole::_outputWindow |
|
protected |
pointer to the listbox that will contain all of the text we output to the console
Definition at line 89 of file GUIConsole.h.
◆ _parent
GUI& Divide::GUIConsole::_parent |
|
protected |
The documentation for this class was generated from the following files: