mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-24 00:18:07 +02:00
48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
TracksBehaviorsPrefs.h
|
|
|
|
Brian Gunlogson
|
|
Joshua Haberman
|
|
James Crook
|
|
Steve Daulton
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_TRACKSBEHAVIORS_PREFS__
|
|
#define __AUDACITY_TRACKSBEHAVIORS_PREFS__
|
|
|
|
#include "PrefsPanel.h"
|
|
|
|
class ShuttleGui;
|
|
|
|
class TracksBehaviorsPrefs final : public PrefsPanel
|
|
{
|
|
public:
|
|
TracksBehaviorsPrefs(wxWindow * parent, wxWindowID winid);
|
|
~TracksBehaviorsPrefs();
|
|
bool Commit() override;
|
|
wxString HelpPageName() override;
|
|
|
|
static const wxChar *ScrollingPreferenceKey();
|
|
static inline bool ScrollingPreferenceDefault() { return false; }
|
|
|
|
private:
|
|
void Populate();
|
|
void PopulateOrExchange(ShuttleGui & S);
|
|
|
|
wxArrayString mSoloCodes;
|
|
wxArrayString mSoloChoices;
|
|
};
|
|
|
|
class TracksBehaviorsPrefsFactory final : public PrefsPanelFactory
|
|
{
|
|
public:
|
|
explicit TracksBehaviorsPrefsFactory();
|
|
PrefsPanel *operator () (wxWindow *parent, wxWindowID winid) override;
|
|
|
|
};
|
|
#endif
|