comparison layer/SingleColourLayer.h @ 1216:dc2af6616c83

Merge from branch 3.0-integration
author Chris Cannam
date Fri, 13 Jan 2017 10:29:50 +0000
parents a5488775f880
children a34a2a25907c
comparison
equal deleted inserted replaced
1048:e8102ff5573b 1216:dc2af6616c83
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