Audacity 3.2.0
Classes | Macros | Functions
KeyConfigPrefs.h File Reference
#include <wx/defs.h>
#include <wx/timer.h>
#include "PrefsPanel.h"
Include dependency graph for KeyConfigPrefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  KeyConfigPrefs
 A PrefsPanel for keybindings. More...


#define KEY_CONFIG_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Key Config") }


PrefsPanel::Factory KeyConfigPrefsFactory (const CommandID &name={})

Macro Definition Documentation


#define KEY_CONFIG_PREFS_PLUGIN_SYMBOL   ComponentInterfaceSymbol{ XO("Key Config") }

Definition at line 30 of file KeyConfigPrefs.h.

Function Documentation

◆ KeyConfigPrefsFactory()

PrefsPanel::Factory KeyConfigPrefsFactory ( const CommandID name = {})

A PrefsPanel::Factory that creates one KeyConfigPrefs panel. This factory can be parametrized by name, which specifies a command to be focused initially

Definition at line 937 of file KeyConfigPrefs.cpp.

939 return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
940 {
941 wxASSERT(parent); // to justify safenew
942 auto result = safenew KeyConfigPrefs{ parent, winid, pProject, name };
943 return result;
944 };
const TranslatableString name
Definition: Distortion.cpp:76
#define safenew
Definition: MemoryX.h:10
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A PrefsPanel for keybindings.

References name, and safenew.

Referenced by AudacityApp::InitPart2().

Here is the caller graph for this function: