RTPDlg.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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_RTPDLG_H__8E65AA00_2C54_11D5_89B2_444553540000__INCLUDED_)
  17. #define AFX_RTPDLG_H__8E65AA00_2C54_11D5_89B2_444553540000__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // RTPDlg.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CRTPDlg
  25. class CRTPDlg : public CDialog
  26. {
  27. // Konstruktion
  28. public:
  29. CRTPDlg(CWnd* pParent = NULL); // Standardkonstruktor
  30. // Dialogfelddaten
  31. //{{AFX_DATA(CRTPDlg)
  32. enum { IDD = IDD_TERRAINPLACING };
  33. CButton m_Preview;
  34. CListBox m_Used;
  35. CListBox m_Available;
  36. //}}AFX_DATA
  37. // Überschreibungen
  38. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  39. //{{AFX_VIRTUAL(CRTPDlg)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  42. //}}AFX_VIRTUAL
  43. // Implementierung
  44. protected:
  45. CString m_LastSelected;
  46. // Generierte Nachrichtenzuordnungsfunktionen
  47. //{{AFX_MSG(CRTPDlg)
  48. virtual BOOL OnInitDialog();
  49. afx_msg void OnAdd();
  50. afx_msg void OnRemove();
  51. virtual void OnOK();
  52. afx_msg void OnSelchangeAvail();
  53. afx_msg void OnDblclkAvail();
  54. afx_msg void OnSelchangeUsed();
  55. afx_msg void OnDblclkUsed();
  56. afx_msg void OnPaint();
  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_RTPDLG_H__8E65AA00_2C54_11D5_89B2_444553540000__INCLUDED_