| 828 | } |
| 829 | |
| 830 | void SongBuilder::LoadLayout(const ofxJSONElement& moduleInfo) |
| 831 | { |
| 832 | mModuleSaveData.LoadBool("reset_transport_every_sequencer_scene", moduleInfo, true); |
| 833 | |
| 834 | if (IsSpawningOnTheFly(moduleInfo)) |
| 835 | { |
| 836 | mScenes.push_back(new SongScene("off")); |
| 837 | mScenes.push_back(new SongScene("intro")); |
| 838 | mScenes.push_back(new SongScene("verse")); |
| 839 | mScenes.push_back(new SongScene("prechorus")); |
| 840 | mScenes.push_back(new SongScene("chorus")); |
| 841 | mScenes.push_back(new SongScene("bridge")); |
| 842 | mScenes.push_back(new SongScene("outro")); |
| 843 | for (auto* scene : mScenes) |
| 844 | scene->CreateUIControls(this); |
| 845 | |
| 846 | RefreshSequencerDropdowns(); |
| 847 | } |
| 848 | |
| 849 | SetUpFromSaveData(); |
| 850 | } |
| 851 | |
| 852 | void SongBuilder::SetUpFromSaveData() |
| 853 | { |
nothing calls this directly
no test coverage detected