MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / DropdownUpdated

Method DropdownUpdated

Source/EffectChain.cpp:508–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506}
507
508void EffectChain::DropdownUpdated(DropdownList* list, int oldVal, double time)
509{
510 if (list == mEffectSpawnList)
511 {
512 if (TheSynth->GetTopModalFocusItem() == mEffectSpawnList->GetModalDropdown())
513 {
514 AddEffect(mEffectTypesToSpawn[mSpawnIndex], mEffectTypesToSpawn[mSpawnIndex], K(onTheFly));
515 mSpawnIndex = -1;
516 }
517 }
518}
519
520std::vector<IUIControl*> EffectChain::ControlsToIgnoreInSaveState() const
521{

Callers

nothing calls this directly

Calls 2

GetTopModalFocusItemMethod · 0.80
GetModalDropdownMethod · 0.80

Tested by

no test coverage detected