| 705 | } |
| 706 | |
| 707 | void SongBuilder::ControlValue::UpdateDropdownContents(ControlTarget* target) |
| 708 | { |
| 709 | if (target->mDisplayType == ControlTarget::DisplayType::Dropdown) |
| 710 | { |
| 711 | DropdownList* targetList = dynamic_cast<DropdownList*>(target->GetTarget()); |
| 712 | if (targetList) |
| 713 | targetList->CopyContentsTo(mValueSelector); |
| 714 | RadioButton* targetRadio = dynamic_cast<RadioButton*>(target->GetTarget()); |
| 715 | if (targetRadio) |
| 716 | targetRadio->CopyContentsTo(mValueSelector); |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | void SongBuilder::DropdownUpdated(DropdownList* list, int oldVal, double time) |
| 721 | { |
no test coverage detected