TWsRedrawEvent Class Reference

class TWsRedrawEvent

Window server redraw event.

All redraw events generated by the window server are delivered to the client in an object of this type. The class provides a handle to the window which generated the redraw event, and the rectangle which should be redrawn.

RWsSession::GetRedraw()

Public Member Functions
TUint Handle()
TRect Rect()
voidSetHandle(TUint)
voidSetRect(TRect)
Protected Attributes
TUint iHandle
TRect iRect

Member Functions Documentation

Handle()

TUint Handle()const [inline]

Gets the handle of the window which is the target of the redraw event.

This is the handle that was passed to the window's Construct() function: typically it will be a pointer to the object owning the window, providing access to its member functions.

Rect()

TRect Rect()const [inline]

Gets the rectangle to redraw.

SetHandle(TUint)

voidSetHandle(TUintaHandle)

Parameters

TUint aHandle

SetRect(TRect)

voidSetRect(TRectaRect)

Parameters

TRect aRect

Member Data Documentation

TUint iHandle

TUint iHandle[protected]

WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.

TRect iRect

TRect iRect[protected]

Rectangle to redraw. WARNING: Member variable for internal use ONLY. Compatibility is not guaranteed in future releases. Please access using the provided get/set APIs only.