projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ViewWidget: Added mouse_down
[pulseview.git]
/
pv
/
view
/
viewwidget.hpp
diff --git
a/pv/view/viewwidget.hpp
b/pv/view/viewwidget.hpp
index 1d50832b030c7856a9d71ec47a7c48db42fbc579..65434f65e1720913ab2589f3cfd932fe1c873b46 100644
(file)
--- 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.