LightAmbientForm.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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_LIGHTAMBIENTFORMCLASS_H__11C18BF8_759F_11D2_9FD0_00104B791122__INCLUDED_)
  19. #define AFX_LIGHTAMBIENTFORMCLASS_H__11C18BF8_759F_11D2_9FD0_00104B791122__INCLUDED_
  20. #if _MSC_VER >= 1000
  21. #pragma once
  22. #endif // _MSC_VER >= 1000
  23. // LightAmbientFormClass.h : header file
  24. //
  25. #ifndef __AFXEXT_H__
  26. #include <afxext.h>
  27. #endif
  28. #include "DockableForm.H"
  29. #include "resource.h"
  30. /////////////////////////////////////////////////////////////////
  31. //
  32. // LightAmbientFormClass
  33. //
  34. class LightAmbientFormClass : public DockableFormClass
  35. {
  36. public:
  37. LightAmbientFormClass (void);
  38. virtual ~LightAmbientFormClass (void);
  39. // Form Data
  40. public:
  41. //{{AFX_DATA(LightAmbientFormClass)
  42. enum { IDD = IDD_LIGHT_AMBIENT_DIALOG };
  43. //}}AFX_DATA
  44. // Attributes
  45. public:
  46. // Operations
  47. public:
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(LightAmbientFormClass)
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. #ifdef _DEBUG
  57. virtual void AssertValid() const;
  58. virtual void Dump(CDumpContext& dc) const;
  59. #endif
  60. // Generated message map functions
  61. //{{AFX_MSG(LightAmbientFormClass)
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. public:
  65. ///////////////////////////////////////////////////////
  66. //
  67. // Public methods
  68. //
  69. void HandleInitDialog (void);
  70. void Update_Settings (void);
  71. private:
  72. ///////////////////////////////////////////////////////
  73. //
  74. // Private member data
  75. //
  76. int m_InitialRed;
  77. int m_InitialGreen;
  78. int m_InitialBlue;
  79. HWND m_ColorForm;
  80. };
  81. /////////////////////////////////////////////////////////////////////////////
  82. //{{AFX_INSERT_LOCATION}}
  83. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  84. #endif // !defined(AFX_LIGHTAMBIENTFORMCLASS_H__11C18BF8_759F_11D2_9FD0_00104B791122__INCLUDED_)