Audacity  3.0.3
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
ViewInfo Class Referencefinal

#include <ViewInfo.h>

Inheritance diagram for ViewInfo:
[legend]
Collaboration diagram for ViewInfo:
[legend]

Classes

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

Public Member Functions

 ViewInfo (double start, double screenDuration, double pixelsPerSecond)
 
 ViewInfo (const ViewInfo &) PROHIBITED
 
ViewInfooperator= (const ViewInfo &) PROHIBITED
 
int GetHeight () const
 
void SetHeight (int height)
 
void UpdatePrefs () override
 
void UpdateSelectedPrefs (int id) override
 
double GetBeforeScreenWidth () const
 
void SetBeforeScreenWidth (wxInt64 beforeWidth, wxInt64 screenWidth, double lowerBoundTime=0.0)
 
double GetTotalWidth () const
 
void WriteXMLAttributes (XMLWriter &xmlFile) const
 
- Public Member Functions inherited from ZoomInfo
 ZoomInfo (double start, double pixelsPerSecond)
 
 ~ZoomInfo ()
 
 ZoomInfo (const ZoomInfo &) PROHIBITED
 
ZoomInfooperator= (const ZoomInfo &) PROHIBITED
 
void UpdatePrefs () override
 
double PositionToTime (wxInt64 position, wxInt64 origin=0, bool ignoreFisheye=false) const
 
wxInt64 TimeToPosition (double time, wxInt64 origin=0, bool ignoreFisheye=false) const
 STM: Converts a project time to screen x position. More...
 
double TimeRangeToPixelWidth (double timeRange) const
 
double OffsetTimeByPixels (double time, wxInt64 offset, bool ignoreFisheye=false) const
 
int GetWidth () const
 
void SetWidth (int width)
 
int GetVRulerWidth () const
 
void SetVRulerWidth (int width)
 
int GetVRulerOffset () const
 
int GetLeftOffset () const
 
int GetTracksUsableWidth () const
 
double GetScreenEndTime () const
 
bool ZoomInAvailable () const
 
bool ZoomOutAvailable () const
 
void SetZoom (double pixelsPerSecond)
 
double GetZoom () const
 
void ZoomBy (double multiplier)
 
void FindIntervals (double rate, Intervals &results, wxInt64 width, wxInt64 origin=0) const
 
FisheyeState GetFisheyeState () const
 
bool InFisheye (wxInt64, wxInt64 WXUNUSED(origin=0)) const
 
wxInt64 GetFisheyeLeftBoundary (wxInt64 WXUNUSED(origin=0)) const
 
wxInt64 GetFisheyeRightBoundary (wxInt64 WXUNUSED(origin=0)) const
 
- Public Member Functions inherited from ClientData::Base
virtual ~Base ()
 

Static Public Member Functions

static ViewInfoGet (AudacityProject &project)
 
static const ViewInfoGet (const AudacityProject &project)
 
static int UpdateScrollPrefsID ()
 
- Static Public Member Functions inherited from ZoomInfo
static double GetDefaultZoom ()
 
static double GetMaxZoom ()
 
static double GetMinZoom ()
 

Public Attributes

NotifyingSelectedRegion selectedRegion
 
PlayRegion playRegion
 
double total
 
wxInt64 sbarH
 
wxInt64 sbarScreen
 
wxInt64 sbarTotal
 
double sbarScale
 
int scrollStep
 
bool bUpdateTrackIndicator
 
bool bScrollBeyondZero
 
bool bAdjustSelectionEdges
 
- Public Attributes inherited from ZoomInfo
int vpos
 
double h
 
float dBr
 
int mWidth { 0 }
 
int mVRulerWidth { 36 }
 

Private Attributes

int mHeight { 0 }
 

Additional Inherited Members

- Public Types inherited from ZoomInfo
enum  FisheyeState { HIDDEN, PINNED, NUM_STATES }
 
typedef std::vector< IntervalIntervals
 
 PrefsListener ()
 
virtual ~PrefsListener ()
 
- Static Protected Member Functions inherited from PrefsListener
static void Broadcast (int id=0)
 Call this static function to notify all PrefsListener objects. More...
 
- Protected Attributes inherited from ZoomInfo
double zoom
 

Detailed Description

Definition at line 167 of file ViewInfo.h.

Constructor & Destructor Documentation

