Debian Codegraph @

editor/WorldObjectsPowerupDialog.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
19 // WorldObjectsPowerupDialog.h : header file
20 //
21
22 #include "gr.h"
23
24 /////////////////////////////////////////////////////////////////////////////
25 // CWorldObjectsPowerupDialog dialog
26
27 class CWorldObjectsPowerupDialog : public CDialog {
28 // Construction
29 public:
30 CWorldObjectsPowerupDialog(CWnd *pParent = NULL); // standard constructor
31
32 // Dialog Data
33 //{{AFX_DATA(CWorldObjectsPowerupDialog)
34 enum { IDD = IDD_WORLDOBJECTSPOWERUP };
35 // NOTE: the ClassWizard will add data members here
36 //}}AFX_DATA
37
38 // Overrides
39 // ClassWizard generated virtual function overrides
40 //{{AFX_VIRTUAL(CWorldObjectsPowerupDialog)
41 public:
42 virtual BOOL DestroyWindow();
43
44 protected:
45 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
46 //}}AFX_VIRTUAL
47
48 private:
49 void UpdateDialog();
50 void SavePowerupsOnClose();
51 void UpdatePowerupView();
52
53 grHardwareSurface m_PowerupSurf;
54
55 // Implementation
56 protected:
57 // Generated message map functions
58 //{{AFX_MSG(CWorldObjectsPowerupDialog)
59 afx_msg void OnAddNewPowerup();
60 afx_msg void OnCheckin();
61 afx_msg void OnDeletePowerup();
62 afx_msg void OnLockPowerup();
63 afx_msg void OnNextPowerup();
64 afx_msg void OnPrev();
65 afx_msg void OnPowerupsOut();
66 afx_msg void OnPaint();
67 virtual BOOL OnInitDialog();
68 afx_msg void OnTimer(UINT nIDEvent);
69 afx_msg void OnKillfocusPowerNameEdit();
70 afx_msg void OnKillfocusPowerupSizeEdit();
71 afx_msg void OnSelendokPowerPulldown();
72 afx_msg void OnLoadImage();
73 afx_msg void OnGravityCheck();
74 afx_msg void OnMagnetismCheck();
75 afx_msg void OnWindCheck();
76 afx_msg void OnKillfocusPowMassEdit();
77 afx_msg void OnKillfocusPowDragEdit();
78 afx_msg void OnSelendokPowerupAmbientSoundList();
79 afx_msg void OnSelendokPowerupPickupSoundList();
80 afx_msg BOOL OnHelpInfo(HELPINFO *pHelpInfo);
81 //}}AFX_MSG
82 DECLARE_MESSAGE_MAP()
83 };