class CEikConsoleScreen : public CConsoleBase |
Private Member Functions | |
---|---|
void | ClipCursor() |
void | DrawCursorWhereNeeded() |
TPoint | GetAnInSightPosition(TPoint) |
void | InvertOverlap(TPoint, TPoint, TPoint, TPoint) |
void | InvertRange(const TRect &) |
TPtr8 | MemAttPtr(TPoint, TUint) |
TPtr | MemChrPtr(TPoint, TUint) |
void | MemScrClr(const TRect &, TUint8) |
void | MemScrMove(TPoint, TPoint, TUint) |
void | MemScrPut(const TDesC &, TPoint, TUint8) |
void | MemScrScroll(const TRect &, TPoint) |
void | MemScrScrollUp(TUint) |
TBool | RecalculateSize() |
void | RedrawChars(TInt, TInt, TInt, TUint) |
TPoint | ScrToVis(TPoint) |
TRect | ScrToVis(const TRect &) |
Public Member Enumerations | |
---|---|
enum | TEikConsoleFlags { EUseBackedUpWindow = 0x1, ENoInitialCursor = 0x2 } |
IMPORT_C void | ClearChars | ( | const TRect & | aRect, |
TUint | aCharacterAttributes | |||
) |
ClearChars() Clears characters within rectangle matching attributes
IMPORT_C void | ClearToEndOfLine | ( | ) | [virtual] |
ClearToEndOfLine() Clears from cursor position to end of the line
CEikConsoleControl * | ConsoleControl | ( | ) | const [inline] |
ConsoleControl() fetching console control
Returns console control
IMPORT_C void | ConstructL | ( | const TDesC & | aTitle, |
TInt | aFlags | |||
) |
ConstructL() Constructs a console and sets title
IMPORT_C void | ConstructL | ( | const TDesC & | aTitle, |
const TSize & | aSize, | |||
TInt | aFlags, | |||
TEikConsWinUnits | aUnit = EEikConsWinInChars | |||
) |
ConstructL() Constructs a console and sets title and size
const TDesC & aTitle | Title of the console |
const TSize & aSize | Size of the console in pixels |
TInt aFlags | Flags, for example EUseBackedUpWindow or ENoInitialCursor |
TEikConsWinUnits aUnit = EEikConsWinInChars | Unit of the console |
IMPORT_C void | ConstructL | ( | const TDesC & | aTitle, |
TPoint | aTopLeft, | |||
const TSize & | aSize, | |||
TInt | aFlags, | |||
TEikConsWinUnits | aUnit = EEikConsWinInChars | |||
) |
ConstructL() Constructs a console and sets title and position and size
const TDesC & aTitle | Title of the console |
TPoint aTopLeft | TopLeft corner of the console window |
const TSize & aSize | Size of the console in pixels |
TInt aFlags | Flags, for example EUseBackedUpWindow or ENoInitialCursor |
TEikConsWinUnits aUnit = EEikConsWinInChars | Unit of the console |
IMPORT_C TInt | Create | ( | const TDesC & | aTitle, |
TSize | aSize | |||
) | [virtual] |
Create() Creates a console and sets title and size
returns error code
IMPORT_C TPoint | CursorPos | ( | ) | const [virtual] |
CursorPos() Cursor position getter returns cursor position
IMPORT_C void | Down | ( | TUint | aCount = 1 | ) |
Move cursor down
TUint aCount = 1 | Number of steps to move |
IMPORT_C void | DrawInSight | ( | TPoint | aPosition | ) |
DrawInSight Moves topleft corner
TPoint aPosition | New position for insight |
TPoint | GetAnInSightPosition | ( | TPoint | aPosition | ) | const [private] |
TPoint aPosition |
void | InvertOverlap | ( | TPoint | aStart, |
TPoint | aEnd, | |||
TPoint | bStart, | |||
TPoint | bEnd | |||
) | [private] |
void | InvertRange | ( | const TRect & | aRect | ) | [private] |
const TRect & aRect |
IMPORT_C void | Left | ( | TUint | aCount = 1 | ) |
Move cursor left
TUint aCount = 1 | Number of steps to move |
void | MemScrClr | ( | const TRect & | aRect, |
TUint8 | aCharacterAttributes | |||
) | [private] |
void | MemScrPut | ( | const TDesC & | aString, |
TPoint | aPos, | |||
TUint8 | aCharacterAttributes | |||
) | [private] |
IMPORT_C void | MoveTopLeft | ( | TPoint | aVector | ) |
Moves topleft
TPoint aVector | new position of topleft |
IMPORT_C void | Read | ( | TRequestStatus & | aStatus | ) | [virtual] |
Read() Not implemented
TRequestStatus & aStatus |
IMPORT_C void | Redraw | ( | const TRect & | aRect | ) |
Redraw a rectangle
const TRect & aRect | Rectangle to redraw |
void | RedrawChars | ( | TInt | anX, |
TInt | anY, | |||
TInt | aLength, | |||
TUint | aCharacterAttributes | |||
) | [private] |
IMPORT_C HBufC * | RetrieveL | ( | const TRect & | aRange | ) |
RetrieveL() returns selected text text in descriptor
const TRect & aRange | selection |
IMPORT_C void | Right | ( | TUint | aCount = 1 | ) |
Move cursor right
TUint aCount = 1 | Number of steps to move |
IMPORT_C TSize | ScreenSize | ( | ) | const [virtual] |
ScreenSize() Gets size of the screen
returns Size of the screen in pixels
IMPORT_C void | ScrollChars | ( | const TRect & | anArea, |
const TPoint & | aVector | |||
) |
Scroll characters
IMPORT_C void | SelectCursor | ( | ) |
SelectCursor() Sets empty selection starting and ending at cursor position
IMPORT_C void | SetAllPrintable | ( | TUint | aFlag | ) |
SetAllPrintable() sets all printable flag
TUint aFlag | flags |
IMPORT_C void | SetAtt | ( | TUint | aCharacterAttributes | ) |
Set attributes
TUint aCharacterAttributes | Attributes for characters |
IMPORT_C void | SetAtt | ( | TUint | aForegroundGray16, |
TUint | aBackgroundGray16 | |||
) |
Set attributes
IMPORT_C void | SetConsWin | ( | CEikConsoleControl * | aConsWin | ) |
SetConsWin() Sets console window
CEikConsoleControl * aConsWin | Console control |
IMPORT_C void | SetCursorHeight | ( | TInt | aPercentage | ) | [virtual] |
SetCursorHeight changes cursor height
TInt aPercentage | Cursor height relative to character height |
IMPORT_C void | SetCursorPosAbs | ( | const TPoint & | aPoint | ) | [virtual] |
SetCursorPosAbs Moving cursor to absolute position
const TPoint & aPoint | Position in absolute coordinates |
IMPORT_C void | SetCursorPosRel | ( | const TPoint & | aPoint | ) | [virtual] |
SetCursorPosRel Moving cursor to relative position
const TPoint & aPoint | Position in relative coordinates |
IMPORT_C void | SetFontL | ( | const TFontSpec & | aFontDesc | ) |
SetFontL() Sets the font for console
const TFontSpec & aFontDesc | font specification |
IMPORT_C void | SetHistorySizeL | ( | TUint | aMaxChrExtra, |
TUint | aMaxAttExtra | |||
) |
Set history buffer size
IMPORT_C void | SetKeepCursorInSight | ( | TUint | aFlag | ) |
SetKeepCursorInSight() sets cursor in sight flag
TUint aFlag | flags |
IMPORT_C void | SetPureCRLF | ( | TUint | aFlag | ) |
SetPureCRLF() sets pure flag
TUint aFlag | flags |
IMPORT_C void | SetScrollBarVisibilityL | ( | CEikScrollBarFrame::TScrollBarVisibility | aHBarVisibility, |
CEikScrollBarFrame::TScrollBarVisibility | aVBarVisibility | |||
) |
SetScrollBarVisibilityL() sets scrollbar visibility
CEikScrollBarFrame::TScrollBarVisibility aHBarVisibility | horizontal scrollbar visibility |
CEikScrollBarFrame::TScrollBarVisibility aVBarVisibility | vertical scrollbar visibility |
IMPORT_C void | SetScrollLock | ( | TUint | aFlag | ) |
SetScrollLock() sets scroll lock flag
TUint aFlag | flags |
IMPORT_C void | SetSelection | ( | const TRect & | aRange | ) |
SetSelection() Sets the selection position
const TRect & aRange | range of the selection |
IMPORT_C void | SetTitle | ( | const TDesC & | aTitle | ) | [virtual] |
SetTitle() Set title of the console
const TDesC & aTitle | Title of the console |
IMPORT_C void | SetTitleL | ( | const TDesC & | aTitle | ) |
SetTitle() Set title of the console
const TDesC & aTitle | Title of the console |
IMPORT_C void | Up | ( | TUint | aCount = 1 | ) |
Move cursor up
TUint aCount = 1 | Number of steps to move |
IMPORT_C void | Write | ( | const TDesC & | aDes | ) | [virtual] |
Write() Writes text to the console
const TDesC & aDes | Text to be written to the console |