UI: Use System theme volume meter colors

These comments do not actually match the color values here:
 * (0xff, 0xff, 0xff) is white
 * (0xcc, 0xcc, 0xcc) is light gray

Instead of just fixing the comments, use the values from the System
theme and also correct the comments.
This commit is contained in:
Ryan Foster
2024-04-18 13:59:44 -04:00
parent 8a7ad10262
commit eb65ebdc5e
+2 -2
View File
@@ -853,8 +853,8 @@ VolumeMeter::VolumeMeter(QWidget *parent, obs_volmeter_t *obs_volmeter,
clipColor.setRgb(0xff, 0xff, 0xff); // Bright white
magnitudeColor.setRgb(0x00, 0x00, 0x00); // Black
majorTickColor.setRgb(0xff, 0xff, 0xff); // Black
minorTickColor.setRgb(0xcc, 0xcc, 0xcc); // Black
majorTickColor.setRgb(0x00, 0x00, 0x00); // Black
minorTickColor.setRgb(0x32, 0x32, 0x32); // Dark gray
minimumLevel = -60.0; // -60 dB
warningLevel = -20.0; // -20 dB
errorLevel = -9.0; // -9 dB