]> icculus.org git repositories - taylor/freespace2.git/blob - include/grid.h
Initial revision
[taylor/freespace2.git] / include / grid.h
1 /*
2  * $Logfile: /Freespace2/code/FRED2/Grid.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Grid dialog box created by Mike.  Probably will never be used again.
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  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 3:00p Dave
22  * 
23  * 2     2/17/97 5:28p Hoffoss
24  * Checked RCS headers, added them were missing, changing description to
25  * something better, etc where needed.
26  *
27  * $NoKeywords: $
28  */
29
30 /////////////////////////////////////////////////////////////////////////////
31 // CGrid dialog
32
33 class CGrid : public CDialog
34 {
35 private:
36         CView*  m_pGView;
37
38 // Construction
39 public:
40         CGrid(CWnd* pParent = NULL);   // standard constructor
41         CGrid(CView* pView);
42
43         BOOL Create();
44
45 // Dialog Data
46         //{{AFX_DATA(CGrid)
47         enum { IDD = IDD_GRID };
48         UINT    m_GridSize;
49         //}}AFX_DATA
50
51
52 // Overrides
53         // ClassWizard generated virtual function overrides
54         //{{AFX_VIRTUAL(CGrid)
55         public:
56         virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
57         virtual BOOL DestroyWindow();
58         protected:
59         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
60         //}}AFX_VIRTUAL
61
62 // Implementation
63 protected:
64
65         // Generated message map functions
66         //{{AFX_MSG(CGrid)
67         afx_msg void OnGridXyPlane();
68         afx_msg void OnGridXzPlane();
69         afx_msg void OnGridYzPlane();
70         afx_msg void OnClose();
71         afx_msg void OnDestroy();
72         afx_msg void OnKillFocus(CWnd* pNewWnd);
73         virtual BOOL OnInitDialog();
74         afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
75         //}}AFX_MSG
76         DECLARE_MESSAGE_MAP()
77 };
78