API published in: S60 1st Ed
Link against: eikctl.lib eikcoctl.lib
Required Capabilities
None
#include <eikspace.h>
Inherits CAknControl.
It has a width, a height and a color. The spacer is normally drawn using the background color so that it is invisible.
Its associated resource struct is SPACER
and its control factory identifier is EEikCtSpacer
.
Public Member Functions |
|
IMPORT_C | CEikSpacer () |
Default C++ constructor. |
|
IMPORT_C | CEikSpacer (TInt aWidth, TInt aHeight, TRgb aColor) |
C++ constructor with a width, height and color. |
|
IMPORT_C | ~CEikSpacer () |
Destructor. |
|
IMPORT_C void | SetWidth (TInt aWidth) |
Sets the spacer's width. |
|
IMPORT_C void | SetHeight (TInt aHeight) |
Sets the spacer's height. |
|
IMPORT_C void | SetColor (TRgb aColor) |
Sets the spacer's color. |
|
IMPORT_C void | SetClear (TBool aClear) |
Specifies whether the spacer is drawn using the standard brush color. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
Handles pointer events. |
|
Default C++ constructor. The spacer's color is initialised to white. |
|
C++ constructor with a width, height and color.
|
|
Destructor. |
|
Handles pointer events. This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. If overriding this method, the implementation must include a base call to this method.
From
|
|
Specifies whether the spacer is drawn using the standard brush color. If the "Is clear" flag is set, the spacer's color value is ignored, and it is drawn using the brush color defined in the system's standard graphics context. By default, the "Is clear" flag is unset.
|
|
Sets the spacer's color.
|
|
Sets the spacer's height.
|
|
Sets the spacer's width.
|