FIFE 2008.0
FIFE::CommandLine Class Reference

#include <commandline.h>

Inheritance diagram for FIFE::CommandLine:
Collaboration diagram for FIFE::CommandLine:

List of all members.

Public Member Functions

 CommandLine ()
 ~CommandLine ()
void setCallback (const type_callback &cb)
void toggleCaretVisible ()
void startBlinking ()
void stopBlinking ()

Detailed Description

A Command line widget

Definition at line 44 of file commandline.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Here is the caller graph for this function:

void FIFE::CommandLine::startBlinking ( )

Start blinking the caret

Definition at line 65 of file commandline.cpp.

Referenced by CommandLine().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator