SOUNDDLG.H 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*
  2. ** Command & Conquer Red Alert(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. /* $Header: /CounterStrike/SOUNDDLG.H 1 3/03/97 10:25a Joe_bostic $ */
  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 : Command & Conquer *
  24. * *
  25. * File Name : OPTIONS.H *
  26. * *
  27. * Programmer : Joe L. Bostic *
  28. * *
  29. * Start Date : June 8, 1994 *
  30. * *
  31. * Last Update : June 8, 1994 [JLB] *
  32. * *
  33. *---------------------------------------------------------------------------------------------*
  34. * Functions: *
  35. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  36. #ifndef SOUNDDLG_H
  37. #define SOUNDDLG_H
  38. #include "gadget.h"
  39. class SoundControlsClass
  40. {
  41. enum SoundControlsClassEnums {
  42. #ifdef FRENCH
  43. OPTION_WIDTH=308,
  44. #else
  45. OPTION_WIDTH=292,
  46. #endif
  47. OPTION_HEIGHT=146,
  48. OPTION_X=((320 - OPTION_WIDTH) / 2),
  49. OPTION_Y=(200 - OPTION_HEIGHT) / 2,
  50. LISTBOX_X=17,
  51. LISTBOX_Y=54,
  52. LISTBOX_W=OPTION_WIDTH-(LISTBOX_X*2),
  53. LISTBOX_H=72,
  54. BUTTON_WIDTH=70,
  55. BUTTON_X=OPTION_WIDTH-(BUTTON_WIDTH+17), // Options button x pos
  56. BUTTON_Y=128, // Options button y pos
  57. STOP_X=17, // Stop button X.
  58. STOP_Y=128, // Stop button Y.
  59. PLAY_X=35,
  60. PLAY_Y=128,
  61. ONOFF_WIDTH=25,
  62. #ifdef GERMAN
  63. SHUFFLE_X=79,//BGA:91,
  64. #else
  65. #ifdef FRENCH
  66. SHUFFLE_X=99,
  67. #else
  68. SHUFFLE_X=97,
  69. #endif
  70. #endif
  71. SHUFFLE_Y=128,
  72. #ifdef FRENCH
  73. REPEAT_X=169,
  74. #else
  75. REPEAT_X=164,
  76. #endif
  77. REPEAT_Y=128,
  78. MSLIDER_X=147,
  79. MSLIDER_Y=28,
  80. MSLIDER_W=108,
  81. MSLIDER_HEIGHT=5,
  82. FXSLIDER_X=147,
  83. FXSLIDER_Y=40,
  84. FXSLIDER_W=108,
  85. FXSLIDER_HEIGHT=5,
  86. BUTTON_STOP = 605,
  87. BUTTON_PLAY,
  88. BUTTON_SHUFFLE,
  89. BUTTON_REPEAT,
  90. BUTTON_OPTIONS,
  91. SLIDER_MUSIC,
  92. SLIDER_SOUND,
  93. BUTTON_LISTBOX,
  94. };
  95. public:
  96. SoundControlsClass(void) {}
  97. void Process(void);
  98. };
  99. #endif