TriggerEventsDlg.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_TRIGGEREVENTSDLG_H__13CDEBA1_961C_11D4_9C87_BD9803B9B54A__INCLUDED_)
  17. #define AFX_TRIGGEREVENTSDLG_H__13CDEBA1_961C_11D4_9C87_BD9803B9B54A__INCLUDED_
  18. #include "resource.h"
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif // _MSC_VER > 1000
  22. // TriggerEventsDlg.h : Header-Datei
  23. //
  24. /////////////////////////////////////////////////////////////////////////////
  25. // Dialogfeld CTriggerEventsDlg
  26. class CTriggerEventsDlg : public CDialog
  27. {
  28. // Konstruktion
  29. public:
  30. void Clear();
  31. CString m_currentTrigger;
  32. void UpdateDialog();
  33. CTriggerEventsDlg(CWnd* pParent = NULL); // Standardkonstruktor
  34. // Dialogfelddaten
  35. //{{AFX_DATA(CTriggerEventsDlg)
  36. enum { IDD = IDD_TRIGGEREVENTS };
  37. CMyComboBox m_ParamValue;
  38. CListBox m_Parameter;
  39. CMyComboBox m_EventType;
  40. CEdit m_EventDescription;
  41. CComboBox m_Event;
  42. //}}AFX_DATA
  43. // Überschreibungen
  44. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  45. //{{AFX_VIRTUAL(CTriggerEventsDlg)
  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(CTriggerEventsDlg)
  53. afx_msg void OnNewevent();
  54. afx_msg void OnDeleteevent();
  55. afx_msg void OnSelchangeEvent();
  56. afx_msg void OnEditchangeEventtype();
  57. afx_msg void OnSelchangeParameter();
  58. afx_msg void OnEditchangeParamvalue();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  64. #endif // AFX_TRIGGEREVENTSDLG_H__13CDEBA1_961C_11D4_9C87_BD9803B9B54A__INCLUDED_