commit f642f78b906709c98e23d97ebf529a2d0c76e9f5
parent 9092e7a36562273c6581b5dfa2f3977dbb57edd0
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sat, 1 Nov 2014 10:57:47 -0400
Fix some dispatch type bugs
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/UI/Fl_Osc_Counter.H b/src/UI/Fl_Osc_Counter.H
@@ -7,7 +7,7 @@ class Fl_Osc_Counter: public Fl_Counter, public Fl_Osc_Widget
{
public:
Fl_Osc_Counter(int x, int y, int w, int h, const char *label=0);
- void init(const char *path_, char type_ = 'c');
+ void init(const char *path_, char type_ = 'i');
void OSC_value(char);
void OSC_value(int);
using Fl_Osc_Widget::OSC_value;
diff --git a/src/UI/PartUI.fl b/src/UI/PartUI.fl
@@ -370,8 +370,8 @@ if (event==FL_RIGHT_MOUSE){
}
Fl_Button {} {
label R
- callback {o->oscWrite("Pminkey", "c", 0);
- o->oscWrite("Pmaxkey", "c", 127);}
+ callback {o->oscWrite("Pminkey", "i", 0);
+ o->oscWrite("Pmaxkey", "i", 127);}
tooltip {reset the minimum key to 0 and maximum key to 127} xywh {330 155 15 12} box THIN_UP_BOX labelfont 1 labelsize 10
class Fl_Osc_Button
}
@@ -389,6 +389,7 @@ if (event==FL_RIGHT_MOUSE){
val=atoi(o->text());
osc->write("/setkeylimit", "i", val);} open
tooltip {Key Limit} xywh {215 155 50 20} down_box BORDER_BOX labelsize 10 align 8 textfont 1 textsize 10
+ class Fl_Osc_Choice
} {}
Fl_Choice {} {
label {Mode :}
diff --git a/src/UI/SUBnoteUI.fl b/src/UI/SUBnoteUI.fl
@@ -388,7 +388,7 @@ bandwidthsettingsui->redraw();}
Fl_Value_Slider bwidthscale {
label {B.Width Scale}
tooltip {How much I increase the BandWidth according to lower/higher harmonics} xywh {345 40 90 15} type {Horz Knob} box NO_BOX labelsize 10 align 1 minimum -64 maximum 63 step 1
- code0 {o->init("Pbwscale");}
+ code0 {o->init("Pbwscale",'i');}
class Fl_Osc_Slider
}
}