mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
GLScope: use white characters for power display overlays
This commit is contained in:
parent
98125ce93a
commit
fdfb29d432
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user