Audacity 3.2.0
Private Member Functions | List of all members
App Class Referencefinal
Inheritance diagram for App:
[legend]
Collaboration diagram for App:
[legend]

Private Member Functions

bool OnInit () override
 

Detailed Description

Definition at line 47 of file imageCompilerMain.cpp.

Member Function Documentation

◆ OnInit()

bool App::OnInit ( )
overrideprivate

Definition at line 75 of file imageCompilerMain.cpp.

76{
77 // Leave no persistent side-effect on preferences
79 // Don't blend colors
80 GUIBlendThemes.Write(false);
81
82 // So that the program can interpret PNG
83 wxInitAllImageHandlers();
84
87
88 // Quit without any user interaction
89 CallAfter( []{ wxExit(); } );
90 return true;
91}
THEME_API Theme theTheme
Definition: Theme.cpp:82
THEME_API BoolSetting GUIBlendThemes
bool Write(const T &value)
Write value to config and return true if successful.
Definition: Prefs.h:259
Makes temporary changes to preferences, then rolls them back at destruction.
Definition: Prefs.h:120
void SaveThemeAsCode()
void LoadThemeComponents(bool bOkIfNotFound=false)
Definition: Theme.cpp:1032
void CallAfter(Action action)
Schedule an action to be done later, and in the main thread.
Definition: BasicUI.cpp:208
static CommandContext::TargetFactory::SubstituteInUnique< InteractiveOutputTargets > scope

References BasicUI::CallAfter(), GUIBlendThemes, ThemeBase::LoadThemeComponents(), ThemeBase::SaveThemeAsCode(), anonymous_namespace{wxCommandTargets.cpp}::scope, theTheme, and Setting< T >::Write().

Here is the call graph for this function:

The documentation for this class was generated from the following file: