1
0
mirror of https://github.com/DxWnd/DxWnd.reloaded synced 2024-12-30 09:25:35 +01:00
DxWnd.reloaded/host/TabDebug.cpp
gho tik 0b3d188631 v2_02_39_src
Former-commit-id: bca94a8fa11609187704d32de5dca2ab99209934
2017-03-06 11:38:24 -05:00

68 lines
2.0 KiB
C++

// TabDebug.cpp : implementation file
//
#include "stdafx.h"
#include "TargetDlg.h"
#include "TabDebug.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTabCompat dialog
CTabDebug::CTabDebug(CWnd* pParent /*=NULL*/)
// : CTargetDlg(pParent)
: CDialog(CTabDebug::IDD, pParent)
{
//{{AFX_DATA_INIT(CTabDebug)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CTabDebug::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
CTargetDlg *cTarget = ((CTargetDlg *)(this->GetParent()->GetParent()));
DDX_Check(pDX, IDC_RGB2YUV, cTarget->m_ForceRGBtoYUV);
DDX_Check(pDX, IDC_YUV2RGB, cTarget->m_ForceYUVtoRGB);
DDX_Check(pDX, IDC_DXPROXED, cTarget->m_DXProxed);
DDX_Check(pDX, IDC_ASSERT, cTarget->m_AssertDialog);
DDX_Check(pDX, IDC_FULLRECTBLT, cTarget->m_FullRectBlt);
DDX_Check(pDX, IDC_MARKBLIT, cTarget->m_MarkBlit);
DDX_Check(pDX, IDC_ANALYTICMODE, cTarget->m_AnalyticMode);
DDX_Check(pDX, IDC_SURFACEWARN, cTarget->m_SurfaceWarn);
DDX_Check(pDX, IDC_CAPMASK, cTarget->m_CapMask);
DDX_Check(pDX, IDC_NODDRAWBLT, cTarget->m_NoDDRAWBlt);
DDX_Check(pDX, IDC_NODDRAWFLIP, cTarget->m_NoDDRAWFlip);
DDX_Check(pDX, IDC_NOGDIBLT, cTarget->m_NoGDIBlt);
}
BEGIN_MESSAGE_MAP(CTabDebug, CDialog)
//{{AFX_MSG_MAP(CTabCompat)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTabCompat message handlers
//BOOL CTabCompat::OnInitDialog()
//{
// AfxEnableControlContainer();
// CListBox *List;
// CTargetDlg *cTarget = ((CTargetDlg *)(this->GetParent()->GetParent()));
// int i;
// List=(CListBox *)this->GetDlgItem(IDC_LISTFAKE);
// List->ResetContent();
// for(i=0; i<9; i++) List->AddString(WinVersions[i].sName);
// List->SetCurSel(cTarget->m_FakeVersion);
// CDialog::OnInitDialog();
// return TRUE;
//}