mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -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);
|
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user