14#ifndef __AUDACITY_THEME_PREFS__
15#define __AUDACITY_THEME_PREFS__
23#define THEME_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Theme") }
28 ThemePrefs(wxWindow * parent, wxWindowID winid);
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
A PrefsPanel that configures dynamic loading of Theme icons and colours.
void OnReadThemeInternal(wxCommandEvent &e)
Read Theme from internal storage.
void PopulateOrExchange(ShuttleGui &S) override
Create the dialog contents, or exchange data with it.
bool Commit() override
Update the preferences stored on disk.
ComponentInterfaceSymbol GetSymbol() const override
void OnSaveThemeComponents(wxCommandEvent &e)
Save Theme to multiple png files.
void OnSaveThemeAsCode(wxCommandEvent &e)
Save Theme as C source code.
void OnLoadThemeComponents(wxCommandEvent &e)
Load Theme from multiple png files.
void OnLoadThemeCache(wxCommandEvent &e)
Load Theme from single png file.
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
ThemePrefs(wxWindow *parent, wxWindowID winid)
void OnSaveThemeCache(wxCommandEvent &e)
Save Themes, each to a single png file.
TranslatableString GetDescription() const override
void Populate()
Creates the dialog and its contents.
Holds a msgid for the translation catalog; may also bind format arguments.