// $Revision: 1.6 $ //------------------------------------------------------------------------------ // // Copyright (C) 1994, 1995 Taligent, Inc. All rights reserved. // // Project: TaligentSelectionTool // File: HighlightFeedbackStyle.h // Build/Version: 1.0.0 // // Description: Create a feedback graphic that highlights a given area or target. // //------------------------------------------------------------------------------ #ifndef TaligentSamples_HIGHLIGHTFEEDBACKSTYLE #define TaligentSamples_HIGHLIGHTFEEDBACKSTYLE class THighlightFeedbackStyle; #ifndef TaligentSamples_FEEDBACKSTYLE #include "FeedbackStyle.h" #endif #ifndef Taligent_RGBCOLOR #include #endif //................................................................................ class THighlightFeedbackStyle : public TFeedbackStyle { public: THighlightFeedbackStyle(); THighlightFeedbackStyle(const TRGBColor& color); THighlightFeedbackStyle(const GIntensity& intensity); THighlightFeedbackStyle(const TRGBColor& color, const GIntensity& intensity); virtual ~THighlightFeedbackStyle(); virtual MGraphic* DoCreateFeedback(const TGArea& area) const; private: TRGBColor fColor; GIntensity fIntensity; }; #endif