Mercurial > hg > svgui
diff widgets/Pane.h @ 17:0183ebb725ca
* Add ability to create empty layers for editing
* Add first basic editing capability (adding points to a time instant layer)
* Add various keyboard and mouse shortcuts for navigation &c
* Add ability to resize a selection by dragging its edges
* Add maximum zoom level
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2006 16:15:40 +0000 |
parents | 01849cd277e6 |
children | 651e4e868bcc |
line wrap: on
line diff
--- a/widgets/Pane.h Thu Jan 26 11:56:09 2006 +0000 +++ b/widgets/Pane.h Thu Jan 26 16:15:40 2006 +0000 @@ -53,6 +53,8 @@ virtual void leaveEvent(QEvent *e); virtual void wheelEvent(QWheelEvent *e); + Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight); + bool m_identifyFeatures; QPoint m_identifyPoint; QPoint m_clickPos; @@ -60,6 +62,8 @@ bool m_clickedInRange; bool m_shiftPressed; bool m_ctrlPressed; + bool m_navigating; + bool m_resizing; size_t m_dragCentreFrame; bool m_centreLineVisible; size_t m_selectionStartFrame;