#include <terminalcontrol.h>
Public Methods | |
CTerminalControl (MTerminalObserver *anObserver) | |
Terminal control constructor. | |
void | ConstructL (const TRect &aRect, RWindow &aContainerWindow) |
Second-phase constructor. | |
~CTerminalControl () | |
Destructor. | |
virtual void | DrawText (TInt aX, TInt aY, const TDesC &aText, TBool aBold, TBool aUnderline, TRgb aForeground, TRgb aBackground) |
Draws text on the terminal window. | |
void | SetFontL (TBool aLargeFont) |
Changes the terminal font. | |
void | SetGrayed (TBool aGrayed) |
Sets the terminal control to be grayed out or normal. |
Manages a terminal control on the screen, taking care of drawing the text and delivering keypresses to the user. The terminal user must implement the MTerminalObserver interface.
|
Terminal control constructor.
|
|
Second-phase constructor. Must be called before the control is used. FIXME: Replace with NewL.
|
|
Draws text on the terminal window. The coordinates are zero-based character coordinates inside the terminal. There is no clipping -- the terminal control assumes that the user takes care of this. Cursors can be drawn as text with a different background color.
|
|
Changes the terminal font.
|
|
Sets the terminal control to be grayed out or normal. The terminal control can be grayed out when there is no connection, and it cannot be redrawn properly.
|