1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-01 01:06:35 -04:00

GLScope: use white characters for power display overlays

This commit is contained in:
f4exb 2015-11-01 22:49:08 +01:00
parent 98125ce93a
commit fdfb29d432

View File

@ -827,7 +827,7 @@ void GLScope::drawPowerOverlay()
QPainter painter(&m_powerOverlayPixmap1);
painter.setRenderHints(QPainter::Antialiasing|QPainter::TextAntialiasing, false);
painter.fillRect(rect, QColor(0, 0, 0, 0x80));
painter.setPen(QColor(0x80, 0xff, 0x80, 0x80));
painter.setPen(QColor(0xff, 0xff, 0xff, 0x80));
painter.setFont(m_powerOverlayFont);
painter.drawText(QPointF(0, rect.height() - 2.0f), text);
painter.end();