RScreenDisplay Class Reference

class RScreenDisplay

Internal class - not part of interface

Public Member Functions
RScreenDisplay ( TDrawTextLayoutContext *const )
void ActivateContext ()
void ActivateContext ( CGraphicsContext *)
void AddRects ( TUint )
CBitmapContext * BitmapContext ()
CBitmapDevice * BitmapDevice ()
void BlastBitmap (const TPoint &, const CFbsBitmap *, const TRect &)
void ClearRect (const TRect &)
TRect ClippingRect ()
void Close ()
void CreateContextL ( CBitmapDevice *)
void CreateContextL ()
void DeactivateContext ()
void DeactivateContext ( CGraphicsContext *)
void Destroy ()
void DrawPictureFrame ( TFrameOverlay *, const TRect &)
void Flush ()
void Invalidate ( TRect )
void InvertRect ( TRect , const TRgb )
TBool IsLineCursor ()
CTextLayout * Layout ()
TRect LineCursorMargin ()
void RemoveTextCursor ()
void ResetClippingRect ()
void Scroll ( TRect , const TPoint &, TBool )
void SetBitmapContext ( CBitmapContext *)
void SetGraphicsDeviceL ( CBitmapDevice *)
void SetInvalidRect (const TRect &)
void SetInvalidRect ( TInt )
void SetInvalidRectHorizontal ( TInt )
void SetLayout ( CTextLayout *)
void SetRects ( TUint )
void SetTextCursor ( TPoint , const TTextCursor &)
void SetWindow ( RWindow *)
void SetWindowGroup ( RWindowGroup *)
void SetWindowsServer ( RWsSession *)
void SubRects ( TUint )
TPoint TopLeftTextArea ()
TBool UseWindowGc ()
RWindow * Window ()
RWsSession * WindowServerSession ()
Private Member Functions
void DestroyContexts ()
Public Member Enumerations
enum TClippingRects {
EFClipTextArea  = 0x0001, EFClipLineCursor  = 0x0002, EFClipExtendedTextArea  = 0x0004, EFClipViewRect  = 0x0008, EFClipExtendedViewRect  = 0x0010, EFClipInvalid  = 0x0200, EFClipAllFlags  = 0xFFFF
}
Private Attributes
TLogicalRgb iBackground
TDrawTextLayoutContext *const iDrawTextLayoutContext
CBitmapContext * iGc
CBitmapDevice * iGd
RWindowGroup * iGroupWin
TRect iInvalidRect
TUint iRects
RWsSession * iSession
CTextLayout * iTextLayout
RWindow * iWin

Constructor & Destructor Documentation

RScreenDisplay(TDrawTextLayoutContext *const)

RScreenDisplay ( TDrawTextLayoutContext *const aDrawTextLayoutContext )

Parameters

TDrawTextLayoutContext *const aDrawTextLayoutContext

Member Functions Documentation

ActivateContext()

void ActivateContext ( )

ActivateContext(CGraphicsContext *)

void ActivateContext ( CGraphicsContext * aGc )

Parameters

CGraphicsContext * aGc

AddRects(TUint)

void AddRects ( TUint aRects )

Parameters

TUint aRects

BitmapContext()

CBitmapContext * BitmapContext ( ) const [inline]

BitmapDevice()

CBitmapDevice * BitmapDevice ( ) const [inline]

BlastBitmap(const TPoint &, const CFbsBitmap *, const TRect &)

void BlastBitmap ( const TPoint & aPoint,
const CFbsBitmap * aBitmap,
const TRect & aRect
)

Parameters

const TPoint & aPoint
const CFbsBitmap * aBitmap
const TRect & aRect

ClearRect(const TRect &)

void ClearRect ( const TRect & aRect )

Parameters

const TRect & aRect

ClippingRect()

TRect ClippingRect ( )

Close()

void Close ( )

CreateContextL(CBitmapDevice *)

void CreateContextL ( CBitmapDevice * aGd )

Parameters

CBitmapDevice * aGd

CreateContextL()

void CreateContextL ( )

DeactivateContext()

void DeactivateContext ( )

DeactivateContext(CGraphicsContext *)

void DeactivateContext ( CGraphicsContext * aGc )

Parameters

CGraphicsContext * aGc

Destroy()

