MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / SetUnits

Method SetUnits

SampleFramework11/v1.02/Settings.cpp:553–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553void 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

Callers

nothing calls this directly

Calls 2

GetIntensityLabelFunction · 0.85
SetLabelMethod · 0.80

Tested by

no test coverage detected