Mercurial > hg > svgui
comparison widgets/Panner.h @ 27:38fe0ea9e46e
* Some fixes to waveform layer greyscaling
* Tidying in panner class
author | Chris Cannam |
---|---|
date | Fri, 03 Feb 2006 17:30:47 +0000 |
parents | 4d5d9aba406b |
children | 01ab51f72e84 |
comparison
equal
deleted
inserted
replaced
26:94381052a6c9 | 27:38fe0ea9e46e |
---|---|
51 QPoint m_clickPos; | 51 QPoint m_clickPos; |
52 QPoint m_mousePos; | 52 QPoint m_mousePos; |
53 bool m_clickedInRange; | 53 bool m_clickedInRange; |
54 size_t m_dragCentreFrame; | 54 size_t m_dragCentreFrame; |
55 | 55 |
56 typedef std::pair<size_t, int> WidgetRec; // centre, zoom (-1 = invalid) | 56 typedef std::set<void *> WidgetSet; |
57 typedef std::map<void *, WidgetRec> WidgetMap; | 57 WidgetSet m_widgets; |
58 WidgetMap m_widgets; | |
59 }; | 58 }; |
60 | 59 |
61 #endif | 60 #endif |
62 | 61 |