ScriptTypes.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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_SCRIPTTYPES_H__981EF700_951E_11D3_B63B_BCCF9C98B341__INCLUDED_)
  17. #define AFX_SCRIPTTYPES_H__981EF700_951E_11D3_B63B_BCCF9C98B341__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // ScriptTypes.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CScriptTypes
  25. class CScriptTypes : public CDialog
  26. {
  27. DECLARE_DYNCREATE(CScriptTypes)
  28. // Konstruktion
  29. public:
  30. void UpdateDialog();
  31. CScriptTypes();
  32. ~CScriptTypes();
  33. // Dialogfelddaten
  34. //{{AFX_DATA(CScriptTypes)
  35. enum { IDD = IDD_SCRIPTTYPES };
  36. CEdit m_DescriptionEx;
  37. CStatic m_Desc;
  38. CComboBox m_Type;
  39. CComboBox m_ScriptType;
  40. CComboBox m_Param;
  41. CListBox m_Action;
  42. CString m_Name;
  43. //}}AFX_DATA
  44. // Überschreibungen
  45. // Der Klassen-Assistent generiert virtuelle Funktionsüberschreibungen
  46. //{{AFX_VIRTUAL(CScriptTypes)
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  49. //}}AFX_VIRTUAL
  50. // Implementierung
  51. protected:
  52. void ListBehaviours(CComboBox& cb);
  53. // Generierte Nachrichtenzuordnungsfunktionen
  54. //{{AFX_MSG(CScriptTypes)
  55. afx_msg void OnEditchangeScripttype();
  56. afx_msg void OnSelchangeScripttype();
  57. afx_msg void OnSelchangeAction();
  58. afx_msg void OnChangeName();
  59. afx_msg void OnEditchangeType();
  60. afx_msg void OnSelchangeType();
  61. afx_msg void OnEditchangeParam();
  62. afx_msg void OnSelchangeParam();
  63. afx_msg void OnAddaction();
  64. afx_msg void OnDeleteaction();
  65. afx_msg void OnAdd();
  66. afx_msg void OnDelete();
  67. virtual BOOL OnInitDialog();
  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_SCRIPTTYPES_H__981EF700_951E_11D3_B63B_BCCF9C98B341__INCLUDED_