home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C++ / Applications / SeeMovieRun 2.0 / Headers / CQTPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-01  |  1.0 KB  |  46 lines  |  [TEXT/KAHL]

  1. /****************************************************************
  2.  CQTPane.h
  3.  
  4.     Pane methods for the QuickTime demo application.
  5.  
  6.      Copyright © 1995 Gregory Bonk. All rights reserved.
  7.         Changes upgrade to TPM 7.0.7
  8.  *******************************************************************/
  9.  
  10. #pragma once
  11.  
  12. #include "CMovie.h"
  13.  
  14. class CQTPane : public CPanorama {
  15.     
  16. public:TCL_DECLARE_CLASS
  17.  
  18. //    Contruction/Destruction
  19.  
  20. CQTPane();
  21. ~CQTPane();
  22.  
  23.     void        IQTPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  24.                             short aWidth, short aHeight,short aHEncl, short aVEncl,
  25.                             SizingOption aHSizing, SizingOption aVSizing,FSSpec *movieSpec);
  26.  
  27.     void        DoCommand(long theCommand);
  28.     void        UpdateMenus(void);  
  29.     void        ImportMovie(FSSpec *spec);
  30.     
  31. //    Drawing
  32.     void        Draw(Rect *area);
  33.  
  34. //    Mouse
  35.     void        DoClick(Point hitPt, short modifierKeys, long when);
  36.     Boolean        HitSamePart(Point pointA, Point pointB);
  37.     
  38. //    Cursor
  39.     void        AdjustCursor(Point where, RgnHandle mouseRgn);
  40.  
  41. //    Scrolling
  42.     void        ScrollToSelection(void);
  43.     
  44.     CMovie        *itsMoviePane;
  45. };
  46.