dlgmpwolquickmatchoptions.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. #ifdef QUICKMATCH_OPTIONS
  19. /***********************************************************************************************
  20. *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
  21. ***********************************************************************************************
  22. * *
  23. * Project Name : Combat *
  24. * *
  25. * $Archive:: /Commando/Code/Commando/dlgmpwolquickmatchoptions.h $*
  26. * *
  27. * Author:: Patrick Smith *
  28. * *
  29. * $Modtime:: 11/27/01 11:01a $*
  30. * *
  31. * $Revision:: 6 $*
  32. * *
  33. *---------------------------------------------------------------------------------------------*
  34. * Functions: *
  35. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  36. #if defined(_MSC_VER)
  37. #pragma once
  38. #endif
  39. #ifndef __DLG_MP_WOL_QUICKMATCH_OPTIONS_H
  40. #define __DLG_MP_WOL_QUICKMATCH_OPTIONS_H
  41. #include "menudialog.h"
  42. #include "resource.h"
  43. ////////////////////////////////////////////////////////////////
  44. //
  45. // MPWolQuickMatchOptionsMenuClass
  46. //
  47. ////////////////////////////////////////////////////////////////
  48. class MPWolQuickMatchOptionsMenuClass : public MenuDialogClass
  49. {
  50. public:
  51. ////////////////////////////////////////////////////////////////
  52. // Public constructors/destructors
  53. ////////////////////////////////////////////////////////////////
  54. MPWolQuickMatchOptionsMenuClass (void);
  55. ////////////////////////////////////////////////////////////////
  56. // Public methods
  57. ////////////////////////////////////////////////////////////////
  58. void On_Init_Dialog (void);
  59. void On_Command (int ctrl_id, int mesage_id, DWORD param);
  60. void On_SliderCtrl_Pos_Changed (SliderCtrlClass *slider_ctrl, int ctrl_id, int new_pos);
  61. bool Save_Settings (void);
  62. protected:
  63. ////////////////////////////////////////////////////////////////
  64. // Protected methods
  65. ////////////////////////////////////////////////////////////////
  66. void Update_Slider_Text (int ctrl_id);
  67. ////////////////////////////////////////////////////////////////
  68. // Protected member data
  69. ////////////////////////////////////////////////////////////////
  70. };
  71. #endif //__DLG_MP_WOL_QUICKMATCH_OPTIONS_H
  72. #endif // QUICKMATCH_OPTIONS