X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fviewwidget.hpp;fp=pv%2Fview%2Fviewwidget.hpp;h=65434f65e1720913ab2589f3cfd932fe1c873b46;hb=1f1edc092680e9182be07a760ad03d00b8c5ca06;hp=1d50832b030c7856a9d71ec47a7c48db42fbc579;hpb=803cdac41caf71af9298e3f612468aa522a107d5;p=pulseview.git diff --git a/pv/view/viewwidget.hpp b/pv/view/viewwidget.hpp index 1d50832..65434f6 100644 --- a/pv/view/viewwidget.hpp +++ b/pv/view/viewwidget.hpp @@ -52,6 +52,11 @@ protected: */ bool accept_drag() const; + /** + * Returns true if the mouse button is down. + */ + bool mouse_down() const; + /** * Drag the dragging items by the delta offset. * @param delta the drag offset in pixels.