◆ ViewInfo() [1/2]

ViewInfo::ViewInfo ( double  start,
double  screenDuration,
double  pixelsPerSecond 
)

Definition at line 171 of file ViewInfo.cpp.

172  : ZoomInfo(start, pixelsPerSecond)
173  , selectedRegion()
174  , total(screenDuration)
175  , sbarH(0)
176  , sbarScreen(1)
177  , sbarTotal(1)
178  , sbarScale(1.0)
179  , scrollStep(16)
180  , bUpdateTrackIndicator(true)
181  , bScrollBeyondZero(false)
182 {
183  UpdatePrefs();
184 }

References UpdatePrefs().

Here is the call graph for this function:

◆ ViewInfo() [2/2]

ViewInfo::ViewInfo ( const ViewInfo )

Member Function Documentation

◆ Get() [1/2]

ViewInfo & ViewInfo::Get ( AudacityProject project)
static

Definition at line 161 of file ViewInfo.cpp.

162 {
163  return project.AttachedObjects::Get< ViewInfo >( key );
164 }

References key.

Referenced by ExportCommand::Apply(), SelectTimeCommand::Apply(), SetLabelCommand::Apply(), ProjectSelectionManager::AS_ModifySelection(), SelectHandle::Cancel(), AdornedRulerPanel::QPHandle::Cancel(), CutlineHandle::Cancel(), AdornedRulerPanel::ClearPlayRegion(), AdornedRulerPanel::QPHandle::Click(), LabelGlyphHandle::Click(), LabelTextHandle::Click(), StretchHandle::Click(), CutlineHandle::Click(), SampleHandle::Click(), BrushHandle::Click(), EnvelopeHandle::Click(), SelectHandle::Click(), TimeShiftHandle::Click(), WaveTrackAffordanceHandle::Click(), WaveformView::DetailedHitTest(), LabelTrackView::DialogForLabelName(), anonymous_namespace{TrackMenus.cpp}::DoAlign(), anonymous_namespace{SelectMenus.cpp}::DoBoundaryMove(), LabelTrackView::DoCaptureKey(), LabelTrackView::DoChar(), anonymous_namespace{ClipMenus.cpp}::DoClipLeftOrRight(), anonymous_namespace{ClipMenus.cpp}::DoClipMove(), CommonTrackPanelCell::DoContextMenu(), anonymous_namespace{ClipMenus.cpp}::DoCursorClipBoundary(), AdornedRulerPanel::DoDrawPlayRegion(), LabelTrackView::DoEditLabels(), EffectUI::DoEffect(), EditCursorOverlay::DoGetRectangle(), AdornedRulerPanel::DoIdle(), SelectUtilities::DoListSelection(), anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), anonymous_namespace{SelectMenus.cpp}::DoNextPeakFrequency(), anonymous_namespace{EditMenus.cpp}::DoPasteNothingSelected(), anonymous_namespace{EditMenus.cpp}::DoPasteText(), ProjectAudioManager::DoPlayStopSelect(), ProjectWindow::DoScroll(), anonymous_namespace{ClipMenus.cpp}::DoSelectClip(), anonymous_namespace{ClipMenus.cpp}::DoSelectClipBoundary(), AdornedRulerPanel::DoSelectionChange(), SelectUtilities::DoSelectSomething(), anonymous_namespace{SelectUtilities.cpp}::DoSelectTimeAndAudioTracks(), SelectUtilities::DoSelectTimeAndTracks(), ProjectWindow::DoZoomFit(), anonymous_namespace{ViewMenus.cpp}::DoZoomFitV(), LabelGlyphHandle::Drag(), SampleHandle::Drag(), BrushHandle::Drag(), EnvelopeHandle::Drag(), SelectHandle::Drag(), TimeShiftHandle::Drag(), AdornedRulerPanel::DragSelection(), EditCursorOverlay::Draw(), TranscriptionToolBar::EnableDisableButtons(), EditActions::Handler::FindSelection(), ProjectWindow::FixScrollbars(), Get(), FrequencyPlotDialog::GetAudio(), WaveTrackSubView::GetMenuItems(), anonymous_namespace{AdornedRulerPanel.cpp}::GetPlayHeadFraction(), anonymous_namespace{AdornedRulerPanel.cpp}::GetPlayHeadX(), TranscriptionToolBar::GetSamples(), CompareAudioCommand::GetSelection(), anonymous_namespace{EnvelopeHandle.cpp}::GetTimeTrackData(), anonymous_namespace{ViewMenus.cpp}::GetZoomOfSelection(), ProjectWindow::GetZoomOfToFit(), anonymous_namespace{SelectMenus.cpp}::GridMove(), AdornedRulerPanel::HandleQPDrag(), AdornedRulerPanel::HandleQPRelease(), AUPImportFileHandle::HandleTimeTrack(), EnvelopeHandle::HitEnvelope(), NoteTrackAffordanceControls::HitTest(), WaveTrackAffordanceControls::HitTest(), BrushHandle::HitTest(), CutlineHandle::HitTest(), SampleHandle::HitTest(), SelectHandle::HitTest(), StretchHandle::HitTest(), AUPImportFileHandle::Import(), ProjectHistory::InitialState(), InitProjectWindow(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), AdornedRulerPanel::LockPlayRegion(), ProjectWindow::MayScrollBeyondZero(), ProjectHistory::ModifyState(), anonymous_namespace{SelectMenus.cpp}::MoveWhenAudioInactive(), anonymous_namespace{SelectMenus.cpp}::OffsetTime(), LabelEditActions::Handler::OnAddLabel(), EffectUIHost::OnApply(), LabelTrackView::OnContextMenu(), EditActions::Handler::OnCopy(), LabelEditActions::Handler::OnCopyLabels(), SelectActions::Handler::OnCursorPositionStore(), SelectActions::Handler::OnCursorSelEnd(), SelectActions::Handler::OnCursorSelStart(), SelectActions::Handler::OnCursorTrackEnd(), SelectActions::Handler::OnCursorTrackStart(), EditActions::Handler::OnCut(), LabelEditActions::Handler::OnCutLabels(), EditActions::Handler::OnDelete(), LabelEditActions::Handler::OnDeleteLabels(), EditActions::Handler::OnDisjoin(), LabelEditActions::Handler::OnDisjoinLabels(), EditActions::Handler::OnDuplicate(), FileActions::Handler::OnExportSelection(), ContrastDialog::OnGetBackground(), ContrastDialog::OnGetForeground(), ViewActions::Handler::OnGoSelEnd(), ViewActions::Handler::OnGoSelStart(), SelectionBar::OnIdle(), TimeToolBar::OnIdle(), EditActions::Handler::OnJoin(), LabelEditActions::Handler::OnJoinLabels(), AdornedRulerPanel::OnLockPlayRegion(), HighlightTextCtrl::OnMouseEvent(), TrackActions::Handler::OnNewTimeTrack(), AdornedRulerPanel::OnPaint(), LabelEditActions::Handler::OnPasteNewLabel(), EffectUIHost::OnPlay(), TransportActions::Handler::OnPlayAfterSelectionEnd(), TransportActions::Handler::OnPlayAfterSelectionStart(), EffectUIHost::OnPlayback(), TransportActions::Handler::OnPlayBeforeAndAfterSelectionEnd(), TransportActions::Handler::OnPlayBeforeAndAfterSelectionStart(), TransportActions::Handler::OnPlayBeforeSelectionEnd(), TransportActions::Handler::OnPlayBeforeSelectionStart(), TransportActions::Handler::OnPlayToSelection(), ProjectAudioManager::OnRecord(), ProjectWindow::OnScroll(), ProjectWindow::OnScrollLeft(), ProjectWindow::OnScrollLeftButton(), ProjectWindow::OnScrollRight(), ProjectWindow::OnScrollRightButton(), SelectActions::Handler::OnSelectCursorEnd(), SelectActions::Handler::OnSelectCursorStoredCursor(), SelectActions::Handler::OnSelectionRestore(), SelectActions::Handler::OnSelectionSave(), SelectActions::Handler::OnSelectNone(), SelectActions::Handler::OnSelectStartCursor(), SelectActions::Handler::OnSelectTrackStartToEnd(), SelectActions::Handler::OnSetLeftSelection(), SelectActions::Handler::OnSetRightSelection(), EditActions::Handler::OnSilence(), LabelEditActions::Handler::OnSilenceLabels(), EditActions::Handler::OnSplitCut(), LabelEditActions::Handler::OnSplitCutLabels(), EditActions::Handler::OnSplitDelete(), LabelEditActions::Handler::OnSplitDeleteLabels(), LabelEditActions::Handler::OnSplitLabels(), EditActions::Handler::OnSplitNew(), LyricsWindow::OnTimer(), ProjectWindow::PlaybackScroller::OnTimer(), PlayIndicatorOverlay::OnTimer(), ScrubbingOverlay::OnTimer(), EditActions::Handler::OnTrim(), SelectActions::Handler::OnZeroCrossing(), ViewActions::Handler::OnZoomSel(), ViewActions::Handler::OnZoomToggle(), anonymous_namespace{ProjectWindow.cpp}::MouseWheelHandler::operator()(), TimeTrack::PasteInto(), ProjectWindow::PixelWidthBeforeTime(), TranscriptionToolBar::PlayAtSpeed(), ProjectAudioManager::PlayCurrentRegion(), anonymous_namespace{TransportMenus.cpp}::PlayCurrentRegionAndWait(), ProjectAudioManager::PlayPlayRegion(), PlayRegionLockedFlag(), PlayRegionNotLockedFlag(), ProjectHistory::PopState(), SelectHandle::Preview(), Generator::Process(), NyquistEffect::Process(), Effect::ProcessTrack(), ProjectHistory::PushState(), anonymous_namespace{TransportMenus.cpp}::RecordAndWait(), AdornedRulerPanel::QPHandle::Release(), LabelGlyphHandle::Release(), StretchHandle::Release(), EnvelopeHandle::Release(), ZoomHandle::Release(), ProjectManager::ResetProjectToEmpty(), ProjectWindow::Rewind(), ProjectWindow::ScrollingLowerBoundTime(), ProjectWindow::ScrollIntoView(), anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive(), SelectUtilities::SelectAllIfNone(), SelectUtilities::SelectAllIfNoneAndAllowed(), NoteTrackAffordanceHandle::SelectAt(), WaveTrackAffordanceHandle::SelectAt(), ProjectWindow::SetHorizontalThumb(), AdornedRulerPanel::SetPlayRegion(), ContrastDialog::SetStartAndEndTime(), SelectHandle::SetUseSnap(), AdornedRulerPanel::ShowMenu(), ProjectWindow::SkipEnd(), ProjectSelectionManager::SnapSelection(), ProjectSelectionManager::SSBL_ModifySpectralSelection(), AdornedRulerPanel::StartQPPlay(), SelectHandle::StartSelection(), StretchHandle::Stretch(), TimeSelectedPred(), ScreenshotBigDialog::TimeZoom(), AdornedRulerPanel::UnlockPlayRegion(), AdornedRulerPanel::QuickPlayRulerOverlay::Update(), LyricsPanel::Update(), LyricsPanel::UpdateLyrics(), AdornedRulerPanel::UpdateQuickPlayPos(), EnvelopeHandle::WaveTrackHitTest(), ProjectWindow::Zoom(), ProjectWindow::ZoomBy(), ZoomInAvailableFlag(), ProjectWindow::ZoomInByFactor(), ZoomOutAvailableFlag(), and ProjectWindow::ZoomOutByFactor().

