mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 01:20:04 +02:00
... and maybe a future plug-in protocol to break compilation dependency on all of the PrefsPanel subclasses.
48 lines
880 B
C++
48 lines
880 B
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 :public PrefsPanel
|
|
{
|
|
public:
|
|
TracksPrefs(wxWindow * parent);
|
|
~TracksPrefs();
|
|
virtual bool Apply();
|
|
|
|
private:
|
|
void Populate();
|
|
void PopulateOrExchange(ShuttleGui & S);
|
|
|
|
wxArrayString mSoloCodes;
|
|
wxArrayString mSoloChoices;
|
|
wxArrayInt mViewCodes;
|
|
wxArrayString mViewChoices;
|
|
};
|
|
|
|
class TracksPrefsFactory : public PrefsPanelFactory
|
|
{
|
|
public:
|
|
virtual PrefsPanel *Create(wxWindow *parent);
|
|
};
|
|
#endif
|