MCPcopy Create free account
hub / github.com/TheWaveWarden/odin2 / forceValueTreeOntoComponents

Method forceValueTreeOntoComponents

Source/gui/FilterComponent.cpp:528–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528void FilterComponent::forceValueTreeOntoComponents(ValueTree p_tree, int p_index) {
529 m_comb_plus_minus.setValue(m_value_tree.state.getChildWithName("misc")[(Identifier)("fil" + m_filter_number + "_comb_polarity")]);
530
531 m_vowel_left.setValue(m_value_tree.state.getChildWithName("misc")[m_vowel_left_identifier]);
532 m_vowel_right.setValue(m_value_tree.state.getChildWithName("misc")[m_vowel_right_identifier]);
533}
534
535void FilterComponent::resized() {
536 GET_LOCAL_AREA(m_vowel1_label, "FilVowel1Label");

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected