THuiImageCommand Class Reference

class THuiImageCommand : public THuiObjectCommand

THuiImageCommand is a command that operaters on an image visual.

Inherits from

Constructor & Destructor Documentation

THuiImageCommand(CHuiImageVisual &, const THuiImage &, THuiOp)

IMPORT_CTHuiImageCommand(CHuiImageVisual &aImageVisual,
const THuiImage &aImage,
THuiOpaOperation = EHuiOpSetPrimaryImage
)

Constructs a new image command.

Parameters

CHuiImageVisual & aImageVisualImage visual.
const THuiImage & aImageImage.
THuiOp aOperation = EHuiOpSetPrimaryImageOperation to do on the visual.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C voidCommandExtension(const TUid &aExtensionUid,
TAny **aExtensionParams
)[protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C voidExecuteL(CHuiEnv &aEnv)const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnvThe environment in which the command is being executed.

Image()

IMPORT_C const THuiImage &Image()const

Returns a reference to the image of the visual.

ImageVisual()

IMPORT_C CHuiImageVisual &ImageVisual()const

Returns the visual that the command operates on.

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Member Data Documentation

THuiImage iImage

THuiImageiImage[private]

Image of the command.

TInt iSpare1

TInt iSpare1[private]

TInt iSpare2

TInt iSpare2[private]