| 765 | } |
| 766 | |
| 767 | void ColorSetting::SetUnits(ColorUnit newUnits) |
| 768 | { |
| 769 | if(hdr && newUnits != units) |
| 770 | { |
| 771 | units = newUnits; |
| 772 | std::string intensityLabel = GetIntensityLabel(label.c_str(), units); |
| 773 | intensity.SetLabel(intensityLabel.c_str()); |
| 774 | } |
| 775 | } |
| 776 | |
| 777 | // == Button ====================================================================================== |
| 778 |
nothing calls this directly
no test coverage detected