◆ Get() [2/2]

const ViewInfo & ViewInfo::Get ( const AudacityProject project)
static

Definition at line 166 of file ViewInfo.cpp.

167 {
168  return Get( const_cast< AudacityProject & >( project ) );
169 }

References Get().

Here is the call graph for this function:

◆ GetBeforeScreenWidth()

double ViewInfo::GetBeforeScreenWidth ( ) const
inline

Definition at line 185 of file ViewInfo.h.

186  {
187  return h * zoom;
188  }

References ZoomInfo::zoom.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

Here is the caller graph for this function:

◆ GetHeight()

int ViewInfo::GetHeight ( ) const
inline

Definition at line 178 of file ViewInfo.h.

178 { return mHeight; }

◆ GetTotalWidth()

double ViewInfo::GetTotalWidth ( ) const
inline

Definition at line 191 of file ViewInfo.h.

192  { return total * zoom; }

References ZoomInfo::zoom.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

Here is the caller graph for this function:

◆ operator=()

ViewInfo& ViewInfo::operator= ( const ViewInfo )

◆ SetBeforeScreenWidth()

void ViewInfo::SetBeforeScreenWidth ( wxInt64  beforeWidth,
wxInt64  screenWidth,
double  lowerBoundTime = 0.0 
)

Definition at line 206 of file ViewInfo.cpp.

