Debian Codegraph @

editor/BriefTextEdit.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_BRIEFTEXTEDIT_H__01F120A6_427B_11D2_B359_006008BF0B09__INCLUDED_)
20 #define AFX_BRIEFTEXTEDIT_H__01F120A6_427B_11D2_B359_006008BF0B09__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // BriefTextEdit.h : header file
26 //
27 #include "telcomefxstructs.h"
28 #include "TelComEffects.h"
29
30 /////////////////////////////////////////////////////////////////////////////
31 // CBriefTextEdit dialog
32
33 class CBriefTextEdit : public CDialog {
34 // Construction
35 public:
36 CBriefTextEdit(int curr_screen, TCTEXTDESC *desc = NULL, char *text = NULL, int id = 0,
37 CWnd *pParent = NULL); // standard constructor
38 TCTEXTDESC desc;
39 int m_Screen;
40 CString m_Text;
41 CRichEditCtrl m_RichEdit;
42 bool m_RichEditInit;
43
44 // Dialog Data
45 //{{AFX_DATA(CBriefTextEdit)
46 enum { IDD = IDD_BRIEF_ADDTEXT };
47 int m_iID;
48 int m_iBY;
49 int m_iRX;
50 float m_fSpeed;
51 float m_fStartTime;
52 int m_iTY;
53 int m_iLX;
54 int m_iEffectType;
55 CString m_sDesc;
56 BYTE m_iBlue;
57 BYTE m_iGreen;
58 BYTE m_iRed;
59 BOOL m_TabStop;
60 //}}AFX_DATA
61
62 // Overrides
63 // ClassWizard generated virtual function overrides
64 //{{AFX_VIRTUAL(CBriefTextEdit)
65 protected:
66 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
67 //}}AFX_VIRTUAL
68
69 // Implementation
70 protected:
71 // Generated message map functions
72 //{{AFX_MSG(CBriefTextEdit)
73 virtual void OnOK();
74 virtual BOOL OnInitDialog();
75 afx_msg void OnBriefColorPal();
76 afx_msg void OnSelchangeBriefTPredef();
77 afx_msg void OnMissionflags();
78 //}}AFX_MSG
79 DECLARE_MESSAGE_MAP()
80 };
81
82 //{{AFX_INSERT_LOCATION}}
83 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
84
85 #endif // !defined(AFX_BRIEFTEXTEDIT_H__01F120A6_427B_11D2_B359_006008BF0B09__INCLUDED_)