diff options
author | Tim E. Real <termtech@rogers.com> | 2011-09-09 23:36:08 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-09-09 23:36:08 +0000 |
commit | a1ad56982605c5f48d52c046786412b0dfde8f38 (patch) | |
tree | 43a8c75531661cfc9677b9027853a2952ea1d23e /muse2/muse/arranger | |
parent | efc7169b5f31ca13f970ae19e3d41c361acace41 (diff) |
Removed Audio::msgShowInstrumentGui and msgShowInstrumentNativeGui.
Diffstat (limited to 'muse2/muse/arranger')
-rw-r--r-- | muse2/muse/arranger/tlist.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/muse2/muse/arranger/tlist.cpp b/muse2/muse/arranger/tlist.cpp index db83ad71..80deb2df 100644 --- a/muse2/muse/arranger/tlist.cpp +++ b/muse2/muse/arranger/tlist.cpp @@ -707,11 +707,13 @@ void TList::oportPropertyPopupMenu(Track* t, int x, int y) //if (ract == act) { if (ract == gact) { bool show = !synth->guiVisible(); - audio->msgShowInstrumentGui(synth, show); + //audio->msgShowInstrumentGui(synth, show); + synth->showGui(show); } else if (ract == nact) { bool show = !synth->nativeGuiVisible(); - audio->msgShowInstrumentNativeGui(synth, show); + //audio->msgShowInstrumentNativeGui(synth, show); + synth->showNativeGui(show); } delete p; return; @@ -758,11 +760,13 @@ void TList::oportPropertyPopupMenu(Track* t, int x, int y) //if (ract == act) { if (ract == gact) { bool show = !port->guiVisible(); - audio->msgShowInstrumentGui(port->instrument(), show); + //audio->msgShowInstrumentGui(port->instrument(), show); + port->instrument()->showGui(show); } else if (ract == nact) { bool show = !port->nativeGuiVisible(); - audio->msgShowInstrumentNativeGui(port->instrument(), show); + //audio->msgShowInstrumentNativeGui(port->instrument(), show); + port->instrument()->showNativeGui(show); } delete p; |