diff widgets/Panner.h @ 174:96b8a790730a

* Wire up the Panner widget in the pane, and do some tidying in Pane
author Chris Cannam
date Thu, 19 Oct 2006 13:05:39 +0000
parents 9c40dc10c88c
children 42118892f428
line wrap: on
line diff
--- a/widgets/Panner.h	Thu Oct 19 09:57:27 2006 +0000
+++ b/widgets/Panner.h	Thu Oct 19 13:05:39 2006 +0000
@@ -28,6 +28,9 @@
 
     void setDefaultRectCentre(float, float);
 
+    void setThumbColour(QColor colour);
+    void setAlpha(int backgroundAlpha, int thumbAlpha);
+
     virtual void mousePressEvent(QMouseEvent *e);
     virtual void mouseDoubleClickEvent(QMouseEvent *e);
     virtual void mouseMoveEvent(QMouseEvent *e);
@@ -102,6 +105,10 @@
     float m_defaultCentreY;
     bool m_defaultsSet;
 
+    QColor m_thumbColour;
+    int m_backgroundAlpha;
+    int m_thumbAlpha;
+
     float centreX() const { return m_rectX + m_rectWidth/2; }
     float centreY() const { return m_rectY + m_rectHeight/2; }