Audacity 3.2.0
Public Member Functions | Protected Attributes | List of all members
BrushHandle::StateSaver Class Referenceabstract

#include <BrushHandle.h>

Inheritance diagram for BrushHandle::StateSaver:

Public Member Functions

virtual ~StateSaver ()
virtual void Init (AudacityProject &project, bool clearAll)=0
void Commit ()

Protected Attributes

bool mCommitted = false

Detailed Description

Callbacks from the brush handle

Definition at line 37 of file BrushHandle.h.

Constructor & Destructor Documentation

◆ ~StateSaver()

BrushHandle::StateSaver::~StateSaver ( )

Member Function Documentation

◆ Commit()

void BrushHandle::StateSaver::Commit ( )

Definition at line 42 of file BrushHandle.h.

43 {
44 mCommitted = true;
45 }

◆ Init()

virtual void BrushHandle::StateSaver::Init ( AudacityProject project,
bool  clearAll 
pure virtual

Member Data Documentation

◆ mCommitted

bool BrushHandle::StateSaver::mCommitted = false

Definition at line 48 of file BrushHandle.h.

Referenced by SpectrumView::SpectralDataSaver::~SpectralDataSaver().

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