Audacity  3.0.3
TracksBehaviorsPrefs.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  TracksBehaviorsPrefs.h
6 
7  Brian Gunlogson
8  Joshua Haberman
9  James Crook
10  Steve Daulton
11 
12 **********************************************************************/
13 
14 #ifndef __AUDACITY_TRACKSBEHAVIORS_PREFS__
15 #define __AUDACITY_TRACKSBEHAVIORS_PREFS__
16 
17 #include "PrefsPanel.h"
18 
19 class ChoiceSetting;
20 class ShuttleGui;
21 
22 #define TRACKS_BEHAVIORS_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Tracks Behaviors") }
23 
24 class AUDACITY_DLL_API TracksBehaviorsPrefs final : public PrefsPanel
25 {
26  public:
27  TracksBehaviorsPrefs(wxWindow * parent, wxWindowID winid);
31 
32  bool Commit() override;
33  ManualPageID HelpPageName() override;
34 
35  private:
36  void Populate();
37  void PopulateOrExchange(ShuttleGui & S) override;
38 };
39 
40 extern AUDACITY_DLL_API ChoiceSetting TracksBehaviorsSolo;
41 
42 AUDACITY_DLL_API bool GetEditClipsCanMove();
43 
44 #endif
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
GetEditClipsCanMove
AUDACITY_DLL_API bool GetEditClipsCanMove()
Definition: TracksBehaviorsPrefs.cpp:143
ComponentInterface::GetSymbol
virtual ComponentInterfaceSymbol GetSymbol()=0
PrefsPanel.h
PrefsPanel::HelpPageName
virtual ManualPageID HelpPageName()
If not empty string, the Help button is added below the panel.
Definition: PrefsPanel.cpp:98
PrefsPanel::PopulateOrExchange
virtual void PopulateOrExchange(ShuttleGui &WXUNUSED(S))
Definition: PrefsPanel.h:116
ComponentInterfaceSymbol
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Definition: ComponentInterfaceSymbol.h:27
TracksBehaviorsSolo
AUDACITY_DLL_API ChoiceSetting TracksBehaviorsSolo
Definition: TracksBehaviorsPrefs.cpp:59
PrefsPanel::Commit
virtual bool Commit()=0
ChoiceSetting
Definition: Prefs.h:270
ComponentInterface::GetDescription
virtual TranslatableString GetDescription()=0
TaggedIdentifier< ManualPageIDTag >
PrefsPanel
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Definition: PrefsPanel.h:51
TracksBehaviorsPrefs
A PrefsPanel for Tracks Behaviors settings.
Definition: TracksBehaviorsPrefs.h:25
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:631