// TabColorGamma.cpp
//
#include "stdafx.h"
#include "sttrgdisplay.h"
#include "TabColorGammaDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CTabColorGammaDlg
CTabColorGammaDlg::CTabColorGammaDlg(CWnd* pParent /*=NULL*/)
	: CTabChildBase(CTabColorGammaDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTabColorGammaDlg)
	//}}AFX_DATA_INIT
	m_szTabName = TEXT("Color Gamma");

	//SliderCtrl
	m_SliderCtrlCount = 4;
	m_pSliderCtrlID = new UINT[m_SliderCtrlCount];
	m_pSliderCtrlID[0] = IDC_SLIDER_R_GAMMA_VALUE;
	m_pSliderCtrlID[1] = IDC_SLIDER_GR_GAMMA_VALUE;
	m_pSliderCtrlID[2] = IDC_SLIDER_GB_GAMMA_VALUE;
	m_pSliderCtrlID[3] = IDC_SLIDER_B_GAMMA_VALUE;

	//ComboBoxCtrl
	m_ComboBoxCtrlCount = 4;
	m_pComboBoxCtrlID = new UINT[m_ComboBoxCtrlCount];
	m_pComboBoxCtrlID[0] = IDC_COMBO_R_GAMMA_MODE;
	m_pComboBoxCtrlID[1] = IDC_COMBO_GR_GAMMA_MODE;
	m_pComboBoxCtrlID[2] = IDC_COMBO_GB_GAMMA_MODE;
	m_pComboBoxCtrlID[3] = IDC_COMBO_B_GAMMA_MODE;

	
	//EditCtrl
	m_EditCtrlCount = 4;
	m_pEditCtrlID = new UINT[m_EditCtrlCount];
	m_pEditCtrlID[0] = IDC_EDIT_R_GAMMA_VALUE;
	m_pEditCtrlID[1] = IDC_EDIT_GR_GAMMA_VALUE;
	m_pEditCtrlID[2] = IDC_EDIT_GB_GAMMA_VALUE;
	m_pEditCtrlID[3] = IDC_EDIT_B_GAMMA_VALUE;
}


void CTabColorGammaDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CTabColorGammaDlg)
	//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CTabColorGammaDlg, CTabChildBase)
	//{{AFX_MSG_MAP(CTabColorGammaDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTabColorGammaDlg
