Disable tempo Dial in Free Record Mode
parent
c2c1838756
commit
1574a000f2
|
@ -110,7 +110,10 @@ public:
|
|||
}
|
||||
cairo_line_to(cr, x+w/2,y+h/2);
|
||||
cairo_set_line_width(cr, lineWidth);
|
||||
cairo_set_source_rgba(cr, 1.0, 0.48, 0, 0.8);
|
||||
if(active())
|
||||
cairo_set_source_rgba(cr, 1.0, 0.48, 0, 0.8);
|
||||
else
|
||||
cairo_set_source_rgba(cr, 1.0, 0.48, 0, 0.4);
|
||||
cairo_stroke(cr);
|
||||
|
||||
cairo_restore( cr );
|
||||
|
|
|
@ -148,6 +148,7 @@ void handleGuiEvents()
|
|||
gm->metronomeEnable(!e.enable);
|
||||
gm->tapEnable(!e.enable);
|
||||
gm->beatLightEnable(!e.enable);
|
||||
gm->tempoDialEnable(!e.enable);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -396,6 +396,13 @@ void GMasterTrack::beatLightEnable(bool b) {
|
|||
}
|
||||
}
|
||||
|
||||
void GMasterTrack::tempoDialEnable(bool b) {
|
||||
if(b)
|
||||
tempoDial.activate();
|
||||
else
|
||||
tempoDial.deactivate();
|
||||
}
|
||||
|
||||
void
|
||||
GMasterTrack::setClipLength(int l)
|
||||
{
|
||||
|
|
|
@ -65,6 +65,7 @@ public:
|
|||
void setFreeRecMode(bool e);
|
||||
void tapEnable(bool b);
|
||||
void beatLightEnable(bool b);
|
||||
void tempoDialEnable(bool b);
|
||||
|
||||
Avtk::Volume *getInputVolume();
|
||||
Avtk::Volume* getVolume();
|
||||
|
|
Loading…
Reference in New Issue