#include <mw/eikspace.h>
class CEikSpacer : public CAknControl |
Public Member Functions | |
---|---|
CEikSpacer() | |
CEikSpacer(TInt, TInt, TRgb) | |
~CEikSpacer() | |
virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C void | SetClear(TBool) |
IMPORT_C void | SetColor(TRgb) |
IMPORT_C void | SetHeight(TInt) |
IMPORT_C void | SetWidth(TInt) |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
An invisible control that is used to provide a space between visible controls. 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.
IMPORT_C | CEikSpacer | ( | ) |
Default C++ constructor. The spacer's color is initialised to white.
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CCoeControl::HandlePointerEventL(const TPointerEvent &)
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 CCoeControl.
Parameter | Description |
---|---|
aPointerEvent | The pointer event. |
IMPORT_C void | SetClear | ( | TBool | aClear | ) |
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.
Parameter | Description |
---|---|
aClear | ETrue to set the "Is clear" flag, EFalse to unset it. |
IMPORT_C void | SetColor | ( | TRgb | aColor | ) |
Sets the spacer's color.
Parameter | Description |
---|---|
aColor | The spacer's color. |
IMPORT_C void | SetHeight | ( | TInt | aHeight | ) |
Sets the spacer's height.
Parameter | Description |
---|---|
aHeight | The spacer's height. |
IMPORT_C void | SetWidth | ( | TInt | aWidth | ) |
Sets the spacer's width.
Parameter | Description |
---|---|
aWidth | The spacer's width. |