MHuiTextureAutoSizeObserver Class Reference

class MHuiTextureAutoSizeObserver

Provides callback methods for getting notifications when texture manager notices a texture which preferrred size is changed.

The class willing to receive these events must implement the methods of this interface, and then register itself to the obsevers list of the texture manager.

CHuiTextureManager

Member Functions Documentation

PreferredSizeChanged(const CHuiTexture &, TInt, const THuiRealSize &)

TBool PreferredSizeChanged ( const CHuiTexture & aTexture,
TInt aTextureId,
const THuiRealSize & aSize
) [pure virtual]

Called to notify the observer that the preferred size of a texture has beem changed.

Parameters

const CHuiTexture & aTexture Texture which preferred size has changed.
TInt aTextureId Id of the changed texture.
const THuiRealSize & aSize New preferred size for texture.

PreferredSizeReportCompleted()

void PreferredSizeReportCompleted ( ) [pure virtual]

Called to notify the observer that all changed preferred sizes of textures are reported (for this frame).