macosx_display.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. #include "tr_local.h"
  19. #include "macosx_local.h"
  20. @class NSDictionary;
  21. extern NSDictionary *Sys_GetMatchingDisplayMode(qboolean allowStretchedModes);
  22. extern void Sys_StoreGammaTables();
  23. extern void Sys_GetGammaTable(glwgamma_t *table);
  24. extern void Sys_SetScreenFade(glwgamma_t *table, float fraction);
  25. extern void Sys_FadeScreens();
  26. extern void Sys_FadeScreen(CGDirectDisplayID display);
  27. extern void Sys_UnfadeScreens();
  28. extern void Sys_UnfadeScreen(CGDirectDisplayID display, glwgamma_t *table);
  29. extern void Sys_ReleaseAllDisplays();