207 {
208  h =
209  std::max(lowerBoundTime,
210  std::min(total - screenWidth / zoom,
211  beforeWidth / zoom));
212 }

References ZoomInfo::h, min(), total, and ZoomInfo::zoom.

Referenced by AttachableScrollBar::SetViewInfoFromScrollBar().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetHeight()

void ViewInfo::SetHeight ( int  height)
inline

Definition at line 179 of file ViewInfo.h.

179 { mHeight = height; }

Referenced by TrackPanel::OnSize().

Here is the caller graph for this function:

◆ UpdatePrefs()

void ViewInfo::UpdatePrefs ( )
overridevirtual

Implements PrefsListener.

Definition at line 194 of file ViewInfo.cpp.

195 {
197 #ifdef EXPERIMENTAL_SCROLLING_LIMITS
199 #endif
200  gPrefs->Read(wxT("/GUI/AdjustSelectionEdges"), &bAdjustSelectionEdges,
201  true);
202 
204 }

References bAdjustSelectionEdges, bScrollBeyondZero, gPrefs, Setting< T >::Read(), ScrollingPreference, ZoomInfo::UpdatePrefs(), UpdateScrollPrefsID(), and UpdateSelectedPrefs().

Referenced by ViewInfo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateScrollPrefsID()

int ViewInfo::UpdateScrollPrefsID ( )
static

