/**** * * Class DrawingViewInterface is a minor specialization of DrawingView that is * compatible with an IdrawInterface, q.v. The specialization redefines the * Handle function so that it does not pass events to Tools, but rather back to * IdrawInterface, where they can be handled appropriately. See the * description of IdrawInterface::Handle for further info. * */ #ifndef drawingviewinterfaceIncluded #define drawingviewinterfaceIncluded #include "drawingview.h" #include "idraw-interface.h" class DrawingViewInterface : public DrawingView { public: DrawingViewInterface(Page* p, IdrawInterface* ii); void Handle(Event& e); protected: IdrawInterface* ii; }; #endif