mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 18:57:10 +00:00
Reverse background gradient and make it slightly darker.
This commit is contained in:
parent
a4a7a9dde3
commit
75888562d5
@ -1102,8 +1102,8 @@ void CPlotter::drawOverlay()
|
||||
//m_OverlayPixmap.fill(Qt::black);
|
||||
// fill background with gradient
|
||||
QLinearGradient gradient(0, 0, 0 ,h);
|
||||
gradient.setColorAt(0, QColor(0x20,0x20,0x20,0xFF));
|
||||
gradient.setColorAt(1, QColor(0x4F,0x4F,0x4F,0xFF));
|
||||
gradient.setColorAt(0, QColor(0x2F,0x2F,0x2F,0xFF));
|
||||
gradient.setColorAt(1, QColor(0x00,0x00,0x00,0xFF));
|
||||
painter.setBrush(gradient);
|
||||
painter.drawRect(0, 0, w, h);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user