|
|
|
Location:
EIKCMBUT.H
Link against: eikcoctl.lib
class CEikBitmapButton : public CEikCommandButtonBase;
This class provides member functions to enable you to create a command button with a bitmap image.
A bitmap button has no text associated with it: it displays a picture only.
MQikCommandHandler - Interface for classes responsible of executing commandsMQikCommandListOwner - Interface for classes adding commandsMEikBorderedControl - Interface for bordered controlsMObjectProvider - An interface that allows an object to be part of a network of object providersCBase - Base class for all classes to be instantiated on the heapCCoeControl - Control base class from which all other controls are derivedCEikBorderedControl - A control which is drawn surrounded by a rectangular borderCEikButtonBase - This is the base class from which concrete button controls (command buttons, option buttons and checkboxes) are derivedCEikCommandButtonBase - Base class for command buttonsCEikBitmapButton - This class provides member functions to enable you to create a command button with a bitmap imageDefined in CEikBitmapButton:
CEikBitmapButton(), ConstructFromResourceL(), Picture(), SetPictureFromFileL(), SetPictureL(), WriteInternalStateL(), ~CEikBitmapButton()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CCoeControl:
AccumulatedZoom(),
ActivateGc(),
BackedUpWindow(),
Background(),
CapturesPointer(),
ClaimPointerGrab(),
CloseWindow(),
ComponentArrayExists(),
Components(),
ControlContext(),
ControlEnv(),
CopyControlContextFrom(),
CreateBackedUpWindowL(),
CreateWindowL(),
DeactivateGc(),
DrawBackground(),
DrawDeferred(),
DrawForeground(),
DrawNow(),
DrawableWindow(),
EAbsoluteZoom,
ERelativeZoom,
EnableDragEvents(),
FindBackground(),
FindFontProvider(),
GetColor(),
GetGc(),
GrabbingComponent(),
HandleComponentControlsResourceChange(),
HandleRedrawEvent(),
HitTest(),
IgnoreEventsUntilNextPointerUp(),
Index(),
InitComponentArrayL(),
IsActivated(),
IsBackedUp(),
IsBeingDestroyed(),
IsBlank(),
IsDimmed(),
IsFocused(),
IsNonFocusing(),
IsReadyToDraw(),
IsVisible(),
LayoutManager(),
MaximumWidth(),
MopNext(),
Observer(),
OverrideColorL(),
OwnsWindow(),
Parent(),
Position(),
PositionRelativeToScreen(),
Rect(),
RecursivelyMergedInputCapabilities(),
ReportEventL(),
Reserved_2(),
ResetGc(),
ScreenFont(),
SetAllowStrayPointers(),
SetBackground(),
SetBlank(),
SetCanDrawOutsideRect(),
SetComponentsToInheritVisibility(),
SetControlContext(),
SetCornerAndSize(),
SetExtent(),
SetExtentToWholeScreen(),
SetFocus(),
SetFocusing(),
SetFontProviderL(),
SetGc(),
SetGloballyCapturing(),
SetHitTest(),
SetMaximumWidth(),
SetMopParent(),
SetNonFocusing(),
SetObserver(),
SetPointerCapture(),
SetPosition(),
SetRect(),
SetSize(),
SetSizeWithoutNotification(),
SetUniqueHandle(),
SetZoomFactorL(),
Size(),
SystemGc(),
TZoomType,
TextDrawer(),
UniqueHandle(),
Window(),
ZoomWithType(),
iCoeEnv,
iContext,
iPosition,
iSize
Inherited from CEikBorderedControl:
iBorder
Inherited from CEikButtonBase:
Animate(),
CEikButtonBase_Reserved_1(),
CEikButtonBase_Reserved_2(),
CEikButtonBase_Reserved_3(),
CopyDrawStateTo(),
DrawState(),
EClear,
EDrawClear,
EDrawClearPressed,
EDrawIndeterminate,
EDrawIndeterminatePressed,
EDrawSet,
EDrawSetPressed,
EIndeterminate,
ESet,
GetTextDrawer(),
IsPressed(),
SetAllowTristate(),
SetBehavior(),
SetBubbleHelpTextL(),
SetCoordinator(),
SetIgnoreNextPointerUp(),
SetReportOnPointerDown(),
SetState(),
State(),
TDrawState,
TState,
iButFlags
Inherited from CEikCommandButtonBase:
ActivateL(),
Behavior(),
Border(),
CEikCommandButtonBase_Reserved_1(),
CheckCreateCommandStackL(),
ComponentControl(),
ConstructImageFromResourceL(),
ConstructLabelFromResourceL(),
CountComponentControls(),
Draw(),
EBoth,
EDenseFont,
EFirst,
EFirstBottomSecondTop,
EFirstLeftSecondRight,
EFirstOnly,
EFirstRightSecondLeft,
EFirstTopSecondBottom,
ESecond,
ESecondOnly,
EShare,
EToFirst,
EToSecond,
FocusChanged(),
GetColorUseListL(),
GetHelpContext(),
HandleCommandL(),
HandleControlArrayEventL(),
HandlePointerBufferReadyL(),
HandlePointerEventL(),
HandleResourceChange(),
HasBorder(),
InputCapabilities(),
IsDefault(),
LayoutComponents(),
MakeVisible(),
MapCommandHandler(),
MinimumSize(),
MopSupplyObject(),
OfferKeyEventL(),
PositionChanged(),
PrepareForFocusGainL(),
PrepareForFocusLossL(),
RequestRelayout(),
SetAdjacent(),
SetBorder(),
SetButtonLayout(),
SetContainerWindowL(),
SetContentL(),
SetDefault(),
SetDimmed(),
SetDisplayContent(),
SetDisplayPictureOnly(),
SetExcessSpace(),
SetLayoutManagerL(),
SetNeighbor(),
SetParent(),
SetTextBaselineSpacing(),
SetTextL(),
SizeChanged(),
StartConstructFromResourceL(),
StateChanged(),
TDisplayContent,
TExcess,
TLayout,
TWhichComponent,
TextBaselineOffset(),
UpdateComponentAlignment(),
iCmdFlags,
iComponents,
iMargins
Inherited from MEikBorderedControl:
ETypeId,
anonymous
Inherited from MObjectProvider:
MObjectProvider_Reserved1(),
MObjectProvider_Reserved2(),
MopGetObject(),
MopGetObjectNoChaining()
Inherited from MQikCommandHandler:
HandleAttemptDimmedSelectionL()
IMPORT_C void SetPictureL(const CFbsBitmap *aMain, const CFbsBitmap *aMask=0,TWhichComponent aWhich=EFirst);
Sets the image to be displayed in the button, and an optional bitmap mask for the image.
|
IMPORT_C void SetPictureFromFileL(const TDesC &aFilename, TInt aMain, TInt aMask=-1, TWhichComponent aWhich=EFirst);
Set the buttons image to a bitmap stored in a file.
A bitmap mask may optionally be set using aMask . If the image cannot be read from the file, the button is not updated.
|
IMPORT_C CEikImage *Picture(TWhichComponent aWhich=EFirst) const;
Gets the image associated with the specified component.
|
|
virtual IMPORT_C void ConstructFromResourceL(TResourceReader &aReader);
Constructs a bitmap button from resource.
|
protected: virtual IMPORT_C void WriteInternalStateL(RWriteStream &aWriteStream) const;
Writes the internal state of the control and its components to aStream. Does nothing in release mode. Designed to be overidden and base called by subclasses.
|