Audacity 3.2.0
|
#include <ChangeClipSpeedDialog.h>
Public Member Functions | |
ChangeClipSpeedDialog (WaveTrack &track, WaveTrack::Interval &interval, wxWindow *parent=nullptr) | |
~ChangeClipSpeedDialog () override | |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
void | PopulateOrExchange (ShuttleGui &s) |
void | OnOk () |
bool | SetClipSpeedFromDialog () |
Private Attributes | |
WaveTrack & | mTrack |
WaveTrack::Interval & | mTrackInterval |
double | mClipSpeed |
double | mOldClipSpeed |
Definition at line 18 of file ChangeClipSpeedDialog.h.
ChangeClipSpeedDialog::ChangeClipSpeedDialog | ( | WaveTrack & | track, |
WaveTrack::Interval & | interval, | ||
wxWindow * | parent = nullptr |
||
) |
Definition at line 19 of file ChangeClipSpeedDialog.cpp.
|
overridedefault |
|
private |
Definition at line 108 of file ChangeClipSpeedDialog.cpp.
References SetClipSpeedFromDialog().
Referenced by PopulateOrExchange().
|
private |
Definition at line 61 of file ChangeClipSpeedDialog.cpp.
References ShuttleGuiBase::AddButton(), ShuttleGuiBase::AddFixedText(), ShuttleGuiBase::AddPrompt(), ShuttleGui::AddSpace(), ShuttleGuiBase::EndHorizontalLay(), ShuttleGuiBase::EndInvisiblePanel(), ShuttleGuiBase::EndMultiColumn(), mClipSpeed, ShuttleGui::Name(), ShuttleGui::NameSuffix(), OnOk(), ShuttleGuiBase::SetBorder(), ShuttleGuiBase::StartHorizontalLay(), ShuttleGuiBase::StartInvisiblePanel(), ShuttleGuiBase::StartVerticalLay(), ShuttleGuiBase::TieNumericTextBox(), Verbatim(), XO(), and XXO().
Referenced by SetClipSpeedFromDialog().
|
private |
Definition at line 114 of file ChangeClipSpeedDialog.cpp.
References eIsGettingFromDialog, eIsSettingToDialog, ChannelGroupInterval::End(), PackedArray::end(), forward, WaveTrack::GetNextInterval(), WaveTrack::Interval::GetStretchRatio(), mClipSpeed, mOldClipSpeed, mTrack, mTrackInterval, PopulateOrExchange(), S, BasicUI::ShowErrorDialog(), ChannelGroupInterval::Start(), WaveTrack::Interval::StretchRightTo(), and XO().
Referenced by OnOk().
|
private |
Definition at line 36 of file ChangeClipSpeedDialog.h.
Referenced by PopulateOrExchange(), and SetClipSpeedFromDialog().
|
private |
Definition at line 37 of file ChangeClipSpeedDialog.h.
Referenced by SetClipSpeedFromDialog().
|
private |
Definition at line 34 of file ChangeClipSpeedDialog.h.
Referenced by SetClipSpeedFromDialog().
|
private |
Definition at line 35 of file ChangeClipSpeedDialog.h.
Referenced by SetClipSpeedFromDialog().