FS2_Open
Open source remastering of the Freespace 2 engine
ignoreordersdlg.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 
12 #include "ship/ship.h"
13 
14 // we won't have more than 9 checkboxes per dialog
15 #define MAX_CHECKBOXES 10
16 
18 // ignore_orders_dlg dialog
19 
20 typedef struct check_box_info {
21  CButton *button;
22  int id;
24 
25 class ignore_orders_dlg : public CDialog
26 {
27 // Construction
28 public:
29  int m_ship;
30  ignore_orders_dlg(CWnd* pParent = NULL); // standard constructor
31 
35 
36 // Dialog Data
37  //{{AFX_DATA(ignore_orders_dlg)
38  enum { IDD = IDD_IGNORE_ORDERS };
39  // NOTE: the ClassWizard will add data members here
40  //}}AFX_DATA
41 
42 
43 // Overrides
44  // ClassWizard generated virtual function overrides
45  //{{AFX_VIRTUAL(ignore_orders_dlg)
46  protected:
47  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
48  //}}AFX_VIRTUAL
49 
50 // Implementation
51 protected:
52 
53  // Generated message map functions
54  //{{AFX_MSG(ignore_orders_dlg)
55  virtual BOOL OnInitDialog();
56  virtual void OnOK();
57  afx_msg void OnCheck1();
58  afx_msg void OnCheck2();
59  afx_msg void OnCheck3();
60  afx_msg void OnCheck4();
61  afx_msg void OnCheck5();
62  afx_msg void OnCheck6();
63  afx_msg void OnCheck7();
64  afx_msg void OnCheck8();
65  afx_msg void OnCheck9();
66  afx_msg void OnCheck10();
67  //}}AFX_MSG
68  DECLARE_MESSAGE_MAP()
69 };
afx_msg void OnCheck3()
afx_msg void OnCheck1()
afx_msg void OnCheck7()
ignore_orders_dlg(CWnd *pParent=NULL)
afx_msg void OnCheck9()
virtual void DoDataExchange(CDataExchange *pDX)
virtual void OnOK()
virtual BOOL OnInitDialog()
CButton * button
check_box_info check_boxes[MAX_CHECKBOXES]
afx_msg void OnCheck8()
Definition: ship.h:534
afx_msg void OnCheck5()
#define IDD_IGNORE_ORDERS
Definition: resource.h:73
struct check_box_info check_box_info
int BOOL
Definition: config.h:80
afx_msg void OnCheck2()
afx_msg void OnCheck10()
afx_msg void OnCheck4()
#define MAX_CHECKBOXES
afx_msg void OnCheck6()