| 89 | |
| 90 | struct ScaleParamQuantity : ParamQuantity { |
| 91 | std::string getDisplayValueString() override { |
| 92 | int index = static_cast<int>(std::round(getValue())); |
| 93 | index = clamp(index, 0, R8::NUM_AVAILABLE_SCALES - 1); |
| 94 | return befaco::scale_names[index]; |
| 95 | } |
| 96 | }; |
| 97 | |
| 98 | struct StyleParamQuantity : ParamQuantity { |
nothing calls this directly
no outgoing calls
no test coverage detected