Definition at line 255 of file ViewInfo.cpp.

256 {
257  return 10000;
258 }

Referenced by AdornedRulerPanel::OnAutoScroll(), UpdatePrefs(), and UpdateSelectedPrefs().

Here is the caller graph for this function:

◆ UpdateSelectedPrefs()

void ViewInfo::UpdateSelectedPrefs ( int  id)
overridevirtual

Reimplemented from PrefsListener.

Definition at line 186 of file ViewInfo.cpp.

187 {
188  if (id == UpdateScrollPrefsID())
189  gPrefs->Read(wxT("/GUI/AutoScroll"), &bUpdateTrackIndicator,
190  true);
192 }

References bUpdateTrackIndicator, gPrefs, UpdateScrollPrefsID(), and PrefsListener::UpdateSelectedPrefs().

Referenced by UpdatePrefs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteXMLAttributes()

void ViewInfo::WriteXMLAttributes ( XMLWriter xmlFile) const

Definition at line 214 of file ViewInfo.cpp.

216 {
217  selectedRegion.WriteXMLAttributes(xmlFile, wxT("sel0"), wxT("sel1"));
218  xmlFile.WriteAttr(wxT("vpos"), vpos);
219  xmlFile.WriteAttr(wxT("h"), h, 10);
220  xmlFile.WriteAttr(wxT("zoom"), zoom, 10);
221 }

Member Data Documentation

◆ bAdjustSelectionEdges

bool ViewInfo::bAdjustSelectionEdges

Definition at line 222 of file ViewInfo.h.

Referenced by UpdatePrefs().

◆ bScrollBeyondZero

bool ViewInfo::bScrollBeyondZero

Definition at line 221 of file ViewInfo.h.

Referenced by UpdatePrefs().

◆ bUpdateTrackIndicator

bool ViewInfo::bUpdateTrackIndicator

◆ mHeight

int ViewInfo::mHeight { 0 }
private

Definition at line 227 of file ViewInfo.h.

◆ playRegion

PlayRegion ViewInfo::playRegion

◆ sbarH

wxInt64 ViewInfo::sbarH

◆ sbarScale

double ViewInfo::sbarScale

Definition at line 211 of file ViewInfo.h.

◆ sbarScreen

wxInt64 ViewInfo::sbarScreen

Definition at line 204 of file ViewInfo.h.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

◆ sbarTotal

wxInt64 ViewInfo::sbarTotal

Definition at line 205 of file ViewInfo.h.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

◆ scrollStep

int ViewInfo::scrollStep

Definition at line 214 of file ViewInfo.h.

Referenced by TrackPanel::OnEnsureVisible(), and TrackPanel::VerticalScroll().

◆ selectedRegion

NotifyingSelectedRegion ViewInfo::selectedRegion

Definition at line 196 of file ViewInfo.h.

