class RBlankWindow : public RWindowBase |
Blank window.
A blank window may have its extent and colour changed, but nothing else may be drawn to it. Blank windows provide no functionality that is not provided by the RWindow class. However, they are useful when the application requires a window that cannot be drawn to, for example a container window.
Public Member Functions | |
---|---|
RBlankWindow() | |
RBlankWindow(RWsSession &) | |
IMPORT_C TInt | Construct(const RWindowTreeNode &, TUint32) |
IMPORT_C void | SetColor(TRgb) |
IMPORT_C void | SetColor() |
IMPORT_C void | SetExtent(const TPoint &, const TSize &) |
IMPORT_C void | SetSize(const TSize &) |
Inherited Enumerations | |
---|---|
RWindowBase:TCaptureFlags | |
RWindowTreeNode:TFadeControl |
Inherited Attributes | |
---|---|
MWsClientClass::iBuffer | |
MWsClientClass::iWsHandle | |
RWindowTreeNode::__DECLARE_TEST |
IMPORT_C | RBlankWindow | ( | ) |
Default C++ constructor which creates an invalid blank-window handle.
See RWindowTreeNode::RWindowTreeNode() for details of how the complete setup of a handle field may be deferred until the window server session is known.
IMPORT_C | RBlankWindow | ( | RWsSession & | aWs | ) |
Default C++ constructor which creates a valid but uninitialised blank-window handle.
This constructor does not create a window in the window server: client programs must do this by calling RBlankWindow::Construct() before any operations can be carried out on the window.
RWsSession & aWs | The window server session that owns the window. |
IMPORT_C TInt | Construct | ( | const RWindowTreeNode & | parent, |
TUint32 | aHandle | |||
) |
Completes the construction of a valid blank-window handle.
This function should be called after the RBlankWindow(RWsSession&) constructor, and before any other functions are performed on the window. It creates a window in the window server corresponding to the RBlankWindow object. The window is initialised to inherit the size and extent of its parent window, or to be full screen if its parent is a group window.
This function always causes a flush of the window server buffer.
TWsEvent::Handle() TWsPriorityKeyEvent::Handle() RWindow::Construct()
const RWindowTreeNode & parent | The window's parent. |
TUint32 aHandle | Client handle for the window. See RWindow::Construct() for a description of the client handle. |
IMPORT_C void | SetColor | ( | TRgb | aColor | ) |
Sets the colour of the blank window.
TRgb aColor | Colour for the window. |
IMPORT_C void | SetColor | ( | ) |
Sets the background colour used for clearing when the window becomes uncovered or visible to none.
The window content will be left with whatever happened to be on the screen at the time.
IMPORT_C void | SetExtent | ( | const TPoint & | point, |
const TSize & | size | |||
) |
Sets the extent of the blank window.
IMPORT_C void | SetSize | ( | const TSize & | size | ) |
Sets the size of the blank window.
const TSize & size | Size. |
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.