#include <console.h>
Inheritance diagram for IC_Console:
Public Member Functions | |
IC_Console () | |
constructor | |
virtual | ~IC_Console () |
destructor | |
IC_ConsoleConfig & | getConfig () |
get the console config reference | |
void | initializeConsole (irr::gui::IGUIEnvironment *guienv, const irr::core::dimension2d< s32 > &screenSize) |
(re)initialize the console with current config | |
void | loadDefaultCommands (irr::IrrlichtDevice *device) |
loads a few default commands into the console | |
bool | isVisible () |
should console be visible | |
void | setVisible (bool bV) |
set the visibility of the console | |
void | toggleVisible () |
toggle the visibility of the console | |
void | appendMessage (const WideString message) |
add a UTF-16 message to the sink | |
void | clearMessages () |
clear all the messages in the sink | |
void | renderConsole (irr::gui::IGUIEnvironment *guienv, irr::video::IVideoDriver *videoDriver, const u32 deltaMillis) |
render the console (it internally checks if the console is visible) | |
void | handleKeyPress (wchar_t keyChar, irr::EKEY_CODE keyCode, bool bShiftDown, bool bControlDown) |
handles a key press when console is active/visible |