Exemplo n.º 1
0
void CWsWindow::Shutdown()
	{
	TWindowServerEvent::NotifyDrawer(TWservCrEvent(TWservCrEvent::EWindowClosing, 0, 0, this));
	RemoveFromAccessList();	
	CWsAnim::WindowClosing(iAnimList);	// Destroy any animated objects attached to this window
	iVisibleRegion.Close();
	iScheduledRegion.Close();
	AbortAllDSAs();
	CWsWindowBase::Shutdown();
	SetPointerCursor(NULL);
	delete iRedraw;
	}
Exemplo n.º 2
0
void CWsWindow::Shutdown()
	{
	TWindowServerEvent::NotifyDrawer(TWservCrEvent(TWservCrEvent::EWindowClosing, 0, 0, this));
	RemoveFromAccessList();
	CWsAnim::WindowClosing(iAnimList);	// Destroy any animated objects attached to this window
	iVisibleRegion.Reset();
	iScheduledRegion.Reset();
	iScheduledSpriteRegion.Reset();
	iDirtyWindowRegion.Reset();
	iDirtySpriteRegion.Reset();
	AbortAllDSAs();
	CWsWindowBase::Shutdown();
	SetPointerCursor(NULL);
	delete iRedraw;
	iRedraw=NULL;
	Screen()->RemoveFromScheduledList(this);
	Screen()->RemoveFromTimedDrawList(this);
	Screen()->RemoveFromQuickFadeList(this);
	}