Debian Codegraph @

editor/D3XStringEditor.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/D3XStringEditor.h $
21 * $Revision: 1.1.1.1 $
22 * $Date: 2003-08-26 03:57:37 $
23 * $Author: kevinb $
24 *
25 * D3XString Editor
26 *
27 * $Log: not supported by cvs2svn $
28 *
29 * 2 9/09/98 12:48p Samir
30 * added script localizer.
31 *
32 * 1 9/09/98 10:37a Samir
33 * Initial revision.
34 *
35 * $NoKeywords: $
36 */
37
38 #if !defined(AFX_D3XSTRINGEDITOR_H__627A6E21_47EE_11D2_B2D5_00A0C94B8467__INCLUDED_)
39 #define AFX_D3XSTRINGEDITOR_H__627A6E21_47EE_11D2_B2D5_00A0C94B8467__INCLUDED_
40
41 #if _MSC_VER >= 1000
42 #pragma once
43 #endif // _MSC_VER >= 1000
44 // D3XStringEditor.h : header file
45 //
46
47 /////////////////////////////////////////////////////////////////////////////
48 // CD3XStringEditor dialog
49
50 class CD3XStringEditor : public CDialog {
51 // Construction
52 public:
53 CD3XStringEditor(CWnd *pParent = NULL); // standard constructor
54
55 // Dialog Data
56 //{{AFX_DATA(CD3XStringEditor)
57 enum { IDD = IDD_LOCALIZESCRIPT };
58 // NOTE: the ClassWizard will add data members here
59 //}}AFX_DATA
60
61 // Overrides
62 // ClassWizard generated virtual function overrides
63 //{{AFX_VIRTUAL(CD3XStringEditor)
64 protected:
65 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
66 //}}AFX_VIRTUAL
67
68 // Implementation
69 protected:
70 // Generated message map functions
71 //{{AFX_MSG(CD3XStringEditor)
72 afx_msg void OnLoadscript();
73 afx_msg void OnSelchangeStringlist();
74 afx_msg void OnDblclkStringlist();
75 afx_msg void OnKillfocusStringedit();
76 afx_msg void OnSave();
77 virtual void OnOK();
78 //}}AFX_MSG
79 DECLARE_MESSAGE_MAP()
80
81 private:
82 int m_cursel; // current selection
83 bool m_modified;
84 CString m_pathname;
85
86 bool PromptSave(); // returns false if cancelled
87 };
88
89 //{{AFX_INSERT_LOCATION}}
90 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
91
92 #endif // !defined(AFX_D3XSTRINGEDITOR_H__627A6E21_47EE_11D2_B2D5_00A0C94B8467__INCLUDED_)