Add saturation and brightness values to display
This commit is contained in:
parent
ff8feceefc
commit
d7f7bf274a
@ -46,7 +46,9 @@ void Huey::render() {
|
||||
|
||||
// build hue text
|
||||
std::ostringstream hue_oss;
|
||||
hue_oss << "hue: " << std::setw(3) << static_cast<int>(_hue);
|
||||
hue_oss << "hue: " << std::setw(3) << static_cast<int>(_hue) << "°";
|
||||
hue_oss << ", saturation: " << static_cast<int>(hsb.s * 100) << "%";
|
||||
hue_oss << ", brightness: " << static_cast<int>(hsb.b * 100) << "%";
|
||||
|
||||
// build rgb text
|
||||
std::ostringstream rgb_oss;
|
||||
|
Loading…
x
Reference in New Issue
Block a user