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_C THuiImageCommand ( CHuiImageVisual & aImageVisual,
const THuiImage & aImage,
THuiOp aOperation = EHuiOpSetPrimaryImage
)

Constructs a new image command.

Parameters

CHuiImageVisual & aImageVisual Image visual.
const THuiImage & aImage Image.
THuiOp aOperation = EHuiOpSetPrimaryImage Operation to do on the visual.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

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

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C void ExecuteL ( CHuiEnv & aEnv ) const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnv The 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 TInt Size ( ) const [virtual]

Returns the size of the command.

Member Data Documentation

THuiImage iImage

THuiImage iImage [private]

Image of the command.

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]