1
0
mirror of https://github.com/DxWnd/DxWnd.reloaded synced 2024-12-30 09:25:35 +01:00
DxWnd.reloaded/host/TabColor.cpp
gho tik 6883c264d4 v2_03_91_src_fx4
Former-commit-id: 2a0a9d30c2dab0c0808e956988867df4086b1d00
2017-03-06 11:47:39 -05:00

47 lines
1.4 KiB
C++

// TabLogs.cpp : implementation file
//
#include "stdafx.h"
#include "TargetDlg.h"
#include "TabColor.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTabColor dialog
CTabColor::CTabColor(CWnd* pParent /*=NULL*/)
: CDialog(CTabColor::IDD, pParent)
{
//{{AFX_DATA_INIT(CTabColor)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CTabColor::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
CTargetDlg *cTarget = ((CTargetDlg *)(this->GetParent()->GetParent()));
DDX_Check(pDX, IDC_INIT8BPP, cTarget->m_Init8BPP);
DDX_Check(pDX, IDC_INIT16BPP, cTarget->m_Init16BPP);
DDX_Check(pDX, IDC_DISABLEGAMMARAMP, cTarget->m_DisableGammaRamp);
DDX_Check(pDX, IDC_FORCE16BPP, cTarget->m_Force16BPP);
DDX_Check(pDX, IDC_WIREFRAME, cTarget->m_WireFrame);
DDX_Check(pDX, IDC_BLACKWHITE, cTarget->m_BlackWhite);
DDX_Check(pDX, IDC_USERGB565, cTarget->m_UseRGB565);
DDX_Check(pDX, IDC_LOCKSYSCOLORS, cTarget->m_LockSysColors);
}
BEGIN_MESSAGE_MAP(CTabColor, CDialog)
//{{AFX_MSG_MAP(CTabColor)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTabColor message handlers