// $Revision: 1.3 $ // Copyright (c) 1994-1995 Taligent, Inc. All rights reserved. #ifndef TaligentSamples_POLYGONINTERACTOR #define TaligentSamples_POLYGONINTERACTOR #ifndef TaligentSamples_GRAPHICVIEW #include "GraphicView.h" #endif #ifndef Taligent_MOUSEINPUT #include #endif #ifndef Taligent_VIEWHANDLE #include #endif class TPolygonInteractor : public TInteractor, public MMouseEventHandler { public: VersionDeclarationsMacro(TPolygonInteractor); TPolygonInteractor(TGraphicView*); virtual ~TPolygonInteractor(); virtual bool MouseButtonDown(TMouseDownEvent&, short); private: TViewHandle fViewHandle; TGPointArray fPoints; }; #endif // TaligentSamples_POLYGONINTERACTOR