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 / FWScrCon.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.3 KB  |  54 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWScrCon.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWSCRCON_H
  11. #define FWSCRCON_H
  12.  
  13. #ifndef FWGC_H
  14. #include "FWGC.h"
  15. #endif
  16.  
  17. #ifndef SLGDEV_H
  18. #include "SLGDev.h"
  19. #endif
  20.  
  21. //========================================================================================
  22. //    Forward Class Declarations
  23. //========================================================================================
  24.  
  25. class FW_CScreenContext;
  26.  
  27. //========================================================================================
  28. //    class FW_CScreenContext
  29. //========================================================================================
  30.  
  31. class FW_CScreenContext : public FW_CGraphicContext
  32. {
  33. public:
  34.     FW_DECLARE_AUTO(FW_CScreenContext)
  35.  
  36.     FW_CScreenContext(Environment* ev,
  37.                       ODShape* clipShape = NULL,
  38.                       ODTransform* transform = NULL);
  39.     virtual ~FW_CScreenContext();
  40.     
  41.     virtual void        Reset();
  42.     
  43. private:
  44. #ifdef FW_BUILD_WIN
  45.     HDC            fDC;
  46. #endif
  47. #ifdef FW_BUILD_MAC
  48.     CGrafPort    fCGrafPort;
  49. #endif
  50.     FW_HGDevice    fGraphicDevice;
  51. };
  52.  
  53. #endif // FWSCRCON_H
  54.