CEikConsoleScreen Class Reference
class CEikConsoleScreen : public CConsoleBase |
Public Member Functions |
---|
| CEikConsoleScreen() |
| ~CEikConsoleScreen() |
TUint
| Att() |
IMPORT_C void | ClearChars(const TRect &, TUint) |
IMPORT_C void | ClearScreen() |
IMPORT_C void | ClearToEndOfLine() |
CEikConsoleControl * | ConsoleControl() |
IMPORT_C void | ConstructL(const TDesC &, TInt) |
IMPORT_C void | ConstructL(const TDesC &, const TSize &, TInt, TEikConsWinUnits) |
IMPORT_C void | ConstructL(const TDesC &, TPoint, const TSize &, TInt, TEikConsWinUnits) |
IMPORT_C void | Cr() |
IMPORT_C TInt | Create(const TDesC &, TSize) |
IMPORT_C TPoint | CursorPos() |
IMPORT_C void | Down(TUint) |
IMPORT_C void | DrawCursor() |
IMPORT_C void | DrawCursorInSight() |
IMPORT_C void | DrawInSight(TPoint) |
IMPORT_C void | FlushChars() |
IMPORT_C const TFontSpec & | Font() |
IMPORT_C TInt | HideCursor() |
TUint
| HistorySize() |
IMPORT_C TKeyCode | KeyCode() |
IMPORT_C TUint | KeyModifiers() |
IMPORT_C void | Left(TUint) |
IMPORT_C void | Lf() |
IMPORT_C void | MoveTopLeft(TPoint) |
IMPORT_C void | Read(TRequestStatus &) |
IMPORT_C void | ReadCancel() |
IMPORT_C void | Redraw(const TRect &) |
IMPORT_C HBufC * | RetrieveL(const TRect &) |
IMPORT_C void | Right(TUint) |
IMPORT_C TSize | ScreenSize() |
IMPORT_C void | ScrollChars(const TRect &, const TPoint &) |
IMPORT_C void | SelectCursor() |
IMPORT_C TRect | Selection() |
IMPORT_C void | SetAllPrintable(TUint) |
IMPORT_C void | SetAtt(TUint) |
IMPORT_C void | SetAtt(TUint, TUint) |
IMPORT_C void | SetConsWin(CEikConsoleControl *) |
IMPORT_C void | SetCursorHeight(TInt) |
IMPORT_C void | SetCursorPosAbs(const TPoint &) |
IMPORT_C void | SetCursorPosRel(const TPoint &) |
IMPORT_C void | SetFontL(const TFontSpec &) |
IMPORT_C void | SetHistorySizeL(TUint, TUint) |
IMPORT_C void | SetKeepCursorInSight(TUint) |
IMPORT_C void | SetPureCRLF(TUint) |
IMPORT_C void | SetScrollBarVisibilityL(CEikScrollBarFrame::TScrollBarVisibility, CEikScrollBarFrame::TScrollBarVisibility) |
IMPORT_C void | SetScrollLock(TUint) |
IMPORT_C void | SetSelection(const TRect &) |
IMPORT_C void | SetTitle(const TDesC &) |
IMPORT_C void | SetTitleL(const TDesC &) |
HBufC * | Title() |
IMPORT_C void | Up(TUint) |
IMPORT_C TBool | UpdateScrollBars() |
IMPORT_C void | Write(const TDesC &) |
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 &) |
Constructor & Destructor Documentation
CEikConsoleScreen()
IMPORT_C | CEikConsoleScreen | ( | ) | |
~CEikConsoleScreen()
IMPORT_C | ~CEikConsoleScreen | ( | ) | |
Member Functions Documentation
Att()
TUint
| Att | ( | ) | const [inline] |
ClearChars(const TRect &, TUint)
IMPORT_C void | ClearChars | ( | const TRect & | aRect, |
| TUint | aCharacterAttributes |
| ) | |
ClearChars() Clears characters within rectangle matching attributes
Parameters
const TRect & aRect | Rectangle in pixels |
TUint aCharacterAttributes | Matching character attributes |
ClearScreen()
IMPORT_C void | ClearScreen | ( | ) | [virtual] |
ClearToEndOfLine()
IMPORT_C void | ClearToEndOfLine | ( | ) | [virtual] |
ClipCursor()
void | ClipCursor | ( | ) | [private] |
ConstructL(const TDesC &, TInt)
IMPORT_C void | ConstructL | ( | const TDesC & | aTitle, |
| TInt | aFlags |
| ) | |
Parameters
const TDesC & aTitle | Title of the console |
TInt aFlags | Flags, for example EUseBackedUpWindow or ENoInitialCursor |
ConstructL(const TDesC &, const TSize &, TInt, TEikConsWinUnits)
Parameters
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 |
ConstructL(const TDesC &, TPoint, const TSize &, TInt, TEikConsWinUnits)
ConstructL() Constructs a console and sets title and position and size
Parameters
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 |
Create(const TDesC &, TSize)
Create() Creates a console and sets title and size
returns error code
Parameters
const TDesC & aTitle | Title of the console |
TSize aSize | Size of the console in pixels |
CursorPos()
IMPORT_C TPoint | CursorPos | ( | ) | const [virtual] |
CursorPos() Cursor position getter returns cursor position
Down(TUint)
IMPORT_C void | Down | ( | TUint | aCount = 1 | ) | |
Parameters
TUint aCount = 1 | Number of steps to move |
DrawCursor()
IMPORT_C void | DrawCursor | ( | ) | |
DrawCursorInSight()
IMPORT_C void | DrawCursorInSight | ( | ) | |
DrawCursorWhereNeeded()
void | DrawCursorWhereNeeded | ( | ) | [private] |
DrawInSight(TPoint)
IMPORT_C void | DrawInSight | ( | TPoint | aPosition | ) | |
DrawInSight Moves topleft corner
Parameters
TPoint aPosition | New position for insight |
FlushChars()
IMPORT_C void | FlushChars | ( | ) | |
GetAnInSightPosition(TPoint)
HideCursor()
IMPORT_C TInt | HideCursor | ( | ) | |
HistorySize()
TUint
| HistorySize | ( | ) | const [inline] |
InvertOverlap(TPoint, TPoint, TPoint, TPoint)
InvertRange(const TRect &)
void | InvertRange | ( | const TRect & | aRect | ) | [private] |
KeyCode()
IMPORT_C TKeyCode | KeyCode | ( | ) | const [virtual] |
KeyModifiers()
IMPORT_C TUint | KeyModifiers | ( | ) | const [virtual] |
Left(TUint)
IMPORT_C void | Left | ( | TUint | aCount = 1 | ) | |
Parameters
TUint aCount = 1 | Number of steps to move |
MemScrClr(const TRect &, TUint8)
void | MemScrClr | ( | const TRect & | aRect, |
| TUint8 | aCharacterAttributes |
| ) | [private] |
MemScrMove(TPoint, TPoint, TUint)
MemScrPut(const TDesC &, TPoint, TUint8)
void | MemScrPut | ( | const TDesC & | aString, |
| TPoint | aPos, |
| TUint8 | aCharacterAttributes |
| ) | [private] |
MemScrScroll(const TRect &, TPoint)
void | MemScrScroll | ( | const TRect & | aRect, |
| TPoint | aVector |
| ) | [private] |
MemScrScrollUp(TUint)
void | MemScrScrollUp | ( | TUint | aLines = 1 | ) | [private] |
MoveTopLeft(TPoint)
IMPORT_C void | MoveTopLeft | ( | TPoint | aVector | ) | |
Parameters
TPoint aVector | new position of topleft |
ReadCancel()
IMPORT_C void | ReadCancel | ( | ) | [virtual] |
RecalculateSize()
TBool
| RecalculateSize | ( | ) | [private] |
Redraw(const TRect &)
IMPORT_C void | Redraw | ( | const TRect & | aRect | ) | |
Parameters
const TRect & aRect | Rectangle to redraw |
RedrawChars(TInt, TInt, TInt, TUint)
RetrieveL(const TRect &)
Parameters
const TRect & aRange | selection |
Right(TUint)
IMPORT_C void | Right | ( | TUint | aCount = 1 | ) | |
Parameters
TUint aCount = 1 | Number of steps to move |
ScreenSize()
IMPORT_C TSize | ScreenSize | ( | ) | const [virtual] |
ScreenSize() Gets size of the screen
returns Size of the screen in pixels
ScrollChars(const TRect &, const TPoint &)
IMPORT_C void | ScrollChars | ( | const TRect & | anArea, |
| const TPoint & | aVector |
| ) | |
Parameters
const TRect & anArea | Area to scroll |
const TPoint & aVector | How much to scroll |
SelectCursor()
IMPORT_C void | SelectCursor | ( | ) | |
SelectCursor() Sets empty selection starting and ending at cursor position
Selection()
IMPORT_C TRect | Selection | ( | ) | |
SetAllPrintable(TUint)
IMPORT_C void | SetAllPrintable | ( | TUint | aFlag | ) | |
SetAtt(TUint)
IMPORT_C void | SetAtt | ( | TUint | aCharacterAttributes | ) | |
Parameters
TUint aCharacterAttributes | Attributes for characters |
SetAtt(TUint, TUint)
IMPORT_C void | SetAtt | ( | TUint | aForegroundGray16, |
| TUint | aBackgroundGray16 |
| ) | |
Parameters
TUint aForegroundGray16 | Grey16 attributes for foreground |
TUint aBackgroundGray16 | Grey16 attribuets for background |
SetConsWin(CEikConsoleControl *)
SetCursorHeight(TInt)
IMPORT_C void | SetCursorHeight | ( | TInt | aPercentage | ) | [virtual] |
SetCursorHeight changes cursor height
Parameters
TInt aPercentage | Cursor height relative to character height |
SetCursorPosAbs(const TPoint &)
IMPORT_C void | SetCursorPosAbs | ( | const TPoint & | aPoint | ) | [virtual] |
SetCursorPosAbs Moving cursor to absolute position
Parameters
const TPoint & aPoint | Position in absolute coordinates |
SetCursorPosRel(const TPoint &)
IMPORT_C void | SetCursorPosRel | ( | const TPoint & | aPoint | ) | [virtual] |
SetCursorPosRel Moving cursor to relative position
Parameters
const TPoint & aPoint | Position in relative coordinates |
SetFontL(const TFontSpec &)
IMPORT_C void | SetFontL | ( | const TFontSpec & | aFontDesc | ) | |
Parameters
const TFontSpec & aFontDesc | font specification |
SetHistorySizeL(TUint, TUint)
IMPORT_C void | SetHistorySizeL | ( | TUint | aMaxChrExtra, |
| TUint | aMaxAttExtra |
| ) | |
Parameters
TUint aMaxChrExtra | lines allocated for history |
TUint aMaxAttExtra | attributed lines allocated for history |
SetKeepCursorInSight(TUint)
IMPORT_C void | SetKeepCursorInSight | ( | TUint | aFlag | ) | |
SetPureCRLF(TUint)
IMPORT_C void | SetPureCRLF | ( | TUint | aFlag | ) | |
SetScrollBarVisibilityL(CEikScrollBarFrame::TScrollBarVisibility, CEikScrollBarFrame::TScrollBarVisibility)
SetScrollLock(TUint)
IMPORT_C void | SetScrollLock | ( | TUint | aFlag | ) | |
SetSelection(const TRect &)
IMPORT_C void | SetSelection | ( | const TRect & | aRange | ) | |
Parameters
const TRect & aRange | range of the selection |
SetTitle(const TDesC &)
IMPORT_C void | SetTitle | ( | const TDesC & | aTitle | ) | [virtual] |
Parameters
const TDesC & aTitle | Title of the console |
SetTitleL(const TDesC &)
IMPORT_C void | SetTitleL | ( | const TDesC & | aTitle | ) | |
Parameters
const TDesC & aTitle | Title of the console |
Title()
HBufC * | Title | ( | ) | const [inline] |
Title() Gets title of the console
returns Title of the console
Up(TUint)
IMPORT_C void | Up | ( | TUint | aCount = 1 | ) | |
Parameters
TUint aCount = 1 | Number of steps to move |
UpdateScrollBars()
IMPORT_C TBool | UpdateScrollBars | ( | ) | |
Write(const TDesC &)
IMPORT_C void | Write | ( | const TDesC & | aDes | ) | [virtual] |
Parameters
const TDesC & aDes | Text to be written to the console |
Member Enumerations Documentation
Enum TEikConsoleFlags
Enumerators
EUseBackedUpWindow = 0x1 | |
ENoInitialCursor = 0x2 | |
Member Data Documentation
TUint
iAllPrintable
TUint
| iAllPrintable | [private] |
CEikConsoleControl * iConsoleControl
TSize
iConsoleSize
TSize
| iConsoleSize | [private] |
HBufC * iConsoleTitle
HBufC * | iConsoleTitle | [private] |
TUint
iCursorBlinking
TUint
| iCursorBlinking | [private] |
TUint
iKeepCursorInSight
TUint
| iKeepCursorInSight | [private] |
TInt
iMaxAttExtra
TInt
| iMaxAttExtra | [private] |
TInt
iMaxChrExtra
TInt
| iMaxChrExtra | [private] |
TInt
iNoChrExtra
TInt
| iNoChrExtra | [private] |
TUint
iScrollLock
TUint
| iScrollLock | [private] |
TRect
iSelection
TRect
| iSelection | [private] |
TBuf< 256 > iWriteBuffer
TBuf< 256 > | iWriteBuffer | [private] |
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.