Audacity  3.0.3
Public Attributes | List of all members
ViewInfo::ProjectFileIORegistration Struct Reference

Construct once at static intialization time to hook project file IO. More...

Collaboration diagram for ViewInfo::ProjectFileIORegistration:
[legend]

Public Attributes

ProjectFileIORegistry::AttributeReaderEntries entries
 
ProjectFileIORegistry::AttributeReaderEntries entries2
 

Detailed Description

Construct once at static intialization time to hook project file IO.

Definition at line 304 of file ViewInfo.cpp.

Member Data Documentation

◆ entries

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries
Initial value:
{
{
return ViewInfo::Get(project).selectedRegion;
},
}

Definition at line 306 of file ViewInfo.cpp.

◆ entries2

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries2
Initial value:
{
{
{ L"vpos", [](auto &viewInfo, auto value){
long longVpos;
wxString(value).ToLong(&longVpos);
viewInfo.vpos = (int)(longVpos);
} },
{ L"h", [](auto &viewInfo, auto value){
Internat::CompatibleToDouble(value, &viewInfo.h);
} },
{ L"zoom", [](auto &viewInfo, auto value){
Internat::CompatibleToDouble(value, &viewInfo.zoom);
} },
} }

Definition at line 314 of file ViewInfo.cpp.


The documentation for this struct was generated from the following file:
ZoomInfo::vpos
int vpos
Definition: ZoomInfo.h:58
ViewInfo::Get
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:241
ViewInfo
Definition: ViewInfo.h:202
ViewInfo::selectedRegion
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:229
NotifyingSelectedRegion::Mutators
static XMLMethodRegistryBase::Mutators< NotifyingSelectedRegion > Mutators(const wxString &legacyT0Name, const wxString &legacyT1Name)
Return some information used for deserialization purposes by ViewInfo.
Definition: ViewInfo.cpp:35
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92
Internat::CompatibleToDouble
static bool CompatibleToDouble(const wxString &stringToConvert, double *result)
Convert a string to a number.
Definition: Internat.cpp:134
NotifyingSelectedRegion
Definition: ViewInfo.h:44