FS2_Open
Open source remastering of the Freespace 2 engine
addvariabledlg.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 #if !defined(AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_)
12 #define AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_
13 
14 #if _MSC_VER > 1000
15 #pragma once
16 #endif // _MSC_VER > 1000
17 // AddVariableDlg.h : header file
18 //
19 
21 // CAddVariableDlg dialog
22 
23 class CAddVariableDlg : public CDialog
24 {
25 // Construction
26 public:
27  CAddVariableDlg(CWnd* pParent = NULL); // standard constructor
28 
29 // Dialog Data
30  //{{AFX_DATA(CAddVariableDlg)
31  enum { IDD = IDD_ADD_VARIABLE };
32  CString m_default_value;
33  CString m_variable_name;
40  bool m_create;
42  //}}AFX_DATA
43 
44 
45 // Overrides
46  // ClassWizard generated virtual function overrides
47  //{{AFX_VIRTUAL(CAddVariableDlg)
48  protected:
49  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
50  //}}AFX_VIRTUAL
51 
52 // Implementation
53 protected:
54 
55  // Generated message map functions
56  //{{AFX_MSG(CAddVariableDlg)
57  virtual void OnOK();
58  virtual BOOL OnInitDialog();
59  afx_msg void validate_variable_name(int set_focus);
60  afx_msg void validate_data(int set_focus);
61  afx_msg void OnTypeNumber();
62  afx_msg void OnTypeString();
63  afx_msg void OnTypePlayerPersistent();
64  afx_msg void OnTypeCampaignPersistent();
65  afx_msg void OnTypeNetworkVariable();
66  afx_msg void set_variable_type();
67  //}}AFX_MSG
68  DECLARE_MESSAGE_MAP()
69 };
70 
71 //{{AFX_INSERT_LOCATION}}
72 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
73 
74 #endif // !defined(AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_)
virtual void DoDataExchange(CDataExchange *pDX)
CString m_variable_name
afx_msg void set_variable_type()
CString m_default_value
afx_msg void OnTypeNumber()
afx_msg void validate_data(int set_focus)
afx_msg void OnTypeString()
afx_msg void OnTypeCampaignPersistent()
CAddVariableDlg(CWnd *pParent=NULL)
afx_msg void OnTypePlayerPersistent()
bool m_type_player_persistent
bool m_type_network_variable
virtual BOOL OnInitDialog()
int BOOL
Definition: config.h:80
virtual void OnOK()
afx_msg void OnTypeNetworkVariable()
afx_msg void validate_variable_name(int set_focus)
bool m_type_campaign_persistent
#define IDD_ADD_VARIABLE
Definition: resource.h:94