]> icculus.org git repositories - taylor/freespace2.git/blob - include/addvariabledlg.h
Initial revision
[taylor/freespace2.git] / include / addvariabledlg.h
1 #if !defined(AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_)
2 #define AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // AddVariableDlg.h : header file
8 //
9
10 /////////////////////////////////////////////////////////////////////////////
11 // CAddVariableDlg dialog
12
13 class CAddVariableDlg : public CDialog
14 {
15 // Construction
16 public:
17         CAddVariableDlg(CWnd* pParent = NULL);   // standard constructor
18
19 // Dialog Data
20         //{{AFX_DATA(CAddVariableDlg)
21         enum { IDD = IDD_ADD_VARIABLE };
22         CString m_default_value;
23         CString m_variable_name;
24         bool            m_name_validated;
25         bool            m_data_validated;
26         bool            m_type_number;
27         bool            m_create;
28         int             m_sexp_var_index;
29         //}}AFX_DATA
30
31
32 // Overrides
33         // ClassWizard generated virtual function overrides
34         //{{AFX_VIRTUAL(CAddVariableDlg)
35         protected:
36         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
37         //}}AFX_VIRTUAL
38
39 // Implementation
40 protected:
41
42         // Generated message map functions
43         //{{AFX_MSG(CAddVariableDlg)
44         virtual void OnOK();
45         virtual BOOL OnInitDialog();
46         afx_msg void validate_variable_name(int set_focus);
47         afx_msg void validate_data(int set_focus);
48         afx_msg void OnTypeNumber();
49         afx_msg void OnTypeString();
50         afx_msg void set_variable_type();
51         //}}AFX_MSG
52         DECLARE_MESSAGE_MAP()
53 };
54
55 //{{AFX_INSERT_LOCATION}}
56 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
57
58 #endif // !defined(AFX_ADDVARIABLEDLG_H__0F668CB5_AAEE_11D2_A899_0060088FAE88__INCLUDED_)
59