| 459 | } |
| 460 | |
| 461 | void CtrlrMIDIBuffer::comboBoxChanged (juce::ComboBox* comboBoxThatHasChanged) |
| 462 | { |
| 463 | //[UsercomboBoxChanged_Pre] |
| 464 | //[/UsercomboBoxChanged_Pre] |
| 465 | |
| 466 | if (comboBoxThatHasChanged == bufferSource.get()) |
| 467 | { |
| 468 | //[UserComboBoxCode_bufferSource] -- add your combo box handling code here.. |
| 469 | switch (bufferSource->getSelectedId()) |
| 470 | { |
| 471 | case 1: |
| 472 | break; |
| 473 | case 2: |
| 474 | loadBinFile(File()); |
| 475 | break; |
| 476 | case 3: |
| 477 | loadTextFile(File()); |
| 478 | break; |
| 479 | default: |
| 480 | break; |
| 481 | } |
| 482 | //[/UserComboBoxCode_bufferSource] |
| 483 | } |
| 484 | |
| 485 | //[UsercomboBoxChanged_Post] |
| 486 | //[/UsercomboBoxChanged_Post] |
| 487 | } |
| 488 | |
| 489 | void CtrlrMIDIBuffer::labelTextChanged (juce::Label* labelThatHasChanged) |
| 490 | { |
nothing calls this directly
no test coverage detected