MapD.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /*
  2. FinalSun/FinalAlert 2 Mission Editor
  3. Copyright (C) 1999-2024 Electronic Arts, Inc.
  4. Authored by Matthias Wagner
  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. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <https://www.gnu.org/licenses/>.
  15. */
  16. #if !defined(AFX_MAPD_H__B5D522E9_69CE_11D3_99E1_C138647F2A00__INCLUDED_)
  17. #define AFX_MAPD_H__B5D522E9_69CE_11D3_99E1_C138647F2A00__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // MapD.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CMapD
  25. class CMapD : public CDialog
  26. {
  27. DECLARE_DYNCREATE(CMapD)
  28. // Konstruktion
  29. public:
  30. void UpdateStrings();
  31. void UpdateData();
  32. void UpdateDialog();
  33. CMapD();
  34. ~CMapD();
  35. // Dialogfelddaten
  36. //{{AFX_DATA(CMapD)
  37. enum { IDD = IDD_MAP };
  38. CEdit m_LocalSize;
  39. CComboBox m_Theater;
  40. CString m_Width;
  41. CString m_Height;
  42. //}}AFX_DATA
  43. // Überschreibungen
  44. // Der Klassen-Assistent generiert virtuelle Funktionsüberschreibungen
  45. //{{AFX_VIRTUAL(CMapD)
  46. protected:
  47. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  48. //}}AFX_VIRTUAL
  49. // Implementierung
  50. protected:
  51. // Generierte Nachrichtenzuordnungsfunktionen
  52. //{{AFX_MSG(CMapD)
  53. afx_msg void OnChangeUsesize();
  54. afx_msg void OnEditchangeTheater();
  55. afx_msg void OnChangelocal();
  56. afx_msg void OnChange();
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  62. #endif // AFX_MAPD_H__B5D522E9_69CE_11D3_99E1_C138647F2A00__INCLUDED_