// Copyright (C) 2000
//          by the Massachusetts Institute of Technology
//
//    Export of this software from the United States of America may
//    require a specific license from the United States Government.  It
//    is the responsibility of any person or organization contemplating
//    export to obtain such a license before exporting.
//
// WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
// distribute this software and its documentation for any purpose and
// without fee is hereby granted, provided that the above copyright
// notice appear in all copies and that both that copyright notice and
// this permission notice appear in supporting documentation, and that
// the name of M.I.T. not be used in advertising or publicity pertaining
// to distribution of the software without specific, written prior
// permission.  M.I.T. makes no representations about the suitability of
// this software for any purpose.  It is provided "as is" without express
// or implied warranty.

#if !defined(AFX_DISPLAYPROPERTIESDLG_H__972CE6E1_D213_11D2_A057_0080C6F748B4__INCLUDED_)
#define AFX_DISPLAYPROPERTIESDLG_H__972CE6E1_D213_11D2_A057_0080C6F748B4__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DisplayPropertiesDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDisplayPropertiesDlg dialog

class CDisplayPropertiesDlg : public CDialog
{
// Construction
public:
	CDisplayPropertiesDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDisplayPropertiesDlg)
	enum { IDD = IDD_DISPPROP_DLG };
	CString	m_szTextRGB;
	CString	m_szBackRGB;
	CString	m_szFontStatic;
	//}}AFX_DATA

	LOGFONT			m_lf;				//LOGFONT information
	COLORREF		m_crText;			//Text color
	COLORREF		m_crBack;			//Backgound color

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDisplayPropertiesDlg)
	public:
	virtual int DoModal();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDisplayPropertiesDlg)
	afx_msg void OnTextClrButton();
	afx_msg void OnBackClrButton();
	afx_msg void OnFontButton();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	void	ResetStaticBoxes(BOOL bRedraw=FALSE);
	COLORREF		m_crCustomArray[16]; //Array of 16 custom colors
	int				m_iFontPoint;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DISPLAYPROPERTIESDLG_H__972CE6E1_D213_11D2_A057_0080C6F748B4__INCLUDED_)
