home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / DU Folder / Sample4 / Sources / Include / SampleFrm.h < prev    next >
Encoding:
Text File  |  1995-10-10  |  1.3 KB  |  44 lines  |  [TEXT/MPS ]

  1. //    Copyright © 1995 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ 1.0 d11 $
  3.  
  4. #ifndef _SAMPLEFRAME_
  5. #define _SAMPLEFRAME_
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class FW_CLASS_ATTR CSamplePart;
  15. class FW_CLASS_ATTR DevUniv_STalker;
  16. class FW_CLASS_ATTR FW_CPictureShape; 
  17.  
  18. //=======================================================================
  19. class FW_CLASS_ATTR CSampleFrame : public FW_CFrame {
  20. public:
  21.                         CSampleFrame(Environment* ev, 
  22.                                     ODFrame* odFrame, 
  23.                                     FW_CPresentation* presentation, 
  24.                                     CSamplePart* samplePart);
  25.     virtual             ~CSampleFrame();
  26. protected:
  27. // overrides
  28.     virtual void        Draw(Environment *ev, 
  29.                              ODFacet* odFacet, 
  30.                              ODShape* invalidShape);
  31.     virtual FW_Boolean    DoMouseDown(Environment* ev, 
  32.                                     const FW_CMouseEvent& theMouseEvent);
  33.     virtual void        FrameShapeChanged(Environment* ev);
  34. // new members
  35.     virtual void         MyInitPicture(Environment* ev);
  36. private:
  37.     DevUniv_STalker*    fSOMTalker;    // SOM object for speech synthesis
  38.     FW_CRect             fFrameRect;
  39.     FW_CPictureShape*    fPictShape;    // Mr. Pizza
  40. };
  41.  
  42. //=======================================================================
  43. #endif
  44.