void Destroy ( )

DestroyContexts()

void DestroyContexts ( ) [private]

DrawPictureFrame(TFrameOverlay *, const TRect &)

void DrawPictureFrame ( TFrameOverlay * aPictureFrame,
const TRect & aLineRect
)

Parameters

TFrameOverlay * aPictureFrame
const TRect & aLineRect

Flush()

void Flush ( )

Invalidate(TRect)

void Invalidate ( TRect aRect )

Parameters

TRect aRect

InvertRect(TRect, const TRgb)

void InvertRect ( TRect aRect,
const TRgb aInvertColor
)

Parameters

TRect aRect
const TRgb aInvertColor

IsLineCursor()

TBool IsLineCursor ( ) const

Layout()

CTextLayout * Layout ( )

LineCursorMargin()

TRect LineCursorMargin ( ) const

RemoveTextCursor()

void RemoveTextCursor ( )

ResetClippingRect()

void ResetClippingRect ( )

Scroll(TRect, const TPoint &, TBool)

void Scroll ( TRect aRect,
const TPoint & aBy,
TBool aScrollBackground
)

Parameters

TRect aRect
const TPoint & aBy
TBool aScrollBackground

SetBitmapContext(CBitmapContext *)

void SetBitmapContext ( CBitmapContext * aGc ) [inline]

Parameters

CBitmapContext * aGc

SetGraphicsDeviceL(CBitmapDevice *)

void SetGraphicsDeviceL ( CBitmapDevice * aGd )

Parameters

CBitmapDevice * aGd

SetInvalidRect(const TRect &)

void SetInvalidRect ( const TRect & aRect )

Parameters

const TRect & aRect

SetInvalidRect(TInt)

void SetInvalidRect ( TInt aHeight )

Parameters

TInt aHeight

SetInvalidRectHorizontal(TInt)

void SetInvalidRectHorizontal ( TInt aWidth )

Parameters

TInt aWidth

SetLayout(CTextLayout *)

void SetLayout ( CTextLayout * aLayout )

Parameters

CTextLayout * aLayout

SetRects(TUint)

void SetRects ( TUint aRects )

Parameters

TUint aRects

SetTextCursor(TPoint, const TTextCursor &)

void SetTextCursor ( TPoint aPos,
const TTextCursor & aCursor
)

Parameters

TPoint aPos
const TTextCursor & aCursor

SetWindow(RWindow *)

void SetWindow ( RWindow * aWin )

Parameters

RWindow * aWin

SetWindowGroup(RWindowGroup *)

void SetWindowGroup ( RWindowGroup * aWin ) [inline]

Parameters

RWindowGroup * aWin

SetWindowsServer(RWsSession *)

void SetWindowsServer ( RWsSession * aSession ) [inline]

Parameters

RWsSession * aSession

SubRects(TUint)

void SubRects ( TUint aRects )

Parameters

TUint aRects

TopLeftTextArea()

TPoint TopLeftTextArea ( ) const

UseWindowGc()

TBool UseWindowGc ( ) const

Window()

RWindow * Window ( ) const [inline]

WindowServerSession()

RWsSession * WindowServerSession ( ) [inline]

Member Enumerations Documentation

Enum TClippingRects

Enumerators

EFClipTextArea = 0x0001
EFClipLineCursor = 0x0002
EFClipExtendedTextArea = 0x0004
EFClipViewRect = 0x0008
EFClipExtendedViewRect = 0x0010
EFClipInvalid = 0x0200
EFClipAllFlags = 0xFFFF

Member Data Documentation

TLogicalRgb iBackground

TLogicalRgb iBackground [private]

TDrawTextLayoutContext *const iDrawTextLayoutContext

TDrawTextLayoutContext *const iDrawTextLayoutContext [private]

CBitmapContext * iGc

CBitmapContext * iGc [private]

CBitmapDevice * iGd

CBitmapDevice * iGd [private]

RWindowGroup * iGroupWin

RWindowGroup * iGroupWin [private]

TRect iInvalidRect

TRect iInvalidRect [private]

TUint iRects

TUint iRects [private]

RWsSession * iSession

RWsSession * iSession [private]

CTextLayout * iTextLayout

CTextLayout * iTextLayout [private]

RWindow * iWin

RWindow * iWin [private]