diff 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
line wrap: on
line diff
--- a/widgets/Panner.h	Thu Feb 02 17:31:08 2006 +0000
+++ b/widgets/Panner.h	Fri Feb 03 17:30:47 2006 +0000
@@ -53,9 +53,8 @@
     bool m_clickedInRange;
     size_t m_dragCentreFrame;
     
-    typedef std::pair<size_t, int> WidgetRec; // centre, zoom (-1 = invalid)
-    typedef std::map<void *, WidgetRec> WidgetMap;
-    WidgetMap m_widgets;
+    typedef std::set<void *> WidgetSet;
+    WidgetSet m_widgets;
 };
 
 #endif