FS2_Open
Open source remastering of the Freespace 2 engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
;
23
}
check_box_info
;
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
32
ship
*
m_shipp
;
33
check_box_info
check_boxes
[
MAX_CHECKBOXES
];
34
int
m_num_checks_active
;
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
};
ignore_orders_dlg::OnCheck3
afx_msg void OnCheck3()
Definition:
ignoreordersdlg.cpp:262
ignore_orders_dlg::OnCheck1
afx_msg void OnCheck1()
Definition:
ignoreordersdlg.cpp:240
ignore_orders_dlg::OnCheck7
afx_msg void OnCheck7()
Definition:
ignoreordersdlg.cpp:306
ignore_orders_dlg::ignore_orders_dlg
ignore_orders_dlg(CWnd *pParent=NULL)
Definition:
ignoreordersdlg.cpp:28
ignore_orders_dlg::OnCheck9
afx_msg void OnCheck9()
Definition:
ignoreordersdlg.cpp:328
ignore_orders_dlg::IDD
Definition:
ignoreordersdlg.h:38
ignore_orders_dlg::DoDataExchange
virtual void DoDataExchange(CDataExchange *pDX)
Definition:
ignoreordersdlg.cpp:36
ignore_orders_dlg::OnOK
virtual void OnOK()
Definition:
ignoreordersdlg.cpp:200
check_box_info
Definition:
ignoreordersdlg.h:20
ignore_orders_dlg::OnInitDialog
virtual BOOL OnInitDialog()
Definition:
ignoreordersdlg.cpp:63
ignore_orders_dlg::m_ship
int m_ship
Definition:
ignoreordersdlg.h:29
check_box_info::button
CButton * button
Definition:
ignoreordersdlg.h:21
ignore_orders_dlg::check_boxes
check_box_info check_boxes[MAX_CHECKBOXES]
Definition:
ignoreordersdlg.h:33
ignore_orders_dlg::m_shipp
ship * m_shipp
Definition:
ignoreordersdlg.h:32
ignore_orders_dlg::OnCheck8
afx_msg void OnCheck8()
Definition:
ignoreordersdlg.cpp:317
ship
Definition:
ship.h:534
ignore_orders_dlg::OnCheck5
afx_msg void OnCheck5()
Definition:
ignoreordersdlg.cpp:284
IDD_IGNORE_ORDERS
#define IDD_IGNORE_ORDERS
Definition:
resource.h:73
check_box_info
struct check_box_info check_box_info
BOOL
int BOOL
Definition:
config.h:80
ignore_orders_dlg::OnCheck2
afx_msg void OnCheck2()
Definition:
ignoreordersdlg.cpp:251
check_box_info::id
int id
Definition:
ignoreordersdlg.h:22
ignore_orders_dlg::OnCheck10
afx_msg void OnCheck10()
Definition:
ignoreordersdlg.cpp:339
ignore_orders_dlg::OnCheck4
afx_msg void OnCheck4()
Definition:
ignoreordersdlg.cpp:273
ship.h
MAX_CHECKBOXES
#define MAX_CHECKBOXES
Definition:
ignoreordersdlg.h:15
ignore_orders_dlg::OnCheck6
afx_msg void OnCheck6()
Definition:
ignoreordersdlg.cpp:295
ignore_orders_dlg
Definition:
ignoreordersdlg.h:25
ignore_orders_dlg::m_num_checks_active
int m_num_checks_active
Definition:
ignoreordersdlg.h:34
code
fred2
ignoreordersdlg.h
Generated on Sun May 1 2016 16:22:19 for FS2_Open by
1.8.10