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,
TIntaTextureId,
const THuiRealSize &aSize
)[pure virtual]

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

Parameters

const CHuiTexture & aTextureTexture which preferred size has changed.
TInt aTextureIdId of the changed texture.
const THuiRealSize & aSizeNew preferred size for texture.

PreferredSizeReportCompleted()

voidPreferredSizeReportCompleted()[pure virtual]

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