Audacity 3.2.0
Classes | Variables
ViewInfo.cpp File Reference
#include "ViewInfo.h"
#include <algorithm>
#include "XMLAttributeValueView.h"
#include "BasicUI.h"
#include "Project.h"
#include "XMLWriter.h"
Include dependency graph for ViewInfo.cpp:

Go to the source code of this file.


struct  ViewInfo::ProjectFileIORegistration
 Construct once at static initialization time to hook project file IO. More...


const TranslatableString LoopToggleText = XXO("&Loop On/Off")
static const AudacityProject::AttachedObjects::RegisteredFactory key
static struct ViewInfo::ProjectFileIORegistration projectFileIORegistration
static ProjectFileIORegistry::AttributeWriterEntry entry
BoolSetting ScrollingPreference { L"/GUI/ScrollBeyondZero", false }

Variable Documentation

◆ entry

Initial value:
[](const AudacityProject &project, XMLWriter &xmlFile){
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
void WriteXMLAttributes(XMLWriter &xmlFile) const
Definition: ViewInfo.cpp:285
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:234
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
Definition: XMLWriter.h:26

Definition at line 329 of file ViewInfo.cpp.

◆ key

Initial value:
[]( AudacityProject &project ) {
return std::make_unique<ViewInfo>(0.0, 1.0, ZoomInfo::GetDefaultZoom());
static double GetDefaultZoom()
Definition: ZoomInfo.h:117

Definition at line 228 of file ViewInfo.cpp.

Referenced by ViewInfo::Get().

◆ LoopToggleText

const TranslatableString LoopToggleText = XXO("&Loop On/Off")

◆ projectFileIORegistration

struct ViewInfo::ProjectFileIORegistration projectFileIORegistration

◆ ScrollingPreference

BoolSetting ScrollingPreference { L"/GUI/ScrollBeyondZero", false }