Example #1
0
void CMixer::OnTimer(W64UINT nIDEvent) 
{
	CFracticeView	*View = GetCurView();
	if (View == NULL || !m_IsExclusive)
		return;	// can't blit
	CSize	SrcSize = View->GetImageSize();
	CSize	DstSize = m_DispSize;
	if (m_BackBuf.IsMirrored()) {
		SrcSize.cx >>= 1;
		SrcSize.cy >>= 1;
		DstSize.cx >>= 1;
		DstSize.cy >>= 1;
	}
Example #2
0
void CMixer::OnChannelChange()
{
	CFracticeView	*View = GetCurView();
	if (View != NULL)
		View->GetEngine().SetTweening(FALSE);	// suppress initial tween
}
Example #3
0
// gets the thumbnail for the specified view,
// using the selected version if the view is selected
CBitmap *CDeviceUI::GetViewThumbnail(int nView)
{
	return GetViewThumbnail(nView, GetView(nView) == GetCurView());
}