mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
... and maybe a future plug-in protocol to break compilation dependency on all of the PrefsPanel subclasses.
47 lines
953 B
C++
47 lines
953 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
MousePrefs.h
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_MOUSE_PREFS__
|
|
#define __AUDACITY_MOUSE_PREFS__
|
|
|
|
#include <wx/defs.h>
|
|
|
|
#include <wx/listctrl.h>
|
|
#include <wx/string.h>
|
|
#include <wx/window.h>
|
|
|
|
#include "PrefsPanel.h"
|
|
|
|
class ShuttleGui;
|
|
|
|
class MousePrefs :public PrefsPanel
|
|
{
|
|
public:
|
|
MousePrefs(wxWindow * parent);
|
|
~MousePrefs();
|
|
virtual bool Apply();
|
|
|
|
private:
|
|
void Populate();
|
|
void PopulateOrExchange(ShuttleGui & S);
|
|
void CreateList();
|
|
void AddItem(wxString const & buttons,
|
|
wxString const & tool,
|
|
wxString const & action,
|
|
wxString const & comment = wxEmptyString);
|
|
|
|
wxListCtrl * mList;
|
|
};
|
|
|
|
class MousePrefsFactory : public PrefsPanelFactory
|
|
{
|
|
public:
|
|
virtual PrefsPanel *Create(wxWindow *parent);
|
|
};
|
|
#endif
|