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 / Draw / Sources / FloatFrm.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.6 KB  |  60 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FloatFrm.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Author:                Henri Lamiraux
  7. //
  8. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //========================================================================================
  11.  
  12. #ifndef FLOATFRM_H
  13. #define FLOATFRM_H
  14.  
  15. // ----- Part Layer -----
  16.  
  17. #ifndef FWFRAME_H
  18. #include "FWFrame.h"
  19. #endif
  20.  
  21. // ----- OS Layer -----
  22.  
  23. #ifndef FWMAPING_H
  24. #include "FWMaping.h"
  25. #endif
  26.  
  27. //========================================================================================
  28. // Forward Declaration
  29. //========================================================================================
  30.  
  31. class FW_CMapping;
  32.  
  33. //========================================================================================
  34. // CFloatingWindowFrame
  35. //========================================================================================
  36.  
  37. class CFloatingWindowFrame : public FW_CFrame
  38. {
  39. //----------------------------------------------------------------------------------------
  40. // Initialization/destruction
  41. //
  42. public:        
  43.     CFloatingWindowFrame(Environment* ev, ODFrame* odFrame, FW_CPresentation* presentation, FW_CPart* part);
  44.     virtual ~ CFloatingWindowFrame();
  45.  
  46. //----------------------------------------------------------------------------------------
  47. // New API
  48. //
  49. protected:    
  50.     void                    EraseBackground(Environment* ev, FW_CGraphicContext& gc);
  51.     void                    HideShowFloating(Environment* ev);
  52.     
  53. //----------------------------------------------------------------------------------------
  54. // Data Members
  55. //
  56. protected:    
  57.     FW_CMapping                fMapping;
  58. };
  59.  
  60. #endif