// TabOtherDlg.cpp
//
#include "stdafx.h"
#include "sttrgdisplay.h"
#include "TabOtherDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CTabOtherDlg
CTabOtherDlg::CTabOtherDlg(CWnd* pParent /*=NULL*/)
	: CTabChildBase(CTabOtherDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTabOtherDlg)
	//}}AFX_DATA_INIT
	m_szTabName = TEXT("Other");

	//SliderCtrl
	m_SliderCtrlCount = 5;
	m_pSliderCtrlID = new UINT[m_SliderCtrlCount];
	m_pSliderCtrlID[0] = IDC_SLIDER_IMAGE_OFFSET_X;
	m_pSliderCtrlID[1] = IDC_SLIDER_IMAGE_OFFSET_Y;
	m_pSliderCtrlID[2] = IDC_SLIDER_IMAGE_WIDTH;
	m_pSliderCtrlID[3] = IDC_SLIDER_IMAGE_HEIGHT;
	m_pSliderCtrlID[4] = IDC_SLIDER_V_BLANK_FOR_FPS;

	//ComboBoxCtrl
	m_ComboBoxCtrlCount = 14;
	m_pComboBoxCtrlID = new UINT[m_ComboBoxCtrlCount];
	m_pComboBoxCtrlID[0] = IDC_COMBO_SCAN_MODE;
	m_pComboBoxCtrlID[1] = IDC_COMBO_CLOCK;
	m_pComboBoxCtrlID[2] = IDC_COMBO_COLOR_INTERPOLATION;
	m_pComboBoxCtrlID[3] = IDC_COMBO_MIRROR_MODE;
	m_pComboBoxCtrlID[4] = IDC_COMBO_ROTATION_MODE;
	m_pComboBoxCtrlID[5] = IDC_COMBO_TRANSFER_BITS;
	m_pComboBoxCtrlID[6] = IDC_COMBO_H_BINNING_SKIPPING;
	m_pComboBoxCtrlID[7] = IDC_COMBO_V_BINNING_SKIPPING;
	m_pComboBoxCtrlID[8] = IDC_COMBO_H_BINNING_SUM;
	m_pComboBoxCtrlID[9] = IDC_COMBO_V_BINNING_SUM;
	m_pComboBoxCtrlID[10] = IDC_COMBO_REGION_MODE;
	m_pComboBoxCtrlID[11] = IDC_COMBO_REGION_INDEX;
	m_pComboBoxCtrlID[12] = IDC_COMBO_DISPLAY_PIXEL_FORMAT;
	m_pComboBoxCtrlID[13] = IDC_COMBO_PRIORITY_MODE;

	
	//EditCtrl
	m_EditCtrlCount = 5;
	m_pEditCtrlID = new UINT[m_EditCtrlCount];
	m_pEditCtrlID[0] = IDC_EDIT_IMAGE_OFFSET_X;
	m_pEditCtrlID[1] = IDC_EDIT_IMAGE_OFFSET_Y;
	m_pEditCtrlID[2] = IDC_EDIT_IMAGE_WIDTH;
	m_pEditCtrlID[3] = IDC_EDIT_IMAGE_HEIGHT;
	m_pEditCtrlID[4] = IDC_EDIT_V_BLANK_FOR_FPS;

	//StaticCtrl
	m_StaticCtrlCount = 1;
	m_pStaticCtrlID = new UINT[m_StaticCtrlCount];
	m_pStaticCtrlID[0] = IDC_STATIC_V_BLANK_FOR_FPS;
}

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

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

/////////////////////////////////////////////////////////////////////////////
// CTabOtherDlg

