TriggerOptionsDlg.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_TRIGGEROPTIONSDLG_H__FA26A541_949D_11D4_9C87_CBD54CC4BF4A__INCLUDED_)
  17. #define AFX_TRIGGEROPTIONSDLG_H__FA26A541_949D_11D4_9C87_CBD54CC4BF4A__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // TriggerOptionsDlg.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CTriggerOptionsDlg
  25. class CTriggerOptionsDlg : public CDialog
  26. {
  27. // Konstruktion
  28. public:
  29. void Clear();
  30. virtual BOOL PreTranslateMessage(MSG* pMsg);
  31. void UpdateDialog();
  32. CString m_currentTrigger;
  33. CTriggerOptionsDlg(CWnd* pParent = NULL); // Standardkonstruktor
  34. // Dialogfelddaten
  35. //{{AFX_DATA(CTriggerOptionsDlg)
  36. enum { IDD = IDD_TRIGGEROPTIONS };
  37. CButton m_Medium;
  38. CButton m_Hard;
  39. CButton m_Easy;
  40. CButton m_Disabled;
  41. CMyComboBox m_TriggerType;
  42. CEdit m_Name;
  43. CMyComboBox m_House;
  44. CMyComboBox m_AttachedTrigger;
  45. //}}AFX_DATA
  46. // Überschreibungen
  47. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  48. //{{AFX_VIRTUAL(CTriggerOptionsDlg)
  49. protected:
  50. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  51. //}}AFX_VIRTUAL
  52. // Implementierung
  53. protected:
  54. CToolTipCtrl m_tooltip;
  55. virtual BOOL OnInitDialog();
  56. // Generierte Nachrichtenzuordnungsfunktionen
  57. //{{AFX_MSG(CTriggerOptionsDlg)
  58. afx_msg void OnChangeName();
  59. afx_msg void OnEditchangeHouse();
  60. afx_msg void OnEditchangeAttachedtrigger();
  61. afx_msg void OnKillfocusName();
  62. afx_msg void OnKillFocus(CWnd* pNewWnd);
  63. afx_msg void OnEditchangeTriggertype();
  64. afx_msg void OnDisabled();
  65. afx_msg void OnEasy();
  66. afx_msg void OnMedium();
  67. afx_msg void OnHard();
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  73. #endif // AFX_TRIGGEROPTIONSDLG_H__FA26A541_949D_11D4_9C87_CBD54CC4BF4A__INCLUDED_