From 385eb89cc4be18058f9e407563e9563a23a09792 Mon Sep 17 00:00:00 2001 From: timlinux Date: Fri, 6 Feb 2004 23:26:07 +0000 Subject: [PATCH] Set the triband legend pixmap to more muted colors. git-svn-id: http://svn.osgeo.org/qgis/trunk@723 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/qgsrasterlayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/qgsrasterlayer.cpp b/src/qgsrasterlayer.cpp index ccea9bd513a..6c5d035645f 100644 --- a/src/qgsrasterlayer.cpp +++ b/src/qgsrasterlayer.cpp @@ -1859,13 +1859,13 @@ QPixmap QgsRasterLayer::getLegendQPixmap(bool theWithNameFlag) myLegendQPixmap = QPixmap(3,1); myQPainter.begin(&myLegendQPixmap); //draw legend red part - myQPainter.setPen( QPen( QColor(127,0,0, QColor::Rgb), 0) ); + myQPainter.setPen( QPen( QColor(224,103,103, QColor::Rgb), 0) ); myQPainter.drawPoint( 0,0); //draw legend green part - myQPainter.setPen( QPen( QColor(0,127,0, QColor::Rgb), 0) ); + myQPainter.setPen( QPen( QColor(132,224,127, QColor::Rgb), 0) ); myQPainter.drawPoint( 1,0); //draw legend blue part - myQPainter.setPen( QPen( QColor(0,0,127, QColor::Rgb), 0) ); + myQPainter.setPen( QPen( QColor(127,160,224, QColor::Rgb), 0) ); myQPainter.drawPoint( 2,0); }