mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 17:41:15 +02:00
Add Help button for Advanced Mixing Options
This commit is contained in:
parent
217c1267bd
commit
5dab364f15
@ -69,6 +69,7 @@
|
|||||||
#include "../AColor.h"
|
#include "../AColor.h"
|
||||||
#include "../Dependencies.h"
|
#include "../Dependencies.h"
|
||||||
#include "../FileNames.h"
|
#include "../FileNames.h"
|
||||||
|
#include "../widgets/HelpSystem.h"
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
// ExportPlugin
|
// ExportPlugin
|
||||||
@ -1275,6 +1276,7 @@ enum
|
|||||||
BEGIN_EVENT_TABLE( ExportMixerDialog, wxDialogWrapper )
|
BEGIN_EVENT_TABLE( ExportMixerDialog, wxDialogWrapper )
|
||||||
EVT_BUTTON( wxID_OK, ExportMixerDialog::OnOk )
|
EVT_BUTTON( wxID_OK, ExportMixerDialog::OnOk )
|
||||||
EVT_BUTTON( wxID_CANCEL, ExportMixerDialog::OnCancel )
|
EVT_BUTTON( wxID_CANCEL, ExportMixerDialog::OnCancel )
|
||||||
|
EVT_BUTTON( wxID_HELP, ExportMixerDialog::OnMixerPanelHelp )
|
||||||
EVT_SIZE( ExportMixerDialog::OnSize )
|
EVT_SIZE( ExportMixerDialog::OnSize )
|
||||||
EVT_SLIDER( ID_SLIDER_CHANNEL, ExportMixerDialog::OnSlider )
|
EVT_SLIDER( ID_SLIDER_CHANNEL, ExportMixerDialog::OnSlider )
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
@ -1351,7 +1353,7 @@ ExportMixerDialog::ExportMixerDialog( const TrackList *tracks, bool selectedOnly
|
|||||||
vertSizer->Add(horSizer.release(), 0, wxALIGN_CENTRE | wxALL, 5);
|
vertSizer->Add(horSizer.release(), 0, wxALIGN_CENTRE | wxALL, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
vertSizer->Add(CreateStdButtonSizer(this, eCancelButton | eOkButton).release(), 0, wxEXPAND);
|
vertSizer->Add(CreateStdButtonSizer(this, eCancelButton | eOkButton | eHelpButton).release(), 0, wxEXPAND);
|
||||||
|
|
||||||
SetAutoLayout(true);
|
SetAutoLayout(true);
|
||||||
SetSizer(uVertSizer.release());
|
SetSizer(uVertSizer.release());
|
||||||
@ -1399,3 +1401,8 @@ void ExportMixerDialog::OnCancel(wxCommandEvent & WXUNUSED(event))
|
|||||||
EndModal( wxID_CANCEL );
|
EndModal( wxID_CANCEL );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ExportMixerDialog::OnMixerPanelHelp(wxCommandEvent & WXUNUSED(event))
|
||||||
|
{
|
||||||
|
HelpSystem::ShowHelp(this, wxT("Advanced_Mixing_Options"), true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -292,6 +292,7 @@ private:
|
|||||||
private:
|
private:
|
||||||
void OnOk( wxCommandEvent &event );
|
void OnOk( wxCommandEvent &event );
|
||||||
void OnCancel( wxCommandEvent &event );
|
void OnCancel( wxCommandEvent &event );
|
||||||
|
void OnMixerPanelHelp( wxCommandEvent &event );
|
||||||
void OnSlider( wxCommandEvent &event );
|
void OnSlider( wxCommandEvent &event );
|
||||||
void OnSize( wxSizeEvent &event );
|
void OnSize( wxSizeEvent &event );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user