Changeset 9383 in ntrip for trunk/BNC/qwt/qwt_color_map.h
- Timestamp:
- Mar 19, 2021, 9:15:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_color_map.h
r8127 r9383 107 107 108 108 QwtLinearColorMap( QwtColorMap::Format = QwtColorMap::RGB ); 109 QwtLinearColorMap( const QColor & from, const QColor &to,109 QwtLinearColorMap( const QColor &color1, const QColor &color2, 110 110 QwtColorMap::Format = QwtColorMap::RGB ); 111 111 … … 185 185 { 186 186 const unsigned int index = colorIndex( interval, value ); 187 return colorTable( interval )[index]; // slow 187 188 const QVector<QRgb> rgbTable = colorTable( interval ); 189 return rgbTable[index]; // slow 188 190 } 189 191 }
Note:
See TracChangeset
for help on using the changeset viewer.