CRM64Pro GDK v0.14.0
A free cross-platform game development kit built on top of SDL 3.0
Loading...
Searching...
No Matches
CRM64Pro::Console

Console Object class. More...

Detailed Description

Console Object class.

Public Member Functions

bool info (Sint32 iMode=0) override
 Request Console information.
const string & getName () const override
 Get the name.
Uint32 getID () const override
 Get the ID.
WidgetbaseWidget ()
 Get the reference to base Widget for this object.
Sint32 attachTo (Sint32 idScreen)
 Attach this console to a screen.
Sint32 print (const char *format,...)
 Print a formatted message to the console.
Sint32 vPrint (const char *format, va_list args)
 Print a formatted message to the console.
Sint32 addCmdHandler (const string &sCommandName, const string &sCommandHelp, Sint32(*cmdFunc)(vector< string > *, Console *pCon))
 Add a new command handler to the console.
Sint32 executeCmd (const string &)
 Execute a command on this console.