1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 00:18:37 -05: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); QPainter painter(&m_powerOverlayPixmap1);
painter.setRenderHints(QPainter::Antialiasing|QPainter::TextAntialiasing, false); painter.setRenderHints(QPainter::Antialiasing|QPainter::TextAntialiasing, false);
painter.fillRect(rect, QColor(0, 0, 0, 0x80)); 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.setFont(m_powerOverlayFont);
painter.drawText(QPointF(0, rect.height() - 2.0f), text); painter.drawText(QPointF(0, rect.height() - 2.0f), text);
painter.end(); painter.end();