W3DGUICallbacks.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. ** Command & Conquer Generals Zero Hour(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. ////////////////////////////////////////////////////////////////////////////////
  19. // //
  20. // (c) 2001-2003 Electronic Arts Inc. //
  21. // //
  22. ////////////////////////////////////////////////////////////////////////////////
  23. // FILE: W3DGUICallbacks.h ////////////////////////////////////////////////////////////////////////
  24. // Created: Colin Day, August 2001
  25. // Desc: Callbacks for GUI elements that are specifically tied to
  26. // a W3D implementation
  27. ///////////////////////////////////////////////////////////////////////////////////////////////////
  28. #pragma once
  29. #ifndef __W3DGUICALLBACKS_H_
  30. #define __W3DGUICALLBACKS_H_
  31. class GameWindow;
  32. class WindowLayout;
  33. class WinInstanceData;
  34. // EXTERNALS //////////////////////////////////////////////////////////////////////////////////////
  35. // Message of the day message window --------------------------------------------------------------
  36. extern void W3DLeftHUDDraw( GameWindow *window, WinInstanceData *instData );
  37. extern void W3DCameoMovieDraw( GameWindow *window, WinInstanceData *instData );
  38. extern void W3DRightHUDDraw( GameWindow *window, WinInstanceData *instData );
  39. extern void W3DPowerDraw( GameWindow *window, WinInstanceData *instData );
  40. extern void W3DMainMenuDraw( GameWindow *window, WinInstanceData *instData );
  41. extern void W3DMainMenuFourDraw( GameWindow *window, WinInstanceData *instData );
  42. extern void W3DMetalBarMenuDraw( GameWindow *window, WinInstanceData *instData );
  43. extern void W3DCreditsMenuDraw( GameWindow *window, WinInstanceData *instData );
  44. extern void W3DClockDraw( GameWindow *window, WinInstanceData *instData );
  45. extern void W3DMainMenuMapBorder( GameWindow *window, WinInstanceData *instData );
  46. extern void W3DMainMenuButtonDropShadowDraw( GameWindow *window, WinInstanceData *instData );
  47. extern void W3DMainMenuRandomTextDraw( GameWindow *window, WinInstanceData *instData );
  48. extern void W3DThinBorderDraw( GameWindow *window, WinInstanceData *instData );
  49. extern void W3DShellMenuSchemeDraw( GameWindow *window, WinInstanceData *instData );
  50. extern void W3DCommandBarGridDraw( GameWindow *window, WinInstanceData *instData );
  51. extern void W3DCommandBarGenExpDraw( GameWindow *window, WinInstanceData *instData );
  52. extern void W3DCommandBarHelpPopupDraw( GameWindow *window, WinInstanceData *instData );
  53. extern void W3DCommandBarBackgroundDraw( GameWindow *window, WinInstanceData *instData );
  54. extern void W3DCommandBarForegroundDraw( GameWindow *window, WinInstanceData *instData );
  55. extern void W3DCommandBarTopDraw( GameWindow *window, WinInstanceData *instData );
  56. extern void W3DNoDraw( GameWindow *window, WinInstanceData *instData );
  57. extern void W3DDrawMapPreview( GameWindow *window, WinInstanceData *instData );
  58. void W3DMainMenuInit( WindowLayout *layout, void *userData );
  59. #endif // __W3DGUICALLBACKS_H_