Location:
eikcmbut.h
Link against:
eikcoctl.lib
CEikBitmapButton
Supported from 6.0
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.
|
Defined in CEikBitmapButton
:
CEikBitmapButton()
, ConstructFromResourceL()
, Picture()
, SetPictureFromFileL()
, SetPictureL()
, ~CEikBitmapButton()
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
GetColor()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandleRedrawEvent()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
Observer()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetExtent()
,
SetExtentL()
,
SetExtentToWholeScreen()
,
SetExtentToWholeScreenL()
,
SetFocus()
,
SetFocusing()
,
SetGloballyCapturing()
,
SetNeighbor()
,
SetNonFocusing()
,
SetObserver()
,
SetPointerCapture()
,
SetPosition()
,
SetRect()
,
SetRectL()
,
SetSize()
,
SetSizeL()
,
SetSizeWithoutNotification()
,
SetSizeWithoutNotificationL()
,
Size()
,
SizeChanged()
,
SizeChangedL()
,
SystemGc()
,
Window()
Inherited from CEikBorderedControl
:
Border()
,
HasBorder()
,
SetAdjacent()
,
SetBorder()
,
iBorder
Inherited from CEikButtonBase
:
Animate()
,
CopyDrawStateTo()
,
DrawState()
,
EClear
,
EDrawClear
,
EDrawClearPressed
,
EDrawIndeterminate
,
EDrawIndeterminatePressed
,
EDrawSet
,
EDrawSetPressed
,
EEikButtonLatches
,
EEikButtonReportsOnPointerDown
,
EEikButtonStaysClear
,
EEikButtonStaysSet
,
EIndeterminate
,
ESet
,
HandlePointerEventL()
,
InputCapabilities()
,
IsPressed()
,
SetAllowTristate()
,
SetBehavior()
,
SetBubbleHelpTextL()
,
SetCoordinator()
,
SetIgnoreNextPointerUp()
,
SetReportOnPointerDown()
,
SetState()
,
State()
,
TButtonBehavior
,
TDrawState
,
TState
,
iButFlags
Inherited from CEikCommandButtonBase
:
ActivateL()
,
Behavior()
,
CheckCreateCommandStack()
,
ComponentControl()
,
ConstructImageFromResourceL()
,
ConstructLabelFromResourceL()
,
CountComponentControls()
,
Draw()
,
EBoth
,
EFirst
,
EFirstBottomSecondTop
,
EFirstLeftSecondRight
,
EFirstOnly
,
EFirstRightSecondLeft
,
EFirstTopSecondBottom
,
ESecond
,
ESecondOnly
,
EShare
,
EToFirst
,
EToSecond
,
FocusChanged()
,
GetColorUseListL()
,
HandleResourceChange()
,
LayoutComponents()
,
MinimumSize()
,
OfferKeyEventL()
,
SetButtonLayout()
,
SetContainerWindowL()
,
SetDefault()
,
SetDimmed()
,
SetDisplayContent()
,
SetExcessSpace()
,
SetTextL()
,
StartConstructFromResourceL()
,
StateChanged()
,
TDisplayContent
,
TExcess
,
TLayout
,
TWhichComponent
,
UpdateComponentAlignment()
,
iCmdFlags
,
iComponents[2]
Inherited from MCoeControlContext
:
ActivateContext()
,
PrepareContext()
,
ResetContext()
void ConstructFromResourceL(TResourceReader& aReader);
Constructs a bitmap button from resource.
|
CEikImage* Picture(TWhichComponent aWhich) const;
Gets the image associated with the specified component.
|
|
void SetPictureFromFileL(const TDesC& aFilename,TInt aMain,TInt aMask,TWhichComponent aWhich);
Set the button’s 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.
|
protected: void SetPictureL(const CFbsBitmap* aMain,const CFbsBitmap* aMask,TWhichComponent aWhich);
Sets the image to be displayed in the button, and an optional bitmap mask for the image.
|