70 lines
2.0 KiB
C++
70 lines
2.0 KiB
C++
//=========================================================================
|
|
// CPADgCam.cpp : implementation file for dialog box of camera properties
|
|
// This is a part of the CPA project.
|
|
//
|
|
// Version 1.0
|
|
// Creation date 16/07/96
|
|
// Revision date
|
|
//
|
|
// (c) Ubi Studios 1996
|
|
//
|
|
// DO NOT MODIFY THAT FILE. IF SOMETHING NEEDS TO BE CHANGE, PLEASE CONTACT
|
|
// VINCENT GRECO OR CHRISTOPHE BEAUDET.
|
|
//=========================================================================
|
|
|
|
// CPADgCam.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
|
|
#ifdef ACTIVE_EDITOR
|
|
#include "acp_base.h"
|
|
#include "itf/CPADgCam.hpp"
|
|
#include "itf/CPAProj.hpp"
|
|
#include "itf/FrmGest.hpp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPA_DialogCamera dialog
|
|
|
|
CPA_DialogCamera::CPA_DialogCamera(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CPA_DialogCamera::IDD, &g_oBaseFrame)
|
|
{
|
|
//{{AFX_DATA_INIT(CPA_DialogCamera)
|
|
// NOTE: the ClassWizard will add member initialization here
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
int CPA_DialogCamera::DoModal(void)
|
|
{
|
|
int iRes;
|
|
|
|
M_GetMainWnd()->EnableWindow(FALSE);
|
|
GetParent()->EnableWindow(FALSE);
|
|
EnableWindow(TRUE);
|
|
iRes = RunModalLoop();
|
|
GetParent()->EnableWindow(TRUE);
|
|
M_GetMainWnd()->EnableWindow(TRUE);
|
|
return iRes;
|
|
}
|
|
|
|
void CPA_DialogCamera::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CPA_DialogCamera)
|
|
// NOTE: the ClassWizard will add DDX and DDV calls here
|
|
DDX_Radio(pDX, CPA_IDC_RADIO1, m_iTranslate);
|
|
DDX_Radio(pDX, CPA_IDC_RADIO_1, m_iRotate);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
BEGIN_MESSAGE_MAP(CPA_DialogCamera, CDialog)
|
|
//{{AFX_MSG_MAP(CPA_DialogCamera)
|
|
// NOTE: the ClassWizard will add message map macros here
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CPA_DialogCamera message handlers
|
|
|
|
#endif // ACTIVE_EDITOR
|