FS2_Open
Open source remastering of the Freespace 2 engine
grid.h
Go to the documentation of this file.
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 the
6  * source.
7  *
8 */
9 
10 
11 
13 // CGrid dialog
14 
15 class CGrid : public CDialog
16 {
17 private:
18  CView* m_pGView;
19 
20 // Construction
21 public:
22  CGrid(CWnd* pParent = NULL); // standard constructor
23  CGrid(CView* pView);
24 
25  BOOL Create();
26 
27 // Dialog Data
28  //{{AFX_DATA(CGrid)
29  enum { IDD = IDD_GRID };
31  //}}AFX_DATA
32 
33 
34 // Overrides
35  // ClassWizard generated virtual function overrides
36  //{{AFX_VIRTUAL(CGrid)
37  public:
38  virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
39  virtual BOOL DestroyWindow();
40  protected:
41  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
42  //}}AFX_VIRTUAL
43 
44 // Implementation
45 protected:
46 
47  // Generated message map functions
48  //{{AFX_MSG(CGrid)
49  afx_msg void OnGridXyPlane();
50  afx_msg void OnGridXzPlane();
51  afx_msg void OnGridYzPlane();
52  afx_msg void OnClose();
53  afx_msg void OnDestroy();
54  afx_msg void OnKillFocus(CWnd* pNewWnd);
55  virtual BOOL OnInitDialog();
56  afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
57  //}}AFX_MSG
58  DECLARE_MESSAGE_MAP()
59 };
UINT m_GridSize
Definition: grid.h:30
afx_msg void OnGridXzPlane()
Definition: grid.cpp:113
afx_msg void OnGridYzPlane()
Definition: grid.cpp:123
virtual BOOL DestroyWindow()
Definition: grid.cpp:165
#define IDD_GRID
Definition: resource.h:43
afx_msg void OnGridXyPlane()
Definition: grid.cpp:103
unsigned int UINT
Definition: config.h:82
virtual void DoDataExchange(CDataExchange *pDX)
Definition: grid.cpp:49
virtual BOOL OnInitDialog()
Definition: grid.cpp:174
unsigned long DWORD
Definition: config.h:90
BOOL Create()
Definition: grid.cpp:138
int BOOL
Definition: config.h:80
afx_msg void OnKillFocus(CWnd *pNewWnd)
Definition: grid.cpp:157
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
Definition: grid.cpp:188
CGrid(CWnd *pParent=NULL)
Definition: grid.cpp:37
Definition: grid.h:15
afx_msg void OnClose()
Definition: grid.cpp:144
afx_msg void OnDestroy()
Definition: grid.cpp:149