FS2_Open
Open source remastering of the Freespace 2 engine
prefsdlg.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 
11 
13 // CPrefsDlg dialog
14 
15 class CPrefsDlg : public CDialog
16 {
17 // Construction
18 public:
19  CPrefsDlg(CWnd* pParent = NULL); // standard constructor
20 
21 // Dialog Data
22  //{{AFX_DATA(CPrefsDlg)
23  enum { IDD = IDD_PREFERENCES };
33  //}}AFX_DATA
34 
35 
36 // Overrides
37  // ClassWizard generated virtual function overrides
38  //{{AFX_VIRTUAL(CPrefsDlg)
39  public:
40  virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
41  protected:
42  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
43  //}}AFX_VIRTUAL
44 
45 // Implementation
46 protected:
47 
48  // Generated message map functions
49  //{{AFX_MSG(CPrefsDlg)
50  afx_msg void OnSaveDefaultPrefs();
51  afx_msg void OnClose();
52  //}}AFX_MSG
53  DECLARE_MESSAGE_MAP()
54 };
unsigned int UINT
Definition: config.h:82
BOOL m_ShowPlanets
Definition: prefsdlg.h:30
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, CCreateContext *pContext=NULL)
Definition: prefsdlg.cpp:90
afx_msg void OnSaveDefaultPrefs()
Definition: prefsdlg.cpp:76
BOOL m_ShowElevations
Definition: prefsdlg.h:26
BOOL m_ShowCapitalShips
Definition: prefsdlg.h:25
BOOL m_ShowGrid
Definition: prefsdlg.h:28
unsigned long DWORD
Definition: config.h:90
afx_msg void OnClose()
Definition: prefsdlg.cpp:83
int BOOL
Definition: config.h:80
BOOL m_ShowMiscObjects
Definition: prefsdlg.h:29
#define IDD_PREFERENCES
Definition: resource.h:33
BOOL m_ShowStarfield
Definition: prefsdlg.h:32
BOOL m_ShowWaypoints
Definition: prefsdlg.h:31
CPrefsDlg(CWnd *pParent=NULL)
Definition: prefsdlg.cpp:28
BOOL m_ShowFighters
Definition: prefsdlg.h:27
BOOL m_ConfirmDeleting
Definition: prefsdlg.h:24
virtual void DoDataExchange(CDataExchange *pDX)
Definition: prefsdlg.cpp:46