/* Copyright (C) 2014-2019 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. dnSpy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with dnSpy. If not, see . */ using System.Windows; using System.Windows.Input; namespace dnSpy.Contracts.Hex.Editor { /// /// Mouse processor /// public abstract class HexMouseProcessor { /// /// Constructor /// protected HexMouseProcessor() { } /// /// Mouse left button down preprocess handler /// /// Event args public virtual void PreprocessMouseLeftButtonDown(MouseButtonEventArgs e) { } /// /// Mouse left button down postprocess handler /// /// Event args public virtual void PostprocessMouseLeftButtonDown(MouseButtonEventArgs e) { } /// /// Mouse right button down preprocess handler /// /// Event args public virtual void PreprocessMouseRightButtonDown(MouseButtonEventArgs e) { } /// /// Mouse right button down postprocess handler /// /// Event args public virtual void PostprocessMouseRightButtonDown(MouseButtonEventArgs e) { } /// /// Mouse left button up preprocess handler /// /// Event args public virtual void PreprocessMouseLeftButtonUp(MouseButtonEventArgs e) { } /// /// Mouse left button up postprocess handler /// /// Event args public virtual void PostprocessMouseLeftButtonUp(MouseButtonEventArgs e) { } /// /// Right button up preprocess handler /// /// Event args public virtual void PreprocessMouseRightButtonUp(MouseButtonEventArgs e) { } /// /// Right button up postprocess handler /// /// Event args public virtual void PostprocessMouseRightButtonUp(MouseButtonEventArgs e) { } /// /// Mouse up preprocess handler /// /// Event args public virtual void PreprocessMouseUp(MouseButtonEventArgs e) { } /// /// Mouse up postprocess handler /// /// Event args public virtual void PostprocessMouseUp(MouseButtonEventArgs e) { } /// /// Mouse down preprocess handler /// /// Event args public virtual void PreprocessMouseDown(MouseButtonEventArgs e) { } /// /// Mouse down postprocess handler /// /// Event args public virtual void PostprocessMouseDown(MouseButtonEventArgs e) { } /// /// Mouse move preprocess handler /// /// Event args public virtual void PreprocessMouseMove(MouseEventArgs e) { } /// /// Mouse move postprocess handler /// /// Event args public virtual void PostprocessMouseMove(MouseEventArgs e) { } /// /// Mouse wheel preprocess handler /// /// Event args public virtual void PreprocessMouseWheel(MouseWheelEventArgs e) { } /// /// Mouse wheel postprocess handler /// /// Event args public virtual void PostprocessMouseWheel(MouseWheelEventArgs e) { } /// /// Mouse enter preprocess handler /// /// Event args public virtual void PreprocessMouseEnter(MouseEventArgs e) { } /// /// Mouse enter postprocess handler /// /// Event args public virtual void PostprocessMouseEnter(MouseEventArgs e) { } /// /// Mouse leave preprocess handler /// /// Event args public virtual void PreprocessMouseLeave(MouseEventArgs e) { } /// /// Mouse leave postprocess handler /// /// Event args public virtual void PostprocessMouseLeave(MouseEventArgs e) { } /// /// Drag leave preprocess handler /// /// Event args public virtual void PreprocessDragLeave(DragEventArgs e) { } /// /// Drag leave postprocess handler /// /// Event args public virtual void PostprocessDragLeave(DragEventArgs e) { } /// /// Drag over preprocess handler /// /// Event args public virtual void PreprocessDragOver(DragEventArgs e) { } /// /// Drag over postprocess handler /// /// Event args public virtual void PostprocessDragOver(DragEventArgs e) { } /// /// Drag enter preprocess handler /// /// Event args public virtual void PreprocessDragEnter(DragEventArgs e) { } /// /// Drag enter postprocess handler /// /// Event args public virtual void PostprocessDragEnter(DragEventArgs e) { } /// /// Drop preprocess handler /// /// Event args public virtual void PreprocessDrop(DragEventArgs e) { } /// /// Drop postprocess handler /// /// Event args public virtual void PostprocessDrop(DragEventArgs e) { } /// /// Query continue drag preprocess handler /// /// Event args public virtual void PreprocessQueryContinueDrag(QueryContinueDragEventArgs e) { } /// /// Query continue drag postprocess handler /// /// Event args public virtual void PostprocessQueryContinueDrag(QueryContinueDragEventArgs e) { } /// /// Give feedback preprocess handler /// /// Event args public virtual void PreprocessGiveFeedback(GiveFeedbackEventArgs e) { } /// /// Give feedback postprocess handler /// /// Event args public virtual void PostprocessGiveFeedback(GiveFeedbackEventArgs e) { } /// /// Touch down preprocess handler /// /// Event args public virtual void PreprocessTouchDown(TouchEventArgs e) { } /// /// Touch down postprocess handler /// /// Event args public virtual void PostprocessTouchDown(TouchEventArgs e) { } /// /// Touch up preprocess handler /// /// Event args public virtual void PreprocessTouchUp(TouchEventArgs e) { } /// /// Touch up postprocess handler /// /// Event args public virtual void PostprocessTouchUp(TouchEventArgs e) { } /// /// Stylus system gesture preprocess handler /// /// Event args public virtual void PreprocessStylusSystemGesture(StylusSystemGestureEventArgs e) { } /// /// Stylus system gesture postprocess handler /// /// Event args public virtual void PostprocessStylusSystemGesture(StylusSystemGestureEventArgs e) { } /// /// Manipulation inertia starting preprocess handler /// /// Event args public virtual void PreprocessManipulationInertiaStarting(ManipulationInertiaStartingEventArgs e) { } /// /// Manipulation inertia starting postprocess handler /// /// Event args public virtual void PostprocessManipulationInertiaStarting(ManipulationInertiaStartingEventArgs e) { } /// /// Manipulation starting preprocess handler /// /// Event args public virtual void PreprocessManipulationStarting(ManipulationStartingEventArgs e) { } /// /// Manipulation starting postprocess handler /// /// Event args public virtual void PostprocessManipulationStarting(ManipulationStartingEventArgs e) { } /// /// Manipulation delta preprocess handler /// /// Event args public virtual void PreprocessManipulationDelta(ManipulationDeltaEventArgs e) { } /// /// Manipulation delta postprocess handler /// /// Event args public virtual void PostprocessManipulationDelta(ManipulationDeltaEventArgs e) { } /// /// Manipulation completed preprocess handler /// /// Event args public virtual void PreprocessManipulationCompleted(ManipulationCompletedEventArgs e) { } /// /// Manipulation completed postprocess handler /// /// Event args public virtual void PostprocessManipulationCompleted(ManipulationCompletedEventArgs e) { } } }