Mercurial > hg > svgui
comparison layer/ColourMapper.cpp @ 1016:6a8084c72e7a colourschemes
Tidy
author | Chris Cannam |
---|---|
date | Tue, 19 Jan 2016 17:18:38 +0000 |
parents | 352fa17af9f0 |
children | 9c890b7dfa83 |
comparison
equal
deleted
inserted
replaced
1015:352fa17af9f0 | 1016:6a8084c72e7a |
---|---|
38 "#ffffff", "#ffff00", "#f7fcf0", "#e0f3db", "#ccebc5", "#a8ddb5", | 38 "#ffffff", "#ffff00", "#f7fcf0", "#e0f3db", "#ccebc5", "#a8ddb5", |
39 "#7bccc4", "#4eb3d3", "#2b8cbe", "#0868ac", "#084081", "#042040" | 39 "#7bccc4", "#4eb3d3", "#2b8cbe", "#0868ac", "#084081", "#042040" |
40 }); | 40 }); |
41 | 41 |
42 static vector<QColor> cherryPie = convertStrings({ | 42 static vector<QColor> cherryPie = convertStrings({ |
43 "#f7f7f7", | 43 "#f7f7f7", "#fddbc7", "#f4a582", "#d6604d", "#b2182b", "#dd3497", |
44 "#fddbc7", | 44 "#ae017e", "#7a0177", "#49006a" |
45 "#f4a582", | |
46 "#d6604d", | |
47 "#b2182b", | |
48 "#dd3497", | |
49 "#ae017e", | |
50 "#7a0177", | |
51 "#49006a" | |
52 // "#d1e5f0", | |
53 // "#92c5de", | |
54 // "#4393c3", | |
55 // "#2166ac", | |
56 | |
57 }); | 45 }); |
58 | 46 |
59 static void | 47 static void |
60 mapDiscrete(double norm, vector<QColor> &colours, double &r, double &g, double &b) | 48 mapDiscrete(double norm, vector<QColor> &colours, double &r, double &g, double &b) |
61 { | 49 { |