Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <W32ADLL.H>

Class TWindowInfo

class TWindowInfo;

Description

Animation window information.

Stores the window position and display mode for the animation. During a redraw of the animation window, the redraw regions can be retrieved by calling TWindowInfo::GetRedrawRegionAndRedrawShadowRegion(const TRegion *&,const TRegion *&)const.

Members

Defined in TWindowInfo:

See also:


Construction and destruction


TWindowInfo()

inline TWindowInfo();

Description

Constructs an animation window information object.

[Top]


Member functions


GetRedrawRegionAndRedrawShadowRegion(const TRegion *&,const TRegion *&)const

inline void GetRedrawRegionAndRedrawShadowRegion(const TRegion *&aRedrawRegion, const TRegion *&aRedrawShadowRegion) const;

Description

Returns the current redraw region and redraw shadow region. This function must only be called from an override of CWindowAnim's pure virtual Redraw function. The region pointers retrieved must not be used beyond the end of the Redraw override.

Parameters

const TRegion *&aRedrawRegion

The redraw region in screen coordinates.

const TRegion *&aRedrawShadowRegion

The redraw shadow region in screen coordinates.

[Top]


Member structures


Struct TRegionPair

struct TRegionPair;

Description

Stores a pair of region pointers.

Members

Defined in TWindowInfo::TRegionPair:

Member data


iRegion1

const TRegion * iRegion1;

Description


iRegion2

const TRegion * iRegion2;

Description

[Top]


Member data


iScreenPos

TRect iScreenPos;

Description

The screen position.


iMode

TDisplayMode iMode;

Description

The display mode.

This is the minimum display mode that the screen has to be in to display this window.