]> icculus.org git repositories - taylor/freespace2.git/blob - include/grid.h
rendering functions mostly done; more complete shader setup
[taylor/freespace2.git] / include / grid.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/Grid.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Grid dialog box created by Mike.  Probably will never be used again.
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:13  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:12  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 3:00p Dave
33  * 
34  * 2     2/17/97 5:28p Hoffoss
35  * Checked RCS headers, added them were missing, changing description to
36  * something better, etc where needed.
37  *
38  * $NoKeywords: $
39  */
40
41 /////////////////////////////////////////////////////////////////////////////
42 // CGrid dialog
43
44 class CGrid : public CDialog
45 {
46 private:
47         CView*  m_pGView;
48
49 // Construction
50 public:
51         CGrid(CWnd* pParent = NULL);   // standard constructor
52         CGrid(CView* pView);
53
54         BOOL Create();
55
56 // Dialog Data
57         //{{AFX_DATA(CGrid)
58         enum { IDD = IDD_GRID };
59         UINT    m_GridSize;
60         //}}AFX_DATA
61
62
63 // Overrides
64         // ClassWizard generated virtual function overrides
65         //{{AFX_VIRTUAL(CGrid)
66         public:
67         virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
68         virtual BOOL DestroyWindow();
69         protected:
70         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
71         //}}AFX_VIRTUAL
72
73 // Implementation
74 protected:
75
76         // Generated message map functions
77         //{{AFX_MSG(CGrid)
78         afx_msg void OnGridXyPlane();
79         afx_msg void OnGridXzPlane();
80         afx_msg void OnGridYzPlane();
81         afx_msg void OnClose();
82         afx_msg void OnDestroy();
83         afx_msg void OnKillFocus(CWnd* pNewWnd);
84         virtual BOOL OnInitDialog();
85         afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
86         //}}AFX_MSG
87         DECLARE_MESSAGE_MAP()
88 };
89