MWsWindowVisibilityObserver Class Reference

class MWsWindowVisibilityObserver

Implemented by a WSERV screen to respond to window visibility change notifications sent by a render stage implementing MWsWindowVisibilityNotifier .

Immediately after WSERV sucessfully obtains a pointer to MWsWindowVisibilityNotifier , WSERV will call MWsWindowVisibilityNotifier::RegisterWindowVisibilityObserver() to provide a means for the render stage to notify WSERV, when window visibility changes.

MWsWindowVisibilityNotifier

Public Member Functions
void SetWindowVisibility (const MWsWindow &, const TRegion &)
void VisibilityChanged ()

Member Functions Documentation

SetWindowVisibility(const MWsWindow &, const TRegion &)

void SetWindowVisibility ( const MWsWindow & aWindow,
const TRegion & aVisibleRegion
) [pure virtual]

Called by the render stage to update a window's visible region.

Parameters

const MWsWindow & aWindow The window whose visible region has changed.
const TRegion & aVisibleRegion Region of the window not obscured by a fully opaque window. Part of this region could potentially still be obscured by opaque parts of translucent windows on top of aWindow.

VisibilityChanged()

void VisibilityChanged ( ) [pure virtual]

Called by the render stage to indicate a window's visible region has changed. After this method has been called, it does not need to be called again until after WSERV calls SendVisibilityChanges. MWsWindowVisibilityNotifier::SendVisibilityChanges