81 return XO(
"Preferences for Theme");
86 return "Theme_Preferences";
109 S.StartStatic(
XO(
"Info"));
113"Themability is an experimental feature.\n\nTo try it out, click \"Save Theme Cache\" then find and modify the images and colors in\nImageCacheVxx.png using an image editor such as the Gimp.\n\nClick \"Load Theme Cache\" to load the changed images and colors back into Audacity.")
119"This is a debug version of Audacity, with an extra button, 'Output Sourcery'. This will save\nC versions of the image caches that can be compiled in as defaults.")
125"Saving and loading individual theme files uses a separate file for each image, but is\notherwise the same idea.")
132 S.StartStatic(
XO(
"Theme Cache - Images && Color"));
134 S.StartHorizontalLay(wxALIGN_LEFT);
148 S.EndHorizontalLay();
159 S.StartStatic(
XO(
"Individual Theme Files"),1);
161 S.StartHorizontalLay(wxALIGN_LEFT);
166 S.EndHorizontalLay();
239#ifdef EXPERIMENTAL_THEME_PREFS
Toolkit-neutral facade for basic user interface services.
EVT_BUTTON(wxID_NO, DependencyDialog::OnNo) EVT_BUTTON(wxID_YES
XXO("&Cut/Copy/Paste Toolbar")
#define THEME_PREFS_PLUGIN_SYMBOL
TranslatableString Verbatim(wxString str)
Require calls to the one-argument constructor to go through this distinct global function name.
static void ApplyUpdatedImages()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
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.
void SwitchTheme(teThemeType Theme)
void DeleteUnusedThemes()
teThemeType GetFallbackThemeType()
static bool LoadPreferredTheme()
void WriteImageDefs()
Writes a series of Macro definitions that can be used in the include file.
void SaveThemeComponents()
void LoadThemeComponents(bool bOkIfNotFound=false)
Based on ThemeBase, Theme manages image and icon resources.
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.
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.