Audacity  2.3.1
PlaybackPrefs.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  Audacity: A Digital Audio Editor
4 
5  PlaybackPrefs.h
6 
7  Joshua Haberman
8  James Crook
9 
10 **********************************************************************/
11 
12 #ifndef __AUDACITY_PLAYBACK_PREFS__
13 #define __AUDACITY_PLAYBACK_PREFS__
14 
15 #include <wx/defs.h>
16 
17 #include <wx/window.h>
18 
19 #include "PrefsPanel.h"
20 
21 class ShuttleGui;
22 
23 class PlaybackPrefs final : public PrefsPanel
24 {
25  public:
26  PlaybackPrefs(wxWindow * parent, wxWindowID winid);
27  virtual ~PlaybackPrefs();
28  bool Commit() override;
29  wxString HelpPageName() override;
30  void PopulateOrExchange(ShuttleGui & S) override;
31 
32  static bool GetUnpinnedScrubbingPreference();
33 
34  private:
35  void Populate();
36 };
37 
38 
41 {
42 public:
43  PrefsPanel *operator () (wxWindow *parent, wxWindowID winid) override;
44 };
45 
46 #endif
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI...
Definition: ShuttleGui.h:409
void PopulateOrExchange(ShuttleGui &S) override
A PrefsPanelFactory that creates one PlaybackPrefs panel.
Definition: PlaybackPrefs.h:40
A PrefsPanel used to select playback options.
Definition: PlaybackPrefs.h:23
PlaybackPrefs(wxWindow *parent, wxWindowID winid)
virtual ~PlaybackPrefs()
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs...
Definition: PrefsPanel.h:50
bool Commit() override
Base class for factories such as GUIPrefsFactory that produce a PrefsPanel.
Definition: PrefsPanel.h:78
PrefsPanel * operator()(wxWindow *parent, wxWindowID winid) override
wxString HelpPageName() override
static bool GetUnpinnedScrubbingPreference()