]> icculus.org git repositories - taylor/freespace2.git/blob - include/adjustgriddlg.h
Initial revision
[taylor/freespace2.git] / include / adjustgriddlg.h
1 /*
2  * $Logfile: /Freespace2/code/FRED2/AdjustGridDlg.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Editor to allow one to change Fred's grid orientation and position.
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:11  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 6:28p Dave
15  * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
16  * Fred. Globalized mission and campaign file extensions. Removed Silent
17  * Threat specific code.
18  * 
19  * 1     10/07/98 3:01p Dave
20  * 
21  * 1     10/07/98 2:59p Dave
22  * 
23  * 3     8/18/97 10:01p Hoffoss
24  * Improved dialog by graying out fields that don't have any effect on
25  * current plane setting.
26  * 
27  * 2     8/18/97 9:31p Hoffoss
28  * Added grid adjustment dialog and shield system editor dialog.
29  *
30  * $NoKeywords: $
31  */
32
33 /////////////////////////////////////////////////////////////////////////////
34 // adjust_grid_dlg dialog
35
36 class adjust_grid_dlg : public CDialog
37 {
38 // Construction
39 public:
40         void OnOK();
41         adjust_grid_dlg(CWnd* pParent = NULL);   // standard constructor
42
43 // Dialog Data
44         //{{AFX_DATA(adjust_grid_dlg)
45         enum { IDD = IDD_ADJUST_GRID };
46         CSpinButtonCtrl m_spinz;
47         CSpinButtonCtrl m_spiny;
48         CSpinButtonCtrl m_spinx;
49         int             m_x;
50         int             m_y;
51         int             m_z;
52         //}}AFX_DATA
53
54 // Overrides
55         // ClassWizard generated virtual function overrides
56         //{{AFX_VIRTUAL(adjust_grid_dlg)
57         protected:
58         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
59         //}}AFX_VIRTUAL
60
61 // Implementation
62 protected:
63
64         // Generated message map functions
65         //{{AFX_MSG(adjust_grid_dlg)
66         virtual BOOL OnInitDialog();
67         afx_msg void OnXyPlane();
68         afx_msg void OnXzPlane();
69         afx_msg void OnYzPlane();
70         //}}AFX_MSG
71         DECLARE_MESSAGE_MAP()
72 };
73