MAlfTextureAutoSizeObserver Class Reference

class MAlfTextureAutoSizeObserver

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.

Public Member Functions
TBool PreferredSizeChanged (const CAlfTexture &, TSize )

Member Functions Documentation

PreferredSizeChanged(const CAlfTexture &, TSize)

TBool PreferredSizeChanged ( const CAlfTexture & aChangedTexture,
TSize aPreferredSize
) [pure virtual]

Called to notify the observer that the preferred size of some texture has been changed.

Parameters

const CAlfTexture & aChangedTexture Texture which preferred size has changed.
TSize aPreferredSize preferred size for texture.