1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 14:50:06 +02:00
audacity/src/prefs/TracksPrefs.h
Paul Licameli 1ef235c21c Bug1661: Default audio track name not being translated...
... Problem was introduced in 2.1.3 at:
8a6edf3623662b6cb3eb90e794c34e44c283c33d
2017-07-21 17:29:52 -04:00

56 lines
1.1 KiB
C++

/**********************************************************************
Audacity: A Digital Audio Editor
TracksPrefs.h
Brian Gunlogson
Joshua Haberman
James Crook
**********************************************************************/
#ifndef __AUDACITY_TRACKS_PREFS__
#define __AUDACITY_TRACKS_PREFS__
//#include <wx/defs.h>
//#include <wx/arrstr.h>
//#include <wx/window.h>
#include "PrefsPanel.h"
class ShuttleGui;
class TracksPrefs final : public PrefsPanel
{
public:
TracksPrefs(wxWindow * parent);
~TracksPrefs();
bool Commit() override;
wxString HelpPageName() override;
static bool GetPinnedHeadPreference();
static void SetPinnedHeadPreference(bool value, bool flush = false);
static wxString GetDefaultAudioTrackNamePreference();
private:
void Populate();
void PopulateOrExchange(ShuttleGui & S);
static int iPreferencePinned;
wxArrayInt mViewCodes;
wxArrayString mViewChoices;
wxArrayInt mSampleDisplayCodes;
wxArrayString mSampleDisplayChoice;
};
class TracksPrefsFactory final : public PrefsPanelFactory
{
public:
PrefsPanel *Create(wxWindow *parent) override;
};
#endif