home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DUProjects / Events / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.2 KB  |  41 lines  |  [TEXT/CWIE]

  1. //    Copyright © 1995 Apple Computer, Inc. All rights reserved.
  2. //    Release Version:    $ 1.0 d11 $
  3.  
  4. #ifndef FRAME_H
  5. #define FRAME_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class CEventsPart;
  15. class FW_CMenuEvent;
  16.  
  17. //=======================================================================
  18. class CEventsFrame : public FW_CFrame {
  19. public:
  20.     FW_DECLARE_AUTO(CEventsFrame)
  21.                         CEventsFrame(Environment* ev, 
  22.                                     ODFrame* odFrame, 
  23.                                     FW_CPresentation* presentation, 
  24.                                     CEventsPart* eventsPart);
  25.     virtual             ~CEventsFrame();
  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 FW_Boolean    DoCharKey(Environment* ev, 
  34.                             const FW_CCharKeyEvent& theCharKeyEvent);
  35.     virtual FW_Boolean     DoVirtualKey(Environment* ev, 
  36.                           const FW_CVirtualKeyEvent& theVirtualKeyEvent);
  37. };
  38.  
  39. //=======================================================================
  40. #endif
  41.