mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-06 15:19:29 +02:00
... the preference is independent of those in Interface and Recording preferences, which affect meters, sound activated recordings, time track, and Plot Spectrum
54 lines
1010 B
C++
54 lines
1010 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
GUIPrefs.h
|
|
|
|
Brian Gunlogson
|
|
Joshua Haberman
|
|
James Crook
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_GUI_PREFS__
|
|
#define __AUDACITY_GUI_PREFS__
|
|
|
|
#include <wx/defs.h>
|
|
|
|
#include <wx/arrstr.h>
|
|
#include <wx/window.h>
|
|
|
|
#include "PrefsPanel.h"
|
|
|
|
class ShuttleGui;
|
|
|
|
class GUIPrefs :public PrefsPanel
|
|
{
|
|
public:
|
|
GUIPrefs(wxWindow * parent);
|
|
~GUIPrefs();
|
|
virtual bool Apply();
|
|
|
|
static void GetRangeChoices(wxArrayString *pChoices, wxArrayString *pCodes);
|
|
|
|
private:
|
|
void Populate();
|
|
void PopulateOrExchange(ShuttleGui & S);
|
|
|
|
wxArrayString mLangCodes;
|
|
wxArrayString mLangNames;
|
|
|
|
wxArrayString mHtmlHelpCodes;
|
|
wxArrayString mHtmlHelpChoices;
|
|
|
|
wxArrayString mRangeCodes;
|
|
wxArrayString mRangeChoices;
|
|
};
|
|
|
|
class GUIPrefsFactory : public PrefsPanelFactory
|
|
{
|
|
public:
|
|
virtual PrefsPanel *Create(wxWindow *parent);
|
|
};
|
|
#endif
|