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