I have a slider and based on some conditions I"d like to present the label of mouse-over-param event as an integer (1 to 16) or sometimes as a float number (-10.0f to 10.0f or 0.0f to 10.0f). So I want to change the display formatting on the fly.
oh, for sure. I don’t know if that’s old code… lots of times I do it like that because I have unit tests for Comp, but the way I do it I can’t unit test the module or the widget. I think Comp::modes is a static function on the class, so kind of same thing?