Debian Codegraph @

editor/FloatingKeypadDialog.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 --- HISTORICAL COMMENTS FOLLOW ---
19
20 * $Logfile: /DescentIII/Main/editor/FloatingKeypadDialog.h $
21 * $Revision: 1.1.1.1 $
22 * $Date: 2003-08-26 03:57:38 $
23 * $Author: kevinb $
24 *
25 * Floating Keypad dialog
26 *
27 * $Log: not supported by cvs2svn $
28 *
29 * 4 8/27/98 6:42p Chris
30 * Added the goal keypad and the start of the matcen keypad
31 *
32 * 3 9/17/97 12:58p Samir
33 * Got rid of Curve Keypad.
34 *
35 * 2 8/29/97 2:49p Samir
36 * Nuked SegmentKeypad.
37 *
38 * 10 6/27/97 12:19p Samir
39 * Added room keypad dialog
40 *
41 * 9 6/05/97 3:37p Samir
42 * Added megacell keypad.
43 *
44 * 8 4/08/97 10:42a Jason
45 * implemented path following interface
46 *
47 * 7 4/04/97 3:15p Samir
48 * Added paths keypad, removed player keypad since it's joined with object
49 * keypad.
50 *
51 * 6 3/20/97 11:55a Jason
52 * changes for terrain editing/drawing
53 *
54 * 5 3/05/97 11:49a Samir
55 * Added doorway and terrain keypad tabs.
56 *
57 * 4 2/20/97 6:05p Samir
58 * Allow for clean activation and deactivation of surfaces in editor when
59 * going into fullscreen mode.
60 *
61 * 3 2/19/97 2:14p Samir
62 * Added a RunKeypadFunction function.
63 *
64 * 2 1/23/97 4:16p Samir
65 * Saves width and height, position of floating keypad.
66 *
67 * $NoKeywords: $
68 */
69
70 // FloatingKeypadDialog.h : header file
71 //
72
73 /////////////////////////////////////////////////////////////////////////////
74 // CFloatingKeypadDialog dialog
75
76 class CTextureDialog;
77 class CObjectDialog;
78 class CLightingDialog;
79 class CPathPadDialog;
80 class CTriggerDialog;
81 class CRoomKeypadDialog;
82 class CDoorwayDialog;
83 class CKeypadDialog;
84 class CTerrainDialog;
85 class CMegacellKeypad;
86 class levelkeypad;
87 class matcenkeypad;
88
89 class CFloatingKeypadDialog : public CDialog {
90 // Construction
91 public:
92 CFloatingKeypadDialog(CWnd *pParent = NULL); // standard constructor
93
94 BOOL Create();
95
96 // Dialog Data
97 //{{AFX_DATA(CFloatingKeypadDialog)
98 enum { IDD = IDD_FLOATING_KEYPAD };
99 // NOTE: the ClassWizard will add data members here
100 //}}AFX_DATA
101
102 // Overrides
103 // ClassWizard generated virtual function overrides
104 //{{AFX_VIRTUAL(CFloatingKeypadDialog)
105 protected:
106 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
107 virtual void PostNcDestroy();
108 virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT *pResult);
109 //}}AFX_VIRTUAL
110
111 public:
112 void RunKeypadFunction(int code);
113 void Deactivate(); // deactivates current tab
114 void Activate(); // activates current tab.
115
116 // Implementation
117 protected:
118 // Generated message map functions
119 //{{AFX_MSG(CFloatingKeypadDialog)
120 virtual BOOL OnInitDialog();
121 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
122 afx_msg void OnSize(UINT nType, int cx, int cy);
123 afx_msg void OnMove(int x, int y);
124 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
125 //}}AFX_MSG
126 DECLARE_MESSAGE_MAP()
127
128 virtual void OnCancel();
129
130 private:
131 void DoKeypadTabNotify(NMHDR *); // take care of tab control notifications
132
133 private:
134 CWnd *m_Parent; // parent window to this dialog
135
136 CTabCtrl *m_KeypadTabCtrl; // this is the tab control in this dialog
137
138 CKeypadDialog *m_KeypadTabDialog; // modeless dialog in tab control
139 CTextureDialog *m_TextureDialog;
140 CObjectDialog *m_ObjectDialog;
141 CLightingDialog *m_LightingDialog;
142 CPathPadDialog *m_PathPadDialog;
143 CTriggerDialog *m_TriggerDialog;
144 CDoorwayDialog *m_DoorwayDialog;
145 CTerrainDialog *m_TerrainDialog;
146 CMegacellKeypad *m_MegacellKeypad;
147 CRoomKeypadDialog *m_RoomDialog;
148
149 BOOL m_Initializing; // Are we done initializing?
150 };