| 551 | } |
| 552 | |
| 553 | void ColorSetting::SetUnits(ColorUnit newUnits) |
| 554 | { |
| 555 | if(hdr && newUnits != units) |
| 556 | { |
| 557 | units = newUnits; |
| 558 | std::string intensityLabel = GetIntensityLabel(label.c_str(), units); |
| 559 | intensity.SetLabel(intensityLabel.c_str()); |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | // == Button ====================================================================================== |
| 564 |
nothing calls this directly
no test coverage detected