[Kst] kdeextragear-2/kst/kst
Rick Chern
rchern at interchange.ubc.ca
Tue Jul 13 21:29:35 CEST 2004
CVS commit by rchern:
Use foreground and background colours to draw tieboxes
M +2 -1 kst2dplot.cpp 1.145
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.144:1.145
@@ -902,4 +902,5 @@ void Kst2DPlot::updateTieBox(QPainter& p
//kdDebug() << "Update tie box for " << tagName() << endl;
QRect tr = GetTieBoxRegion();
+ p.setPen(foregroundColor());
if (isTied()) {
p.fillRect(tr, QColor("slate gray"));
@@ -913,5 +914,5 @@ void Kst2DPlot::updateTieBox(QPainter& p
tr.setSize(sz);
tr.moveTopLeft(tr.topLeft() + QPoint(3*tr.width()/4, 3*tr.height()/4));
- p.fillRect(tr, Qt::black);
+ p.fillRect(tr, foregroundColor());
}
}
More information about the Kst
mailing list