home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************
- CQTPane.h
-
- Pane methods for the QuickTime demo application.
-
- Copyright © 1995 Gregory Bonk. All rights reserved.
- Changes upgrade to TPM 7.0.7
- *******************************************************************/
-
- #pragma once
-
- #include "CMovie.h"
-
- class CQTPane : public CPanorama {
-
- public:TCL_DECLARE_CLASS
-
- // Contruction/Destruction
-
- CQTPane();
- ~CQTPane();
-
- void IQTPane(CView *anEnclosure, CBureaucrat *aSupervisor,
- short aWidth, short aHeight,short aHEncl, short aVEncl,
- SizingOption aHSizing, SizingOption aVSizing,FSSpec *movieSpec);
-
- void DoCommand(long theCommand);
- void UpdateMenus(void);
- void ImportMovie(FSSpec *spec);
-
- // Drawing
- void Draw(Rect *area);
-
- // Mouse
- void DoClick(Point hitPt, short modifierKeys, long when);
- Boolean HitSamePart(Point pointA, Point pointB);
-
- // Cursor
- void AdjustCursor(Point where, RgnHandle mouseRgn);
-
- // Scrolling
- void ScrollToSelection(void);
-
- CMovie *itsMoviePane;
- };
-