home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / FWGrInit.cpp < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.8 KB  |  73 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWGrInit.cpp
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #include "FWOS.hpp"
  11.  
  12. #ifndef FWGRINIT_H
  13. #include "FWGrInit.h"
  14. #endif
  15.  
  16. #ifndef SLGRGLOB_H
  17. #include "SLGrGlob.h"
  18. #endif
  19.  
  20. #ifndef FWRECT_H
  21. #include "FWRect.h"
  22. #endif
  23.  
  24. #ifndef FWGXUTIL_H
  25. #include "FWGXUtil.h"
  26. #endif
  27.  
  28. #ifndef FWPRIDEB_H
  29. #include "FWPriDeb.h"
  30. #endif
  31.  
  32. #if defined(FW_BUILD_MAC) && !defined(__WINDOWS__)
  33. #include <Windows.h>
  34. #endif
  35.  
  36. //========================================================================================
  37. //    RunTime Info
  38. //========================================================================================
  39.  
  40. #ifdef FW_BUILD_MAC
  41. #pragma segment FWGraphics_Init
  42. #endif
  43.  
  44. //========================================================================================
  45. //    Global Functions
  46. //========================================================================================
  47.  
  48. //----------------------------------------------------------------------------------------
  49. // FW_PrivInitGraphics
  50. //----------------------------------------------------------------------------------------
  51.  
  52. void FW_PrivInitGraphics()
  53. {
  54.     FW_PrivInitializeGraphicsGlobals();
  55.  
  56. #ifdef FW_SUPPORT_GX
  57.     FW_Priv_GX_Initialize();
  58. #endif
  59. }
  60.  
  61. //----------------------------------------------------------------------------------------
  62. // FW_PrivShutdownGraphics
  63. //----------------------------------------------------------------------------------------
  64.  
  65. void FW_PrivShutdownGraphics()
  66. {
  67.     FW_PrivTerminateGraphicsGlobals();
  68.  
  69. #ifdef FW_SUPPORT_GX
  70.     FW_Priv_GX_Terminate();
  71. #endif
  72. }
  73.