FIFE 2008.0
|
#include <commandline.h>
Public Member Functions | |
CommandLine () | |
~CommandLine () | |
void | setCallback (const type_callback &cb) |
void | toggleCaretVisible () |
void | startBlinking () |
void | stopBlinking () |
A Command line widget
Definition at line 44 of file commandline.h.
FIFE::CommandLine::CommandLine | ( | ) |
Constructor
Definition at line 41 of file commandline.cpp.
References startBlinking(), and toggleCaretVisible().
FIFE::CommandLine::~CommandLine | ( | ) |
Destructor
Definition at line 52 of file commandline.cpp.
void FIFE::CommandLine::setCallback | ( | const type_callback & | cb | ) |
Set callback on pressing the ENTER key
Definition at line 148 of file commandline.cpp.
Referenced by FIFE::Console::Console().
void FIFE::CommandLine::startBlinking | ( | ) |
Start blinking the caret
Definition at line 65 of file commandline.cpp.
Referenced by CommandLine().
void FIFE::CommandLine::stopBlinking | ( | ) |
Stop blinking the caret for a few seconds
Definition at line 59 of file commandline.cpp.
void FIFE::CommandLine::toggleCaretVisible | ( | ) |
Toggle the caret visibility
Definition at line 55 of file commandline.cpp.
Referenced by CommandLine().