TWindowInfo Class Reference

class TWindowInfo

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 GetRedrawRegionAndRedrawShadowRegion().

TWindowInfo::GetRedrawRegionAndRedrawShadowRegion()

Nested Classes and Structures

Public Member Functions
TWindowInfo()
voidGetRedrawRegionAndRedrawShadowRegion(const TRegion *&, const TRegion *&)
Public Attributes
TDisplayMode iMode
TRect iScreenPos
Private Attributes
TAny *iFree2
const TRegionPair *iRegionPair

Constructor & Destructor Documentation

TWindowInfo()

TWindowInfo()[inline]

Constructs an animation window information object.

Member Functions Documentation

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

voidGetRedrawRegionAndRedrawShadowRegion(const TRegion *&aRedrawRegion,
const TRegion *&aRedrawShadowRegion
)const [inline]

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 *& aRedrawRegionThe redraw region in screen coordinates.
const TRegion *& aRedrawShadowRegionThe redraw shadow region in screen coordinates.

Member Data Documentation

TAny * iFree2

TAny *iFree2[private]

TDisplayMode iMode

TDisplayMode iMode

The display mode.

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

const TRegionPair * iRegionPair

const TRegionPair *iRegionPair[private]

TRect iScreenPos

TRect iScreenPos

The screen position.