CConsoleTextWin Class Reference
class CConsoleTextWin : public CConsoleBase |
Constructor & Destructor Documentation
~CConsoleTextWin()
~CConsoleTextWin | ( | ) | [virtual] |
Member Functions Documentation
ClearScreen()
void | ClearScreen | ( | ) | [virtual] |
ClearToEndOfLine()
void | ClearToEndOfLine | ( | ) | [virtual] |
Clears the console from the current cursor position to the end of the line.
Create(const TDesC &, TSize)
Creates a new console window.
Parameters
const TDesC & aTitle | The title text for the console. This should not be longer than 256 characters. |
TSize aSize | The size of the console window. |
CursorPos()
TPoint
| CursorPos | ( | ) | const [virtual] |
Gets the current cursor position relative to the console window.
KeyCode()
Gets the current key code value.
KeyModifiers()
TUint
| KeyModifiers | ( | ) | const [virtual] |
Gets the current key modifiers.
NewL(const TDesC &, TSize)
Read(TRequestStatus &)
Gets a keystroke from the console window, asynchronously.
ReadCancel()
void | ReadCancel | ( | ) | [virtual] |
Cancels any outstanding request to get a keystroke from the console window.
ScreenSize()
TSize
| ScreenSize | ( | ) | const [virtual] |
Gets the size of the console.
SetCursorHeight(TInt)
void | SetCursorHeight | ( | TInt | aPercentage | ) | [virtual] |
Sets the percentage height of the cursor.
Parameters
TInt aPercentage | The percentage height. This is a value from 0 to 100. If 0 is specified, then no cursor is displayed. |
SetCursorPosAbs(const TPoint &)
void | SetCursorPosAbs | ( | const TPoint & | aPoint | ) | [virtual] |
Puts the cursor at the absolute position in the window.
Parameters
const TPoint & aPoint | The cursor position. |
SetCursorPosRel(const TPoint &)
void | SetCursorPosRel | ( | const TPoint & | aPoint | ) | [virtual] |
Puts the cursor at the specified position relative to the current cursor position.
Parameters
const TPoint & aPoint | The cursor position. |
SetTextAttribute(TTextAttribute)
SetTitle(const TDesC &)
void | SetTitle | ( | const TDesC & | aTitle | ) | [virtual] |
Sets a new console title.
Parameters
const TDesC & aTitle | The title text for the console. This should not be longer than 256 characters. |
Write(const TDesC &)
void | Write | ( | const TDesC & | aDes | ) | [virtual] |
Writes the content of the specified descriptor to the console window.
Parameters
const TDesC & aDes | Descriptor containing the characters to be written to the console window. |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.