]> icculus.org git repositories - taylor/freespace2.git/blob - include/prefsdlg.h
Initial revision
[taylor/freespace2.git] / include / prefsdlg.h
1 /*
2  * $Logfile: /Freespace2/code/FRED2/PrefsDlg.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Fred Preferences dialog box handling code
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 6:28p Dave
15  * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
16  * Fred. Globalized mission and campaign file extensions. Removed Silent
17  * Threat specific code.
18  * 
19  * 1     10/07/98 3:01p Dave
20  * 
21  * 1     10/07/98 3:00p Dave
22  * 
23  * 2     2/17/97 5:28p Hoffoss
24  * Checked RCS headers, added them were missing, changing description to
25  * something better, etc where needed.
26  *
27  * $NoKeywords: $
28  */
29
30 /////////////////////////////////////////////////////////////////////////////
31 // CPrefsDlg dialog
32
33 class CPrefsDlg : public CDialog
34 {
35 // Construction
36 public:
37         CPrefsDlg(CWnd* pParent = NULL);   // standard constructor
38
39 // Dialog Data
40         //{{AFX_DATA(CPrefsDlg)
41         enum { IDD = IDD_PREFERENCES };
42         BOOL    m_ConfirmDeleting;
43         BOOL    m_ShowCapitalShips;
44         BOOL    m_ShowElevations;
45         BOOL    m_ShowFighters;
46         BOOL    m_ShowGrid;
47         BOOL    m_ShowMiscObjects;
48         BOOL    m_ShowPlanets;
49         BOOL    m_ShowWaypoints;
50         BOOL    m_ShowStarfield;
51         //}}AFX_DATA
52
53
54 // Overrides
55         // ClassWizard generated virtual function overrides
56         //{{AFX_VIRTUAL(CPrefsDlg)
57         public:
58         virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
59         protected:
60         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
61         //}}AFX_VIRTUAL
62
63 // Implementation
64 protected:
65
66         // Generated message map functions
67         //{{AFX_MSG(CPrefsDlg)
68         afx_msg void OnSaveDefaultPrefs();
69         afx_msg void OnClose();
70         //}}AFX_MSG
71         DECLARE_MESSAGE_MAP()
72 };
73