comparison layer/SingleColourLayer.h @ 978:64c2b3a4435a 3.0-integration

Merge from branch osx-retina
author Chris Cannam
date Fri, 26 Jun 2015 14:10:40 +0100
parents a5488775f880
children a34a2a25907c
comparison
equal deleted inserted replaced
977:f40ccbf228c2 978:64c2b3a4435a
69 virtual void toXml(QTextStream &stream, QString indent = "", 69 virtual void toXml(QTextStream &stream, QString indent = "",
70 QString extraAttributes = "") const; 70 QString extraAttributes = "") const;
71 71
72 virtual void setProperties(const QXmlAttributes &attributes); 72 virtual void setProperties(const QXmlAttributes &attributes);
73 73
74 virtual void setDefaultColourFor(View *v); 74 virtual void setDefaultColourFor(LayerGeometryProvider *v);
75 75
76 protected: 76 protected:
77 SingleColourLayer(); 77 SingleColourLayer();
78 virtual ~SingleColourLayer(); 78 virtual ~SingleColourLayer();
79 79
80 virtual QColor getBaseQColor() const; 80 virtual QColor getBaseQColor() const;
81 virtual QColor getBackgroundQColor(View *v) const; 81 virtual QColor getBackgroundQColor(LayerGeometryProvider *v) const;
82 virtual QColor getForegroundQColor(View *v) const; 82 virtual QColor getForegroundQColor(LayerGeometryProvider *v) const;
83 std::vector<QColor> getPartialShades(View *v) const; 83 std::vector<QColor> getPartialShades(LayerGeometryProvider *v) const;
84 84
85 virtual void flagBaseColourChanged() { } 85 virtual void flagBaseColourChanged() { }
86 virtual int getDefaultColourHint(bool /* darkBackground */, 86 virtual int getDefaultColourHint(bool /* darkBackground */,
87 bool & /* impose */) { return -1; } 87 bool & /* impose */) { return -1; }
88 88