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

Construct once at static initialization 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 initialization time to hook project file IO.

Definition at line 275 of file ViewInfo.cpp.

Member Data Documentation

◆ entries

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries
Initial value:
{
{
},
}
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
static XMLMethodRegistryBase::Mutators< NotifyingSelectedRegion > Mutators(const char *legacyT0Name, const char *legacyT1Name)
Return some information used for deserialization purposes by ViewInfo.
Definition: ViewInfo.cpp:24
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:215
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:235

Definition at line 277 of file ViewInfo.cpp.

◆ entries2

ProjectFileIORegistry::AttributeReaderEntries ViewInfo::ProjectFileIORegistration::entries2
Initial value:
{
{
{ "vpos", [](auto &viewInfo, auto value){
viewInfo.vpos = value.Get(viewInfo.vpos);
} },
{ "h", [](auto &viewInfo, auto value){
viewInfo.hpos = value.Get(viewInfo.hpos);
} },
{ "zoom", [](auto &viewInfo, auto value){
viewInfo.zoom = value.Get(viewInfo.zoom);
} },
} }
int vpos
Pixel distance from top of tracks to top of visible scrolled area.
Definition: ViewInfo.h:221

Definition at line 285 of file ViewInfo.cpp.


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