class RWindowBase : public RWindowTreeNode |
Client-side handle to a server-side window.
The server-side windows of handles derived from this class can be displayed on the device's screen, and associated with pointer events.
This class is not for user derivation; however derived classes form part of the Window Server API.
Protected Member Functions | |
---|---|
RWindowBase() | |
RWindowBase(RWsSession &) | |
TInt | construct(const RWindowTreeNode &, TUint32, TInt, TDisplayMode) |
Public Member Enumerations | |
---|---|
enum | TCaptureFlags { TCaptureFlagEnabled = 0x01, TCaptureFlagDragDrop = 0x02, TCaptureFlagAllGroups = 0x04, TCaptureDisabled = 0, TCaptureEnabled = TCaptureFlagEnabled, TCaptureDragDrop = TCaptureFlagEnabled|TCaptureFlagDragDrop|TCaptureFlagAllGroups } |
Inherited Enumerations | |
---|---|
RWindowTreeNode:TFadeControl |
Inherited Attributes | |
---|---|
MWsClientClass::iBuffer | |
MWsClientClass::iWsHandle | |
RWindowTreeNode::__DECLARE_TEST |
IMPORT_C TInt | AddKeyRect | ( | const TRect & | aRect, |
TInt | aScanCode, | |||
TBool | aActivatedByPointerSwitchOn | |||
) |
IMPORT_C TInt | AllocPointerMoveBuffer | ( | TInt | aMaxPoints, |
TUint | aFlags | |||
) |
IMPORT_C TInt | CancelPointerRepeatEventRequest | ( | const TUint8 | aPointerNumber | ) |
const TUint8 aPointerNumber |
IMPORT_C void | ClaimPointerGrab | ( | TBool | aSendUpEvent = ETrue | ) |
TBool aSendUpEvent = ETrue |
IMPORT_C TInt | ClaimPointerGrab | ( | const TUint8 | aPointerNumber, |
const TBool | aSendUpEvent = ETrue | |||
) |
IMPORT_C void | EnableBackup | ( | TUint | aBackupType = EWindowBackupAreaBehind | ) |
TUint aBackupType = EWindowBackupAreaBehind |
IMPORT_C TInt | GetBackgroundSurface | ( | TSurfaceConfiguration & | aConfiguration | ) | const |
TSurfaceConfiguration & aConfiguration |
IMPORT_C TPoint | InquireOffset | ( | const RWindowTreeNode & | aWindow | ) | const |
const RWindowTreeNode & aWindow |
IMPORT_C TInt | PasswordWindow | ( | TPasswordMode | aPasswordMode | ) |
TPasswordMode aPasswordMode |
IMPORT_C void | RemoveBackgroundSurface | ( | TBool | aTriggerRedraw | ) |
TBool aTriggerRedraw |
IMPORT_C void | RequestPointerRepeatEvent | ( | TTimeIntervalMicroSeconds32 | aTime, |
const TRect & | aRect | |||
) |
TTimeIntervalMicroSeconds32 aTime | |
const TRect & aRect |
IMPORT_C TInt | RequestPointerRepeatEvent | ( | TTimeIntervalMicroSeconds32 | aTime, |
const TRect & | aRect, | |||
const TUint8 | aPointerNumber | |||
) |
TTimeIntervalMicroSeconds32 aTime | |
const TRect & aRect | |
const TUint8 aPointerNumber |
IMPORT_C TInt | RetrievePointerMoveBuffer | ( | TDes8 & | aBuf | ) | const |
TDes8 & aBuf |
IMPORT_C TInt | SetBackgroundSurface | ( | const TSurfaceId & | aSurface | ) |
const TSurfaceId & aSurface |
IMPORT_C TInt | SetBackgroundSurface | ( | const TSurfaceConfiguration & | aConfiguration, |
TBool | aTriggerRedraw | |||
) |
const TSurfaceConfiguration & aConfiguration | |
TBool aTriggerRedraw |
IMPORT_C TInt | SetCornerType | ( | TCornerType | aCornerType, |
TInt | aCornerFlags = 0 | |||
) |
TCornerType aCornerType | |
TInt aCornerFlags = 0 |
IMPORT_C TInt | SetExtentErr | ( | const TPoint & | point, |
const TSize & | size | |||
) |
IMPORT_C void | SetPointerCapturePriority | ( | TInt | aPriority | ) |
TInt aPriority |
IMPORT_C void | SetPosition | ( | const TPoint & | point | ) |
const TPoint & point |
IMPORT_C TInt | SetRequiredDisplayMode | ( | TDisplayMode | aMode | ) |
TDisplayMode aMode |
IMPORT_C TInt | SetShape | ( | const TRegion & | aRegion | ) |
const TRegion & aRegion |
IMPORT_C void | SetSurfaceTransparency | ( | TBool | aSurfaceTransparency | ) |
TBool aSurfaceTransparency |
TInt | construct | ( | const RWindowTreeNode & | parent, |
TUint32 | aHandle, | |||
TInt | aType, | |||
TDisplayMode | aDisplayMode | |||
) | [protected] |
const RWindowTreeNode & parent | |
TUint32 aHandle | |
TInt aType | |
TDisplayMode aDisplayMode |
TCaptureFlagEnabled = 0x01 |
If set, capture is enabled, disabled otherwise. |
TCaptureFlagDragDrop = 0x02 |
If set, drag-drop events are sent to the window in which the pointer was lifted. Drag-drop is a tap-drag-lift sequence. |
TCaptureFlagAllGroups = 0x04 |
Capture events from windows belonging to any group, not just the group of the window on which the flag was set |
TCaptureDisabled = 0 |
Equivalent to disabling all the above flags. |
TCaptureEnabled = TCaptureFlagEnabled |
Equivalent to TCaptureFlagEnabled. |
TCaptureDragDrop = TCaptureFlagEnabled|TCaptureFlagDragDrop|TCaptureFlagAllGroups |
Equivalent to the OR of the first three flags. |