Audacity 3.2.0
Public Member Functions | List of all members
ProjectStatus::DefaultFieldsRegistrator Struct Referencefinal

Public Member Functions

 DefaultFieldsRegistrator ()
 

Detailed Description

Definition at line 147 of file ProjectStatus.h.

Constructor & Destructor Documentation

◆ DefaultFieldsRegistrator()

ProjectStatus::DefaultFieldsRegistrator::DefaultFieldsRegistrator ( )

Definition at line 331 of file ProjectStatus.cpp.

332{
333 static StatusBarFieldItemRegistrator stateStatusBarField {
334 std::make_unique<ProjectStatusTextField>(StateStatusBarField(), 0),
336 };
337
338 static StatusBarFieldItemRegistrator mainStatusBarField {
339 // Main field is always expandable, hence the size is -1
340 std::make_unique<ProjectStatusTextField>(MainStatusBarField(), -1),
342 };
343
345 std::make_unique<ProjectStatusTextField>(RateStatusBarField(), 150),
347 };
348}
StatusBarField MainStatusBarField()
ID of the second field in the status bar. This field is expandable.
StatusBarField StateStatusBarField()
ID of the first field in the status bar. This filed is used to display playback state.
StatusBarField RateStatusBarField()
ID of the third field in the status bar. This field is used to display the current rate.
const wxString & GET() const
Explicit conversion to wxString, meant to be ugly-looking and demanding of a comment why it's correct...
Definition: Identifier.h:66
Generates classes whose instances register items at construction.
Definition: Registry.h:388

References Registry::OrderingHint::After, Registry::OrderingHint::Begin, Identifier::GET(), MainStatusBarField(), RateStatusBarField(), audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncStatusField.cpp}::rateStatusBarField, and StateStatusBarField().

Here is the call graph for this function:

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