LabelMgr.cpp   LabelMgr.cpp 
skipping to change at line 318 skipping to change at line 318
screenX(x) screenX(x)
{ {
QFontMetrics metrics(font); QFontMetrics metrics(font);
screenY = StelApp::getInstance().getCore()->getProjection2d()->getVi ewportHeight() - y - metrics.height(); screenY = StelApp::getInstance().getCore()->getProjection2d()->getVi ewportHeight() - y - metrics.height();
} }
ScreenLabel::~ScreenLabel() ScreenLabel::~ScreenLabel()
{ {
} }
bool ScreenLabel::draw(StelCore* core, StelPainter& sPainter) bool ScreenLabel::draw(StelCore*, StelPainter& sPainter)
{ {
if (labelFader.getInterstate() <= 0.0) if (labelFader.getInterstate() <= 0.0)
return false; return false;
sPainter.setColor(labelColor[0], labelColor[1], labelColor[2], label Fader.getInterstate()); sPainter.setColor(labelColor[0], labelColor[1], labelColor[2], label Fader.getInterstate());
sPainter.setFont(labelFont); sPainter.setFont(labelFont);
sPainter.drawText(screenX, screenY, labelText, 0, 0, 0, false); sPainter.drawText(screenX, screenY, labelText, 0, 0, 0, false);
return true; return true;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/