home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Applications / Conic Sections 0.9.2 / Include / DocContent.h < prev    next >
Encoding:
Text File  |  1997-05-31  |  739 b   |  34 lines  |  [TEXT/CWIE]

  1. //Copyright (c) 1997 Aidan Cully
  2. //All rights reserved
  3.  
  4. #ifndef __DOCCONTENT_H
  5. #define __DOCCONTENT_H
  6.  
  7. #include "CLLayout.h"
  8. #include "CLActionHandler.h"
  9. #include "Conic.h"
  10. #include "CLReceiver.h"
  11. #include "CLPicture.h"
  12.  
  13. class TDocContent:
  14.     public TLayoutLeaf,
  15.     public MActionHandler,
  16.     public MReceiver
  17. {
  18. protected:
  19.     void CopySelf();
  20.     TPlane *mPlane;
  21.     Boolean mHasDragDrop;
  22.     Boolean HandleMouseSelf( TMouseButtonEvent* );
  23. public:
  24.     TDocContent( TLayoutBranch*, Boolean, MActionHandler*, TPlane* );
  25.     virtual Boolean Init();
  26.     virtual SInt8 HandleAction( UInt32 );
  27.     virtual SInt8 MakeActive();
  28.     virtual Boolean MakeActive( Boolean );
  29.     virtual Rect GetLargestSize();
  30.     virtual int ReceiveMessage( TMessage* );
  31.     TPicture *GetPicture();
  32. };
  33.  
  34. #endif