Location:
eikimage.h
Link against:
eikcoctl.lib
CEikImage
Supported from 6.0
This class provides functions that enable you to package bitmaps into an image. Two bitmaps can be packaged, one for the image itself and, optionally, another for the image’s mask.
|
Defined in CEikImage
:
Bitmap()
, CEikImage()
, ConstructFromResourceL()
, CreatePictureFromFileL()
, IsPictureOwnedExternally()
, Mask()
, MinimumSize()
, SetBitmap()
, SetEmphasis()
, SetMask()
, SetPicture()
, SetPictureOwnedExternally()
, ~CEikImage()
Inherited from CBase
:
operator new()
Inherited from CCoeControl
:
ActivateGc()
,
ActivateL()
,
BackedUpWindow()
,
CapturesPointer()
,
ClaimPointerGrab()
,
CloseWindow()
,
ComponentControl()
,
ControlContext()
,
ControlEnv()
,
CopyControlContextFrom()
,
CountComponentControls()
,
CreateBackedUpWindowL()
,
CreateWindowL()
,
DeactivateGc()
,
DrawDeferred()
,
DrawNow()
,
DrawableWindow()
,
EnableDragEvents()
,
FocusChanged()
,
GetColor()
,
GetColorUseListL()
,
GetHelpContext()
,
GrabbingComponent()
,
HandleComponentControlsResourceChange()
,
HandlePointerBufferReadyL()
,
HandlePointerEventL()
,
HandleRedrawEvent()
,
HandleResourceChange()
,
HasBorder()
,
IgnoreEventsUntilNextPointerUp()
,
Index()
,
InputCapabilities()
,
IsActivated()
,
IsBackedUp()
,
IsBeingDestroyed()
,
IsBlank()
,
IsDimmed()
,
IsFocused()
,
IsNonFocusing()
,
IsReadyToDraw()
,
IsVisible()
,
MakeVisible()
,
Observer()
,
OfferKeyEventL()
,
OverrideColorL()
,
OwnsWindow()
,
Position()
,
PositionChanged()
,
PositionRelativeToScreen()
,
PrepareForFocusGainL()
,
PrepareForFocusLossL()
,
Rect()
,
RecursivelyMergedInputCapabilities()
,
ReportEventL()
,
ResetGc()
,
SetAdjacent()
,
SetAllowStrayPointers()
,
SetBlank()
,
SetCanDrawOutsideRect()
,
SetComponentsToInheritVisibility()
,
SetContainerWindow()
,
SetContainerWindowL()
,
SetControlContext()
,
SetCornerAndSize()
,
SetCornerAndSizeL()
,
SetDimmed()
,
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 CEikAlignedControl
:
SetAlignment()
,
SetAllMarginsTo()
,
iAlignment
,
iMargin
void ConstructFromResourceL(TResourceReader& aReader);
Constructs an image from resource using the specified resource reader.
|
TSize MinimumSize();
Gets the minimum size required to draw the image.
|
void CreatePictureFromFileL(const TDesC& aFilename,TInt aMainId,TInt aMaskId=-1);
Creates an image from file.
|
const CFbsBitmap* Bitmap() const;
Gets the image’s bitmap.
|
const CFbsBitmap* Mask() const;
Gets the image’s bitmap mask.
|
void SetBitmap(const CFbsBitmap* aBitmap);
Sets the image’s bitmap.
|
void SetMask(const CFbsBitmap* aMaskBitmap);
Sets the image’s bitmap mask.
|
void SetPicture(const CFbsBitmap* aBitmap,const CFbsBitmap* aMaskBitmap);
Sets the image’s bitmap and mask.
|
void SetEmphasis(TBool aEmphasis);
Sets the image’s emphasis.
|
void SetPictureOwnedExternally(TBool aOwnership);
Sets whether the image’s bitmaps are externally owned.
|
TBool IsPictureOwnedExternally();
Tests whether the image is owned externally.
|