diff layer/SingleColourLayer.h @ 772:986f1670a502 tonioni

Merge from default branch
author Chris Cannam
date Wed, 14 May 2014 09:58:16 +0100
parents 8b614632568c
children a5488775f880
line wrap: on
line diff
--- a/layer/SingleColourLayer.h	Fri Apr 11 16:34:12 2014 +0100
+++ b/layer/SingleColourLayer.h	Wed May 14 09:58:16 2014 +0100
@@ -75,6 +75,7 @@
 
 protected:
     SingleColourLayer();
+    virtual ~SingleColourLayer();
 
     virtual QColor getBaseQColor() const;
     virtual QColor getBackgroundQColor(View *v) const;
@@ -91,6 +92,10 @@
     int m_colour;
     bool m_colourExplicitlySet;
     bool m_defaultColourSet;
+
+private:
+    void refColor();
+    void unrefColor();
 };
 
 #endif