Referenced by SelectHandle::AdjustFreqSelection(), AdornedRulerPanel::AdornedRulerPanel(), ExportCommand::Apply(), SelectTimeCommand::Apply(), SetLabelCommand::Apply(), SelectHandle::AssignSelection(), SelectHandle::Cancel(), AdornedRulerPanel::QPHandle::Cancel(), CutlineHandle::Cancel(), LabelTrackView::Char(), anonymous_namespace{SelectHandle.cpp}::ChooseBoundary(), AdornedRulerPanel::QPHandle::Click(), anonymous_namespace{TrackMenus.cpp}::DoAlign(), LabelTrackView::DoCaptureKey(), LabelTrackView::DoChar(), anonymous_namespace{ClipMenus.cpp}::DoCursorClipBoundary(), AdornedRulerPanel::DoDrawSelection(), EffectUI::DoEffect(), anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), anonymous_namespace{EditMenus.cpp}::DoPasteNothingSelected(), anonymous_namespace{EditMenus.cpp}::DoPasteText(), anonymous_namespace{ClipMenus.cpp}::DoSelectClip(), anonymous_namespace{ClipMenus.cpp}::DoSelectClipBoundary(), SelectUtilities::DoSelectSomething(), anonymous_namespace{SelectUtilities.cpp}::DoSelectTimeAndAudioTracks(), SelectUtilities::DoSelectTimeAndTracks(), TrackPanel::DrawTracks(), TranscriptionToolBar::EnableDisableButtons(), LabelDialog::FindInitialRow(), EditActions::Handler::FindSelection(), FrequencyPlotDialog::GetAudio(), TranscriptionToolBar::GetSamples(), CompareAudioCommand::GetSelection(), StretchHandle::GetT0(), StretchHandle::GetT1(), NoteTrackShifter::HitTest(), WaveTrackShifter::HitTest(), LabelTrackShifter::HitTest(), ClipMoveState::Init(), LabelTrackView::KeyDown(), WaveTrackAffordanceControls::KeyDown(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), SelectHandle::MoveSnappingFreqSelection(), anonymous_namespace{WaveTrackAffordanceControls.cpp}::NextClipLooped(), LabelEditActions::Handler::OnAddLabel(), EffectUIHost::OnApply(), AdornedRulerPanel::OnAudioStartStop(), LabelTrackView::OnContextMenu(), EditActions::Handler::OnCopy(), LabelEditActions::Handler::OnCopyLabels(), SelectActions::Handler::OnCursorPositionStore(), SelectActions::Handler::OnCursorSelEnd(), SelectActions::Handler::OnCursorSelStart(), SelectActions::Handler::OnCursorTrackEnd(), SelectActions::Handler::OnCursorTrackStart(), EditActions::Handler::OnCut(), LabelEditActions::Handler::OnCutLabels(), EditActions::Handler::OnDelete(), LabelEditActions::Handler::OnDeleteLabels(), EditActions::Handler::OnDisjoin(), LabelEditActions::Handler::OnDisjoinLabels(), EditActions::Handler::OnDuplicate(), FileActions::Handler::OnExportSelection(), ContrastDialog::OnGetBackground(), ContrastDialog::OnGetForeground(), SelectionBar::OnIdle(), EditActions::Handler::OnJoin(), LabelEditActions::Handler::OnJoinLabels(), HighlightTextCtrl::OnMouseEvent(), TrackPanel::OnPaint(), AdornedRulerPanel::OnPaint(), LabelEditActions::Handler::OnPasteNewLabel(), EffectUIHost::OnPlayback(), ProjectAudioManager::OnRecord(), LabelDialog::OnSelectCell(), SelectActions::Handler::OnSelectCursorEnd(), SelectActions::Handler::OnSelectCursorStoredCursor(), SelectActions::Handler::OnSelectionRestore(), SelectActions::Handler::OnSelectionSave(), SelectActions::Handler::OnSelectNone(), SelectActions::Handler::OnSelectStartCursor(), SelectActions::Handler::OnSetLeftSelection(), SelectActions::Handler::OnSetRightSelection(), EditActions::Handler::OnSilence(), LabelEditActions::Handler::OnSilenceLabels(), EditActions::Handler::OnSplitCut(), LabelEditActions::Handler::OnSplitCutLabels(), EditActions::Handler::OnSplitDelete(), LabelEditActions::Handler::OnSplitDeleteLabels(), LabelEditActions::Handler::OnSplitLabels(), EditActions::Handler::OnSplitNew(), LyricsWindow::OnTimer(), TrackPanel::OnTimer(), EditActions::Handler::OnTrim(), SelectActions::Handler::OnZeroCrossing(), ViewActions::Handler::OnZoomSel(), ProjectAudioManager::PlayPlayRegion(), Generator::Process(), NyquistEffect::Process(), Effect::ProcessTrack(), anonymous_namespace{TransportMenus.cpp}::RecordAndWait(), WaveTrackAffordanceControls::SelectNextClip(), SelectionState::SelectTrackLength(), ContrastDialog::SetStartAndEndTime(), SelectHandle::SnapCenterOnce(), SelectHandle::StartFreqSelection(), SelectHandle::StartSnappingFreqSelection(), TimeSelectedPred(), AdornedRulerPanel::QuickPlayRulerOverlay::Update(), LyricsPanel::Update(), LyricsPanel::UpdateLyrics(), and TrackPanel::UpdateViewIfNoTracks().

