Commit 6de9fa14 authored by Oliver Bock's avatar Oliver Bock

Added copyright info to rendered output

* Requested by Bruce
* FIXME: ugly font (characters don't line up properly)
parent 5714a733
......@@ -487,6 +487,16 @@ void PulsarAnimationWidget::paintGL()
{
glLoadIdentity();
// draw copyright info
glColor4f(1.0f, 1.0f, 1.0f, 0.5f);
QFont font;
font.setPointSize(11);
font.setBold(true);
font.setFixedPitch(true);
font.setStyleHint(QFont::SansSerif, (QFont::StyleStrategy) (QFont::OpenGLCompatible | QFont::PreferQuality));
renderText(10, 25, -100, QString::fromLocal8Bit("Copyright © 2009-2010"), font);
renderText(10, 10, -100, QString::fromLocal8Bit("Max-Planck-Insitut für Gravitationsphysik"), font);
// draw backdrop (independent parallel projection)
glColor3f(1.0f, 1.0f, 1.0f);
glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_specular);
......
......@@ -369,7 +369,7 @@ void PulsatingScience::on_actionAbout_triggered()
"%3: Oliver Bock, Benjamin Knispel<br><br>"
"%4<br>"
"(%5 ESO/IDA/Danish 1.5 m/R.Gendler, J-E. Ovaldsen, C. Th&ouml;ne, C. Feron)<br><br>"
"%6: GNU General Public License (Version 3)<br><br>"
"%6: GNU General Public License (v3)<br><br>"
"Copyright &copy; 2009-2010 Max-Planck-Institut f&uuml;r Gravitationsphysik";
content = content.arg(
......
Markdown is supported
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