MCPcopy Create free account
hub / github.com/amsynth/amsynth / getLabelText

Method getLabelText

src/core/gui/Controls.cpp:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91, label_(label) {}
92
93juce::String Knob::getLabelText() {
94 char text[32] = "";
95 return parameter_get_display(parameter.getId(), parameter.getValue(), text, sizeof text) ? text : "";
96}
97
98void Knob::mouseEnter(const juce::MouseEvent &) { label_->show(this, getLabelText()); }
99

Callers

nothing calls this directly

Calls 3

parameter_get_displayFunction · 0.85
getIdMethod · 0.80
getValueMethod · 0.45

Tested by

no test coverage detected