FS2_Open
Open source remastering of the Freespace 2 engine
backgroundchooser.h
Go to the documentation of this file.
1 #if !defined(_BACKGROUND_CHOOSER_H_)
2 #define _BACKGROUND_CHOOSER_H_
3 
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // BackgroundChooser.h : header file
8 //
9 
11 // BackgroundChooser dialog
12 
13 class BackgroundChooser : public CDialog
14 {
15 // Construction
16 public:
17  BackgroundChooser(int numBackgrounds); // standard constructor
18  void OnOK();
19  void OnCancel();
20 
21  int GetChosenBackground();
22 
23 // Dialog Data
24  //{{AFX_DATA(BackgroundChooser)
26  //}}AFX_DATA
27 
28 
29 // Overrides
30  // ClassWizard generated virtual function overrides
31  //{{AFX_VIRTUAL(BackgroundChooser)
32  protected:
33  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
34  //}}AFX_VIRTUAL
35 
36 // Implementation
37 protected:
40 
41  // Generated message map functions
42  //{{AFX_MSG(BackgroundChooser)
43  virtual BOOL OnInitDialog();
44  afx_msg void OnClose();
45  //}}AFX_MSG
46  DECLARE_MESSAGE_MAP()
47 };
48 
49 //{{AFX_INSERT_LOCATION}}
50 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
51 
52 #endif // !defined(_BACKGROUND_CHOOSER_H_)
virtual BOOL OnInitDialog()
BackgroundChooser(int numBackgrounds)
afx_msg void OnClose()
int BOOL
Definition: config.h:80
#define IDD_BACKGROUND_CHOOSER
Definition: resource.h:103
virtual void DoDataExchange(CDataExchange *pDX)