#include <mw/eikalign.h>
class CEikAlignedControl : public CAknControl |
Public Attributes | |
---|---|
TGulAlignment | iAlignment |
TMargins8 | iMargin |
Public Member Functions | |
---|---|
CEikAlignedControl() | |
~CEikAlignedControl() | |
virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C void | SetAlignment(TGulAlignmentValue) |
IMPORT_C void | SetAllMarginsTo(TInt) |
Protected Member Functions | |
---|---|
virtual IMPORT_C void | WriteInternalStateL(RWriteStream &) |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CCoeControl::HandlePointerEventL(const TPointerEvent &)
From CCoeControl. 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. The control should implement this function to handle pointer events.
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 | SetAlignment | ( | TGulAlignmentValue | aAlign | ) |
Sets the control's alignment.
Parameter | Description |
---|---|
aAlign | The alignment to be set to the control. |
IMPORT_C void | SetAllMarginsTo | ( | TInt | aValue | ) |
Sets all of the control's margins.
Parameter | Description |
---|---|
aValue | The number of pixels to which all margins will be set. |
IMPORT_C void | WriteInternalStateL | ( | RWriteStream & | aWriteStream | ) | const [protected, virtual] |
Reimplemented from CCoeControl::WriteInternalStateL(RWriteStream &)const
Writes the internal state of the control and its components to aWriteStream.
Does nothing in release mode. Designed to be overridden and base called from subclasses.
From CCoeControl.
Parameter | Description |
---|---|
aWriteStream | A connected write stream. |