/*************************************************************************\
* "$RCSfile: CDlgMain.hpp,v $"                                            *
***************************************************************************
* Information by CVS or VSS:                                              *
*     Last check in on: $Date: 2011-10-20 07:13:42 $                      *
*     by                $Author: schluckebier $
*     Revision        : $Revision: 1.17 $                                 *
\*************************************************************************/
/*! \file CDlgMain.hpp
*	\brief Header CDlgMain Class
**************************************************************************/

/*************************************************************************/
/*! @brief Main dialog class.

	Provides the main dialog.
	@image html CDlgMain.png
	CDlgMain is non-modal.\n
	In the main dialog the user can change the camera view mode and the
	graph mode. Otherwise the only thing to do is to change the focus to
	another dialog.
**************************************************************************/
class CDlgMain: public CDlg
{
protected:
	enum eDlgMain_ID
	{
		ID_CAMERA = 1,
		ID_TOOLS,
		ID_PREVIEW,
		ID_PSCAM,
		ID_XXX,

		ID_SAVEIMAGE,
		ID_APP,

		ID_GRAPH = 0x200,
		ID_VIEW,
		ID_INFO
	};

private:
	CDlgMain(int x, int y, int Width, int Height);
	~CDlgMain();
	static CDlgMain *m_pThis;

public:
	static CDlgMain *CreateInstance(int x, int y, int Width, int Height);
	//! Gets CDlgMain instance.
	static CDlgMain *GetInstance() { return m_pThis; }
	static void DisposeInstance();
	int OnUserIO(int nKey);
	void SetAppIconLabel(const char *pLabel);
	int GetYOrigin();
};

/*************************************************************************/
