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