TriggerEditorDlg.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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_TRIGGEREDITORDLG_H__E9CA56E1_93E6_11D4_9C87_F3E3AC59A04A__INCLUDED_)
  17. #define AFX_TRIGGEREDITORDLG_H__E9CA56E1_93E6_11D4_9C87_F3E3AC59A04A__INCLUDED_
  18. #include "TriggerOptionsDlg.h" // Hinzugefügt von der Klassenansicht
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif // _MSC_VER > 1000
  22. // TriggerEditorDlg.h : Header-Datei
  23. //
  24. #include "MyComboBox.h"
  25. #include "TriggerEventsDlg.h" // Hinzugefügt von der Klassenansicht
  26. #include "TriggerActionsDlg.h" // Hinzugefügt von der Klassenansicht
  27. /////////////////////////////////////////////////////////////////////////////
  28. // Dialogfeld CTriggerEditorDlg
  29. class CTriggerEditorDlg : public CDialog
  30. {
  31. // Konstruktion
  32. public:
  33. void Clear();
  34. CTriggerActionsDlg m_TriggerActions;
  35. CTriggerEventsDlg m_TriggerEvents;
  36. CTriggerOptionsDlg m_TriggerOptions;
  37. void UpdateDialog();
  38. CTriggerEditorDlg(CWnd* pParent = NULL); // Standardkonstruktor
  39. // Dialogfelddaten
  40. //{{AFX_DATA(CTriggerEditorDlg)
  41. enum { IDD = IDD_TRIGGEREDITOR };
  42. CMyComboBox m_Trigger;
  43. CTabCtrl m_tab;
  44. //}}AFX_DATA
  45. // Überschreibungen
  46. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  47. //{{AFX_VIRTUAL(CTriggerEditorDlg)
  48. protected:
  49. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  50. //}}AFX_VIRTUAL
  51. // Implementierung
  52. protected:
  53. // Generierte Nachrichtenzuordnungsfunktionen
  54. //{{AFX_MSG(CTriggerEditorDlg)
  55. virtual void OnOK();
  56. virtual void OnCancel();
  57. virtual BOOL OnInitDialog();
  58. afx_msg void OnNewtrigger();
  59. afx_msg void OnDeletetrigger();
  60. afx_msg void OnSelchangeTrigger();
  61. afx_msg void OnEditchangeTrigger();
  62. afx_msg void OnSelchangeTriggertab(NMHDR* pNMHDR, LRESULT* pResult);
  63. afx_msg void OnPlaceonmap();
  64. afx_msg void OnClone();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. };
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  70. #endif // AFX_TRIGGEREDITORDLG_H__E9CA56E1_93E6_11D4_9C87_F3E3AC59A04A__INCLUDED_