mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-09 09:25:07 -04:00
Experimental slightly dimmer main frequency dial implmented for BladeRF plugin
This commit is contained in:
@@ -12,6 +12,20 @@ ColorMapper::ColorMapper(Theme theme) :
|
||||
{
|
||||
switch (m_theme)
|
||||
{
|
||||
case Gold:
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.0, QColor(0x40, 0x36, 0x2b)));
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.1, QColor(0xbf, 0xa3, 0x80)));
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.2, QColor(0xf0, 0xcc, 0xa1)));
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.5, QColor(0xff, 0xd9, 0xab)));
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.8, QColor(0xd1, 0xb2, 0x8c)));
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.9, QColor(0xa1, 0x89, 0x6c)));
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(1.0, QColor(0x40, 0x36, 0x2b)));
|
||||
m_foregroundColor = QColor(0x00, 0x00, 0x00);
|
||||
m_secondaryForegroundColor = QColor(0x0f, 0x0d, 0x0a);
|
||||
m_highlightColor = QColor(0xff, 0xd9, 0xab, 0x80);
|
||||
m_boundaryColor = QColor(0x21, 0x1c, 0x16);
|
||||
m_boundaryAlphaColor = QColor(0x00, 0x00, 0x00, 0x20);
|
||||
break;
|
||||
case ReverseGold:
|
||||
/*
|
||||
m_dialBackgroundcolorMap.push_back(std::pair<float, QColor>(0.0, QColor(0x97, 0x54, 0x00)));
|
||||
@@ -32,6 +46,8 @@ ColorMapper::ColorMapper(Theme theme) :
|
||||
m_foregroundColor = QColor(0xff, 0x8b, 0x00);
|
||||
m_secondaryForegroundColor = QColor(0xff, 0xc5, 0x80);
|
||||
m_highlightColor = QColor(0xbf, 0x69, 0x00, 0x80);
|
||||
m_boundaryColor = QColor(0x66, 0x38, 0x20);
|
||||
m_boundaryAlphaColor = QColor(0xff, 0x8b, 0x00, 0x20);
|
||||
break;
|
||||
case Normal:
|
||||
default:
|
||||
@@ -45,6 +61,8 @@ ColorMapper::ColorMapper(Theme theme) :
|
||||
m_foregroundColor = QColor(0x00, 0x00, 0x00);
|
||||
m_secondaryForegroundColor = QColor(0x10, 0x10, 0x10);
|
||||
m_highlightColor = QColor(0xff, 0x00, 0x00, 0x20);
|
||||
m_boundaryColor = QColor(0x20, 0x20, 0x20);
|
||||
m_boundaryAlphaColor = QColor(0x00, 0x00, 0x00, 0x20);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user