Commit cac04d76 authored by Oliver Bock's avatar Oliver Bock
Browse files

Update copyright, no flashing

parent 12317e31
......@@ -552,19 +552,9 @@ void PulsarAnimationWidget::paintGL()
font.setBold(true);
font.setFamily("Arial");
font.setStyleStrategy((QFont::StyleStrategy) (QFont::OpenGLCompatible | QFont::PreferQuality));
renderText(10, 25, -100, QString("Copyright %1 2009-2013").arg(QChar(0x00A9)), font);
renderText(10, 25, -100, QString("Copyright %1 2017").arg(QChar(0x00A9)), font);
renderText(10, 10, -100, tr("Max Planck Institute for Gravitational Physics"), font);
// render pulse "flash"
if(m_showPulseFlashes) {
int profileIndex = (int) round(m_pulsarRotationAngle);
profileIndex = profileIndex == 360 ? 0 : profileIndex;
GLfloat flashAlpha = m_pulseProfile[profileIndex];
glColor4f(1.0, 1.0, 0.0, 0.75 * flashAlpha);
glTranslatef(0.0, 0.0, -1.0);
glRectf(0.0, 0.0, width(), height());
}
// restore original state
glMatrixMode(GL_PROJECTION);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment