ToolSettingsBar.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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_TOOLSETTINGSBAR_H__582DFEA1_7F44_11D4_9C87_F809D2CDBE4A__INCLUDED_)
  17. #define AFX_TOOLSETTINGSBAR_H__582DFEA1_7F44_11D4_9C87_F809D2CDBE4A__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // ToolSettingsBar.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CToolSettingsBar
  25. class CToolSettingsBar : public CDialogBar
  26. {
  27. // Konstruktion
  28. public:
  29. CToolSettingsBar(CWnd* pParent = NULL); // Standardkonstruktor
  30. // Dialogfelddaten
  31. //{{AFX_DATA(CToolSettingsBar)
  32. enum { IDD = IDD_TOOLSETTINGS };
  33. int m_BrushSize;
  34. //}}AFX_DATA
  35. // Überschreibungen
  36. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  37. //{{AFX_VIRTUAL(CToolSettingsBar)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  40. //}}AFX_VIRTUAL
  41. // Implementierung
  42. protected:
  43. // Generierte Nachrichtenzuordnungsfunktionen
  44. //{{AFX_MSG(CToolSettingsBar)
  45. afx_msg void OnSelchangeBrushsize();
  46. virtual BOOL OnInitDialog();
  47. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  53. #endif // AFX_TOOLSETTINGSBAR_H__582DFEA1_7F44_11D4_9C87_F809D2CDBE4A__INCLUDED_