Change Speed - Make 3 member variables private and re-disable FromTime menu.
This commit is contained in:
parent
7c3f355c7a
commit
e159414c9d
|
@ -432,6 +432,7 @@ void ChangeSpeedDialog::PopulateOrExchange(ShuttleGui & S)
|
|||
mpFromLengthCtrl->SetToolTip(tip);
|
||||
#endif
|
||||
mpFromLengthCtrl->SetReadOnly(true);
|
||||
mpFromLengthCtrl->EnableMenu(false);
|
||||
|
||||
|
||||
S.AddPrompt(_("New Length") + wxString(wxT(":")));
|
||||
|
|
|
@ -126,16 +126,18 @@ class ChangeSpeedDialog : public EffectDialog
|
|||
NumericTextCtrl * mpToLengthCtrl;
|
||||
double mRate;
|
||||
|
||||
// private effect parameters
|
||||
int mToVinyl; // to standard vinyl speed (rpm)
|
||||
double mToLength; // target length of selection
|
||||
wxString mFormat; // time control format
|
||||
|
||||
public:
|
||||
// effect parameters
|
||||
double m_PercentChange; // percent change to apply to tempo
|
||||
// -100% is meaningless, but sky's the upper limit.
|
||||
// Slider is (-100, 200], but textCtrls can set higher.
|
||||
int mFromVinyl; // from standard vinyl speed (rpm)
|
||||
int mToVinyl; // to standard vinyl speed (rpm)
|
||||
double mFromLength; // current selection length
|
||||
double mToLength; // target length of selection
|
||||
wxString mFormat; // time control format
|
||||
int mTimeCtrlFormat; // time control format index
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue