Debian Codegraph @

editor/BriefButtonEdit.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 #if !defined(AFX_BRIEFBUTTONEDIT_H__01F120A2_427B_11D2_B359_006008BF0B09__INCLUDED_)
20 #define AFX_BRIEFBUTTONEDIT_H__01F120A2_427B_11D2_B359_006008BF0B09__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // BriefButtonEdit.h : header file
26 //
27
28 #include "telcomefxstructs.h"
29 #include "TelcomEffects.h"
30
31 /////////////////////////////////////////////////////////////////////////////
32 // CBriefButtonEdit dialog
33
34 class CBriefButtonEdit : public CDialog {
35 // Construction
36 public:
37 TCBUTTONDESC desc;
38 CBriefButtonEdit(TCBUTTONDESC *desc = NULL, int id = 0, CWnd *pParent = NULL); // standard constructor
39
40 // Dialog Data
41 //{{AFX_DATA(CBriefButtonEdit)
42 enum { IDD = IDD_BRIEF_ADDBUTTON };
43 CString m_sFilename;
44 CString m_sFlashFilename;
45 BOOL m_bFlasher;
46 float m_fFlashStart;
47 BOOL m_bGlow;
48 int m_iID;
49 int m_iPID;
50 int m_iSID;
51 int m_iClickType;
52 int m_iButtonType;
53 CString m_sDesc;
54 CString m_sFilenameFocus;
55 CString m_sFlashFilenameFocus;
56 int m_iX;
57 int m_iY;
58 int m_ScreenToJump;
59 //}}AFX_DATA
60
61 // Overrides
62 // ClassWizard generated virtual function overrides
63 //{{AFX_VIRTUAL(CBriefButtonEdit)
64 protected:
65 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
66 //}}AFX_VIRTUAL
67
68 // Implementation
69 protected:
70 void UpdateDialog(void);
71 bool VerifyData(void);
72
73 // Generated message map functions
74 //{{AFX_MSG(CBriefButtonEdit)
75 afx_msg void OnBriefBtChoose();
76 afx_msg void OnBriefBtFlashChoose();
77 virtual void OnOK();
78 virtual BOOL OnInitDialog();
79 afx_msg void OnBriefBtFlasher();
80 afx_msg void OnBriefBtGlow();
81 afx_msg void OnBriefBtChooseFocus();
82 afx_msg void OnBriefBtFlashChooseFocus();
83 afx_msg void OnMissionflags();
84 afx_msg void OnBriefBtJump();
85 afx_msg void OnBriefBtNextscreen();
86 afx_msg void OnBriefBtPrevscreen();
87 afx_msg void OnBriefBtQuit();
88 afx_msg void OnBriefBtScrolldown();
89 afx_msg void OnBriefBtScrollup();
90 //}}AFX_MSG
91 DECLARE_MESSAGE_MAP()
92 };
93
94 //{{AFX_INSERT_LOCATION}}
95 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
96
97 #endif // !defined(AFX_BRIEFBUTTONEDIT_H__01F120A2_427B_11D2_B359_006008BF0B09__INCLUDED_)