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
voidSetWindowVisibility(const MWsWindow &, const TRegion &)
voidVisibilityChanged()

Member Functions Documentation

SetWindowVisibility(const MWsWindow &, const TRegion &)

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

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

Parameters

const MWsWindow & aWindowThe window whose visible region has changed.
const TRegion & aVisibleRegionRegion 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()

voidVisibilityChanged()[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