Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
Settings Struct Reference
Inheritance diagram for Settings:
[legend]
Collaboration diagram for Settings:
[legend]

Public Member Functions

void UpdatePrefs () override
 
- Public Member Functions inherited from PrefsListener
 PrefsListener ()
 
virtual ~PrefsListener ()
 
virtual void UpdatePrefs ()=0
 

Public Attributes

wxFont gFont
 
bool mInitialized { false }
 

Additional Inherited Members

- Static Public Member Functions inherited from PrefsListener
static void Broadcast (int id=0)
 Call this static function to notify all PrefsListener objects. More...
 
- Protected Member Functions inherited from PrefsListener
virtual void UpdateSelectedPrefs (int id)
 

Detailed Description

Definition at line 33 of file TrackInfo.cpp.

Member Function Documentation

◆ UpdatePrefs()

void Settings::UpdatePrefs ( )
inlineoverridevirtual

Implements PrefsListener.

Definition at line 38 of file TrackInfo.cpp.

39 {
40#if defined __WXMAC__
41 int fontSize = 12;
42#else
43 int fontSize = 10;
44#endif
45 gFont.Create(fontSize, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
46
47 mInitialized = true;
48 }
bool mInitialized
Definition: TrackInfo.cpp:36
wxFont gFont
Definition: TrackInfo.cpp:34

References gFont, and mInitialized.

Referenced by settings().

Here is the caller graph for this function:

Member Data Documentation

◆ gFont

wxFont Settings::gFont

Definition at line 34 of file TrackInfo.cpp.

Referenced by UpdatePrefs().

◆ mInitialized

bool Settings::mInitialized { false }

Definition at line 36 of file TrackInfo.cpp.

Referenced by settings(), and UpdatePrefs().


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