◆ total

double ViewInfo::total

Definition at line 201 of file ViewInfo.h.

Referenced by SetBeforeScreenWidth().


The documentation for this class was generated from the following files:
ZoomInfo::vpos
int vpos
Definition: ZoomInfo.h:58
ViewInfo::Get
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:161
ViewInfo::bUpdateTrackIndicator
bool bUpdateTrackIndicator
Definition: ViewInfo.h:219
ZoomInfo::UpdatePrefs
void UpdatePrefs() override
Definition: ZoomInfo.cpp:31
gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:70
ViewInfo
Definition: ViewInfo.h:169
ZoomInfo::ZoomInfo
ZoomInfo(double start, double pixelsPerSecond)
Definition: ZoomInfo.cpp:19
ViewInfo::sbarH
wxInt64 sbarH
Definition: ViewInfo.h:203
ViewInfo::sbarScreen
wxInt64 sbarScreen
Definition: ViewInfo.h:204
ViewInfo::sbarTotal
wxInt64 sbarTotal
Definition: ViewInfo.h:205
ScrollingPreference
BoolSetting ScrollingPreference
Definition: ViewInfo.cpp:266
Setting::Read
bool Read(T *pVar) const
overload of Read returning a boolean that is true if the value was previously defined *‍/
Definition: Prefs.h:128
ViewInfo::bScrollBeyondZero
bool bScrollBeyondZero
Definition: ViewInfo.h:221
ViewInfo::scrollStep
int scrollStep
Definition: ViewInfo.h:214
PrefsListener::UpdateSelectedPrefs
virtual void UpdateSelectedPrefs(int id)
Definition: Prefs.cpp:127
ViewInfo::selectedRegion
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:196
ViewInfo::mHeight
int mHeight
Definition: ViewInfo.h:227
key
static const AudacityProject::AttachedObjects::RegisteredFactory key
Definition: ViewInfo.cpp:155
ViewInfo::UpdateSelectedPrefs
void UpdateSelectedPrefs(int id) override
Definition: ViewInfo.cpp:186
NotifyingSelectedRegion::WriteXMLAttributes
void WriteXMLAttributes(XMLWriter &xmlFile, const wxChar *legacyT0Name, const wxChar *legacyT1Name) const
Definition: ViewInfo.h:58
ViewInfo::UpdateScrollPrefsID
static int UpdateScrollPrefsID()
Definition: ViewInfo.cpp:255
min
int min(int a, int b)
Definition: CompareAudioCommand.cpp:106
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
XMLWriter::WriteAttr
void WriteAttr(const wxString &name, const Identifier &value)
Definition: XMLWriter.h:34
ViewInfo::UpdatePrefs
void UpdatePrefs() override
Definition: ViewInfo.cpp:194
ViewInfo::sbarScale
double sbarScale
Definition: ViewInfo.h:211
ViewInfo::bAdjustSelectionEdges
bool bAdjustSelectionEdges
Definition: ViewInfo.h:222
ZoomInfo::zoom
double zoom
Definition: ZoomInfo.h:63
ZoomInfo::h
double h
Definition: ZoomInfo.h:60
ViewInfo::total
double total
Definition: ViewInfo.h:201