Debian Codegraph @

editor/TableFileEdit.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_TABLEFILEEDIT_H__DA8D6602_3037_11D2_8CBD_00A0C96ED60D__INCLUDED_)
20 #define AFX_TABLEFILEEDIT_H__DA8D6602_3037_11D2_8CBD_00A0C96ED60D__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // TableFileEdit.h : header file
26 //
27
28 #include "TableManage.h"
29
30 #define TITLE_NAME "Table File Text Editor v1.0"
31
32 /////////////////////////////////////////////////////////////////////////////
33 // CTableFileEdit dialog
34
35 class CTableFileEdit : public CDialog {
36 // Construction
37 public:
38 CTableFileEdit(CWnd *pParent = NULL); // standard constructor
39
40 void EnableAll(bool flag); // Enables or disables all dialog items
41
42 GenericPageList m_PageList; // the generic page list
43
44 // Dialog Data
45 //{{AFX_DATA(CTableFileEdit)
46 enum { IDD = IDD_TABLE_FILE_EDITOR };
47 CEdit m_ScreenNameBox;
48 CEdit m_DescriptionBox;
49 CComboBox m_NameList;
50 //}}AFX_DATA
51
52 // Overrides
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(CTableFileEdit)
55 protected:
56 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
57 //}}AFX_VIRTUAL
58
59 // Implementation
60 protected:
61 // Generated message map functions
62 //{{AFX_MSG(CTableFileEdit)
63 afx_msg void OnTableEditFileLoad();
64 afx_msg void OnTableEditFileExit();
65 afx_msg void OnSelChangeTableEditNameList();
66 afx_msg void OnTableEditBtnNext();
67 afx_msg void OnTableEditBtnPrevious();
68 virtual BOOL OnInitDialog();
69 afx_msg void OnTableEditFileSave();
70 afx_msg void OnTableEditFileSaveAs();
71 afx_msg void OnUpdateTableEditFileSave(CCmdUI *pCmdUI);
72 afx_msg void OnUpdateTableEditFileSaveAs(CCmdUI *pCmdUI);
73 afx_msg void OnClose();
74 afx_msg void OnChangeTableEditDescriptionEdit();
75 //}}AFX_MSG
76 DECLARE_MESSAGE_MAP()
77 };
78
79 //{{AFX_INSERT_LOCATION}}
80 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
81
82 #endif // !defined(AFX_TABLEFILEEDIT_H__DA8D6602_3037_11D2_8CBD_00A0C96ED60D__INCLUDED_)