zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit bc59d0f0c1939c48e3c5c86d3d735dfcf5faf82e
parent 5973ff7d7f11949430e467ac7c7edc425b9a96c4
Author: paulnasca <paulnasca>
Date:   Thu, 30 Sep 2004 19:03:32 +0000

*** empty log message ***

Diffstat:
Msrc/UI/MasterUI.fl | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/UI/MasterUI.fl b/src/UI/MasterUI.fl @@ -367,7 +367,8 @@ panellistitemgroup->redraw();} {} decl {BankUI *bankui;} {} } -class MasterUI {} { +class MasterUI {selected +} { Function {make_window()} {} { Fl_Window masterwindow { label zynaddsubfx @@ -1154,7 +1155,7 @@ if (result==-10) fl_alert("Error: Could not load the file\\nbecause it is not an refresh_master_ui(); masterwindow->show(); config.cfg.UserInterfaceMode=1; -};} selected +};} xywh {0 0 100 20} } } @@ -1179,7 +1180,8 @@ bankui->show();} } Fl_Choice partrcv { label {Midi Channel Receive} - callback {master->part[npart]->Prcvchn=(int) o->value(); + callback {virkeys->relaseallkeys(0); +master->part[npart]->Prcvchn=(int) o->value(); virkeys->midich=(int) o->value();} open tooltip {receive from Midi channel} xywh {150 157 75 18} down_box BORDER_BOX labelsize 13 align 130 textfont 1 code0 {char nrstr[10]; for(int i=0;i<NUM_MIDI_CHANNELS;i++){sprintf(nrstr,"Ch%d",i+1);if (i!=9) o->add(nrstr); else o->add("Dr10");};} @@ -1511,7 +1513,8 @@ simpleglobalfinedetuneslider->do_callback();} } Fl_Counter simplenpartcounter { label Part - callback {npartcounter->value(o->value()); + callback {virkeys->relaseallkeys(0); +npartcounter->value(o->value()); npart=(int) o->value()-1; simplerefresh();