TWsRedrawEvent Class Reference

#include <w32std.h>

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

Detailed Description

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.

See also: RWsSession::GetRedraw()

Member Attribute Documentation

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.

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.

Member Function 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.

Return Value
The window's handle.

Rect ( )

TRect Rect()const [inline]

Gets the rectangle to redraw.

Return Value
The rectangle that needs redrawing. Co-ordinates are relative to the window whose handle is given by Handle().

SetHandle ( TUint )

voidSetHandle(TUintaHandle)

SetRect ( TRect )

voidSetRect(TRectaRect)