Click here to Skip to main content
15,885,914 members
Articles / Multimedia / DirectX

A DirectX Wrapper

Rate me:
Please Sign up or sign in to vote.
4.69/5 (20 votes)
18 Jul 200333 min read 181K   4.3K   66  
A DirectX Wrapper
#if !defined(AFX_DEFAULTVALUESDIALOG_H__C329FBFF_37A6_4CDC_822A_94F034352C83__INCLUDED_)
#define AFX_DEFAULTVALUESDIALOG_H__C329FBFF_37A6_4CDC_822A_94F034352C83__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDefaultValuesDialog dialog

class CDefaultValuesDialog : public CDialog
{
// Construction
public:
	DWORD m_bothFore;
	DWORD m_bothBack;
	DWORD m_selFore;
	DWORD m_selBack;
	DWORD m_cursorFore;
	DWORD m_cursorBack;
	DWORD m_inactiveColour;
	DWORD m_activeColour;
	DWORD m_lightColour;
	DWORD m_mediumColour;
	DWORD m_darkColour;
    DWORD m_textColour;
    DWORD m_hotColour;
	CDefaultValuesDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDefaultValuesDialog)
	enum { IDD = IDD_DIALOG_DEFAULT };
	BOOL	m_isSerif;
	int		m_height;
	int		m_weight;
	BOOL	m_proportional;
	int		m_nextID;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDefaultValuesDialog)
	afx_msg void OnButtonDark();
	afx_msg void OnPaint();
	afx_msg void OnKillfocusEditHeight();
	afx_msg void OnKillfocusEditWeight();
	afx_msg void OnCheckProportional();
	afx_msg void OnCheckSerif();
	afx_msg void OnButtonMedium();
	afx_msg void OnButtonLight();
	afx_msg void OnButtonActive();
	afx_msg void OnButtonInactive();
	afx_msg void OnButtonCurfore();
	afx_msg void OnButtonCurback();
	afx_msg void OnButtonSelfore();
	afx_msg void OnButtonSelback();
	afx_msg void OnButton1Bothfore();
	afx_msg void OnButtonBothback();
	afx_msg void OnButtonText();
	afx_msg void OnButtonHot();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DEFAULTVALUESDIALOG_H__C329FBFF_37A6_4CDC_822A_94F034352C83__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Canada Canada
Professional Programmer living in Beautiful Vancouver, BC, Canada.

Comments and Discussions