EditRemarkDialog.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  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. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #if !defined(AFX_EDITREMARKDIALOG_H__6A88EE92_3F48_4C4D_A4EA_5C519713E6A9__INCLUDED_)
  19. #define AFX_EDITREMARKDIALOG_H__6A88EE92_3F48_4C4D_A4EA_5C519713E6A9__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. #include "resource.h"
  24. #include "stringpickerdialog.h"
  25. /////////////////////////////////////////////////////////////////////////////
  26. // Forward declarations
  27. /////////////////////////////////////////////////////////////////////////////
  28. class DialogueRemarkClass;
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // EditRemarkDialogClass
  32. //
  33. /////////////////////////////////////////////////////////////////////////////
  34. class EditRemarkDialogClass : public CDialog
  35. {
  36. // Construction
  37. public:
  38. EditRemarkDialogClass(CWnd* pParent = NULL); // standard constructor
  39. // Dialog Data
  40. //{{AFX_DATA(EditRemarkDialogClass)
  41. enum { IDD = IDD_EDIT_REMARK };
  42. CSpinButtonCtrl m_WeightSpin;
  43. //}}AFX_DATA
  44. // Overrides
  45. // ClassWizard generated virtual function overrides
  46. //{{AFX_VIRTUAL(EditRemarkDialogClass)
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. // Generated message map functions
  53. //{{AFX_MSG(EditRemarkDialogClass)
  54. virtual BOOL OnInitDialog();
  55. virtual void OnOK();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. public:
  59. ////////////////////////////////////////////////////////////////////
  60. // Public methods
  61. ////////////////////////////////////////////////////////////////////
  62. void Set_Remark (DialogueRemarkClass *remark) { m_Remark = remark; }
  63. DialogueRemarkClass * Get_Remark (void) const { return m_Remark; }
  64. private:
  65. ////////////////////////////////////////////////////////////////////
  66. // Private member data
  67. ////////////////////////////////////////////////////////////////////
  68. DialogueRemarkClass * m_Remark;
  69. StringPickerDialogClass StringPicker;
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(AFX_EDITREMARKDIALOG_H__6A88EE92_3F48_4C4D_A4EA_5C519713E6A9__INCLUDED_)