예제 #1
0
/////////////////////////////////////////////////////////////////////////////
// CCxImageCtrl message handlers
void	CCxImageCtrl::Refresh()
{
	if(m_hImage.IsValid()&&IsWindow(GetSafeHwnd()))
	{
		SetZoomValue(GetZoomValue());
		
		CRect ClipRect;
		GetClientRect(&ClipRect);
		OnSize(SIZE_RESTORED,ClipRect.Width(),ClipRect.Height());
		
		Invalidate(FALSE);
	}
}
예제 #2
0
void CAafAppCameraView::ZoomOut()
{
	TInt zoomValue = GetZoomValue()-1;

	SetZoomValue(zoomValue);
}
예제 #3
0
void CAafAppCameraView::ZoomIn()
{
	TInt zoomValue = GetZoomValue()+1;

	SetZoomValue(zoomValue);
}