diff options
author | Samuel Fadel <samuel@nihil.ws> | 2023-05-23 11:22:33 +0200 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2023-05-23 11:22:33 +0200 |
commit | 0f34fd437efb936ef29ac91186321aa7251fbfb1 (patch) | |
tree | 271e994828f4bb19c35b2630f2705cb64b8d4552 /divergentcolorscale.h | |
parent | bedf6936885694688ddb8bd3452f6bd68ef8d29c (diff) |
Massive changes in initial port away from Qt.
Diffstat (limited to 'divergentcolorscale.h')
-rw-r--r-- | divergentcolorscale.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/divergentcolorscale.h b/divergentcolorscale.h index 9ab3be6..f782f36 100644 --- a/divergentcolorscale.h +++ b/divergentcolorscale.h @@ -7,15 +7,15 @@ class DivergentColorScale : public ColorScale { public: - DivergentColorScale(const QColor &color1, - const QColor &colorMiddle, - const QColor &color2); + DivergentColorScale(const Color &color1, + const Color &colorMiddle, + const Color &color2); enum BuiltinDivergentColorScale { RedGrayBlue }; - QColor color(float t) const; + Color color(float t) const; static DivergentColorScale builtin(BuiltinDivergentColorScale); static DivergentColorScale *builtin(BuiltinDivergentColorScale, void *); |