mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-27 06:07:59 +02:00
50 lines
995 B
C++
50 lines
995 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
RecordingPrefs.h
|
|
|
|
Joshua Haberman
|
|
James Crook
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_RECORDING_PREFS__
|
|
#define __AUDACITY_RECORDING_PREFS__
|
|
|
|
#include <wx/defs.h>
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/window.h>
|
|
|
|
#include "PrefsPanel.h"
|
|
|
|
class ShuttleGui;
|
|
|
|
class RecordingPrefs final : public PrefsPanel
|
|
{
|
|
public:
|
|
RecordingPrefs(wxWindow * parent);
|
|
virtual ~RecordingPrefs();
|
|
bool Commit() override;
|
|
wxString HelpPageName() override;
|
|
|
|
private:
|
|
void Populate();
|
|
void PopulateOrExchange(ShuttleGui & S);
|
|
void OnToggleCustomName(wxCommandEvent & /* Evt */);
|
|
|
|
wxTextCtrl *mToggleCustomName;
|
|
bool mUseCustomTrackName;
|
|
bool mOldNameChoice;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
class RecordingPrefsFactory final : public PrefsPanelFactory
|
|
{
|
|
public:
|
|
PrefsPanel *Create(wxWindow *parent) override;
|
|
};
|
|
#endif
|