home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 1.5 KB | 48 lines | [TEXT/CWIE] |
- // Copyright © 1995 Apple Computer, Inc. All rights reserved.
- // Release Version: $ 1.0 d11 $
-
- #ifndef FRAME_H
- #define FRAME_H
-
- //=======================================================================
- // ----- Framework Includes -----
- #ifndef FWFRAME_H
- #include <FWFrame.h> // FW_CFrame
- #endif
-
- //=======================================================================
- class CGraphicsGXPart;
- class FW_CPrintHandler;
- class FW_CGraphicContextGX;
-
- //=======================================================================
- class CGraphicsGXFrame : public FW_CFrame {
- public:
- FW_DECLARE_AUTO(CGraphicsGXFrame)
- CGraphicsGXFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- CGraphicsGXPart* graphicsgxPart);
- virtual ~CGraphicsGXFrame();
- protected:
- // overrides
- virtual void Draw(Environment *ev,
- ODFacet* odFacet,
- ODShape* invalidShape);
- // ----- Printing ------
- virtual FW_CPrintHandler* NewPrintHandler(Environment* ev);
- virtual FW_Boolean IsCurrentlyPrintable(Environment* ev) const;
- virtual void GetPrintContentExtent(Environment *ev, FW_CPoint& extent) const;
- // new members
- virtual void MyDrawWithODF(Environment *ev,
- ODFacet* odFacet,
- ODShape* invalidShape);
- virtual void MyDrawGXBoxes(Environment *ev,
- FW_CGraphicContextGX& context);
- virtual void MyDrawGXText(Environment *ev,
- FW_CGraphicContextGX& context);
- };
-
- //=======================================================================
- #endif
-