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

Go to the source code of this file.

Classes

struct  ViewInfo::ProjectFileIORegistration
 Construct once at static initialization time to hook project file IO. More...
 
struct  anonymous_namespace{ViewInfo.cpp}::SelectedRegionRestorer
 

Namespaces

namespace  anonymous_namespace{ViewInfo.cpp}
 

Variables

const TranslatableString LoopToggleText = XXO("Enable &Looping")
 
static const AudacityProject::AttachedObjects::RegisteredFactory key
 
static struct ViewInfo::ProjectFileIORegistration projectFileIORegistration
 
static ProjectFileIORegistry::AttributeWriterEntry entry
 
UndoRedoExtensionRegistry::Entry anonymous_namespace{ViewInfo.cpp}::sEntry
 

Variable Documentation

◆ entry

Initial value:
{
[](const AudacityProject &project, XMLWriter &xmlFile){
}
}
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
void WriteXMLAttributes(XMLWriter &xmlFile) const
Definition: ViewInfo.cpp:265
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:235
Base class for XMLFileWriter and XMLStringWriter that provides the general functionality for creating...
Definition: XMLWriter.h:25

Definition at line 309 of file ViewInfo.cpp.

◆ key

Initial value:
{
return std::make_unique<ViewInfo>(0.0, ZoomInfo::GetDefaultZoom());
}
}
static double GetDefaultZoom()
Definition: ZoomInfo.h:116

Definition at line 229 of file ViewInfo.cpp.

Referenced by ViewInfo::Get().

◆ LoopToggleText

const TranslatableString LoopToggleText = XXO("Enable &Looping")

◆ projectFileIORegistration

struct ViewInfo::ProjectFileIORegistration projectFileIORegistration
static