Audacity  3.0.3
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]

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
 
bool ReadXMLAttribute (const wxChar *attr, const wxChar *value)
 
- 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 GetLabelWidth () 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 ()
 
- Protected Attributes inherited from ZoomInfo
double zoom
 

Detailed Description

Definition at line 170 of file ViewInfo.h.

Constructor & Destructor Documentation

◆ ViewInfo() [1/2]

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

Definition at line 166 of file ViewInfo.cpp.

167  : ZoomInfo(start, pixelsPerSecond)
168  , selectedRegion()
169  , total(screenDuration)
170  , sbarH(0)
171  , sbarScreen(1)
172  , sbarTotal(1)
173  , sbarScale(1.0)
174  , scrollStep(16)
175  , bUpdateTrackIndicator(true)
176  , bScrollBeyondZero(false)
177 {
178  UpdatePrefs();
179 }

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 156 of file ViewInfo.cpp.

157 {
158  return project.AttachedObjects::Get< ViewInfo >( key );
159 }

References key.

Referenced by ExportCommand::Apply(), SelectTimeCommand::Apply(), SetLabelCommand::Apply(), ProjectSelectionManager::AS_ModifySelection(), SelectHandle::Cancel(), AdornedRulerPanel::QPHandle::Cancel(), LabelTextHandle::Cancel(), CutlineHandle::Cancel(), AdornedRulerPanel::ClearPlayRegion(), AdornedRulerPanel::QPHandle::Click(), LabelGlyphHandle::Click(), LabelTextHandle::Click(), StretchHandle::Click(), CutlineHandle::Click(), SampleHandle::Click(), EnvelopeHandle::Click(), SelectHandle::Click(), TimeShiftHandle::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(), 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(), EnvelopeHandle::Drag(), SelectHandle::Drag(), TimeShiftHandle::Drag(), AdornedRulerPanel::DragSelection(), EditCursorOverlay::Draw(), TranscriptionToolBar::EnableDisableButtons(), GetInfoCommand::ExploreTrackPanel(), ProjectWindow::FixScrollbars(), Get(), FrequencyPlotDialog::GetAudio(), 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(), ProjectFileIO::HandleXMLTag(), EnvelopeHandle::HitEnvelope(), CutlineHandle::HitTest(), SampleHandle::HitTest(), SelectHandle::HitTest(), StretchHandle::HitTest(), AUPImportFileHandle::Import(), ProjectHistory::InitialState(), InitProjectWindow(), IsVisibleTrack::IsVisibleTrack(), 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(), EditActions::Handler::OnPaste(), 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::OnSplit(), 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(), 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(), ProjectFileIO::WriteXML(), 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 161 of file ViewInfo.cpp.

162 {
163  return Get( const_cast< AudacityProject & >( project ) );
164 }

References Get().

Here is the call graph for this function:

◆ GetBeforeScreenWidth()

double ViewInfo::GetBeforeScreenWidth ( ) const
inline

Definition at line 188 of file ViewInfo.h.

189  {
190  return h * zoom;
191  }

References ZoomInfo::zoom.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

Here is the caller graph for this function:

◆ GetHeight()

int ViewInfo::GetHeight ( ) const
inline

Definition at line 181 of file ViewInfo.h.

181 { return mHeight; }

Referenced by IsVisibleTrack::IsVisibleTrack().

Here is the caller graph for this function:

◆ GetTotalWidth()

double ViewInfo::GetTotalWidth ( ) const
inline

Definition at line 194 of file ViewInfo.h.

195  { return total * zoom; }

References ZoomInfo::zoom.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

Here is the caller graph for this function:

◆ operator=()

ViewInfo& ViewInfo::operator= ( const ViewInfo )

◆ ReadXMLAttribute()

bool ViewInfo::ReadXMLAttribute ( const wxChar *  attr,
const wxChar *  value 
)

Definition at line 219 of file ViewInfo.cpp.

220 {
221  if (selectedRegion.HandleXMLAttribute(attr, value, wxT("sel0"), wxT("sel1")))
222  return true;
223 
224  if (!wxStrcmp(attr, wxT("vpos"))) {
225  long longVpos;
226  wxString(value).ToLong(&longVpos);
227  vpos = (int)(longVpos);
228  return true;
229  }
230 
231  if (!wxStrcmp(attr, wxT("h"))) {
233  return true;
234  }
235 
236  if (!wxStrcmp(attr, wxT("zoom"))) {
238  return true;
239  }
240 
241  return false;
242 }

References Internat::CompatibleToDouble(), ZoomInfo::h, NotifyingSelectedRegion::HandleXMLAttribute(), selectedRegion, ZoomInfo::vpos, and ZoomInfo::zoom.

Here is the call graph for this function:

◆ SetBeforeScreenWidth()

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

Definition at line 202 of file ViewInfo.cpp.

203 {
204  h =
205  std::max(lowerBoundTime,
206  std::min(total - screenWidth / zoom,
207  beforeWidth / zoom));
208 }

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 182 of file ViewInfo.h.

182 { mHeight = height; }

Referenced by TrackPanel::OnSize().

Here is the caller graph for this function:

◆ UpdatePrefs()

void ViewInfo::UpdatePrefs ( )
overridevirtual

Implements PrefsListener.

Definition at line 189 of file ViewInfo.cpp.

190 {
192 #ifdef EXPERIMENTAL_SCROLLING_LIMITS
195 #endif
196  gPrefs->Read(wxT("/GUI/AdjustSelectionEdges"), &bAdjustSelectionEdges,
197  true);
198 
200 }

References bAdjustSelectionEdges, bScrollBeyondZero, gPrefs, TracksBehaviorsPrefs::ScrollingPreferenceDefault(), TracksBehaviorsPrefs::ScrollingPreferenceKey(), 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 244 of file ViewInfo.cpp.

245 {
246  static int value = wxNewId();
247  return value;
248 }

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 181 of file ViewInfo.cpp.

182 {
183  if (id == UpdateScrollPrefsID())
184  gPrefs->Read(wxT("/GUI/AutoScroll"), &bUpdateTrackIndicator,
185  true);
187 }

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 210 of file ViewInfo.cpp.

212 {
213  selectedRegion.WriteXMLAttributes(xmlFile, wxT("sel0"), wxT("sel1"));
214  xmlFile.WriteAttr(wxT("vpos"), vpos);
215  xmlFile.WriteAttr(wxT("h"), h, 10);
216  xmlFile.WriteAttr(wxT("zoom"), zoom, 10);
217 }

Member Data Documentation

◆ bAdjustSelectionEdges

bool ViewInfo::bAdjustSelectionEdges

Definition at line 225 of file ViewInfo.h.

Referenced by UpdatePrefs().

◆ bScrollBeyondZero

bool ViewInfo::bScrollBeyondZero

Definition at line 224 of file ViewInfo.h.

Referenced by UpdatePrefs().

◆ bUpdateTrackIndicator

bool ViewInfo::bUpdateTrackIndicator

◆ mHeight

int ViewInfo::mHeight { 0 }
private

Definition at line 231 of file ViewInfo.h.

◆ playRegion

PlayRegion ViewInfo::playRegion

◆ sbarH

wxInt64 ViewInfo::sbarH

◆ sbarScale

double ViewInfo::sbarScale

Definition at line 214 of file ViewInfo.h.

◆ sbarScreen

wxInt64 ViewInfo::sbarScreen

Definition at line 207 of file ViewInfo.h.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

◆ sbarTotal

wxInt64 ViewInfo::sbarTotal

Definition at line 208 of file ViewInfo.h.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

◆ scrollStep

int ViewInfo::scrollStep

Definition at line 217 of file ViewInfo.h.

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

◆ selectedRegion

NotifyingSelectedRegion ViewInfo::selectedRegion

Definition at line 199 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(), FrequencyPlotDialog::GetAudio(), TranscriptionToolBar::GetSamples(), CompareAudioCommand::GetSelection(), StretchHandle::GetT0(), StretchHandle::GetT1(), NoteTrackShifter::HitTest(), WaveTrackShifter::HitTest(), LabelTrackShifter::HitTest(), ClipMoveState::Init(), LabelTrackView::KeyDown(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), SelectHandle::MoveSnappingFreqSelection(), 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(), EditActions::Handler::OnPaste(), 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::OnSplit(), 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(), ReadXMLAttribute(), anonymous_namespace{TransportMenus.cpp}::RecordAndWait(), 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 204 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:156
ViewInfo::bUpdateTrackIndicator
bool bUpdateTrackIndicator
Definition: ViewInfo.h:222
NotifyingSelectedRegion::HandleXMLAttribute
bool HandleXMLAttribute(const wxChar *attr, const wxChar *value, const wxChar *legacyT0Name, const wxChar *legacyT1Name)
Definition: ViewInfo.cpp:37
ZoomInfo::UpdatePrefs
void UpdatePrefs() override
Definition: ZoomInfo.cpp:35
gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:68
ViewInfo
Definition: ViewInfo.h:172
ZoomInfo::ZoomInfo
ZoomInfo(double start, double pixelsPerSecond)
Definition: ZoomInfo.cpp:23
TracksBehaviorsPrefs::ScrollingPreferenceKey
static const wxChar * ScrollingPreferenceKey()
Definition: TracksBehaviorsPrefs.cpp:49
ViewInfo::sbarH
wxInt64 sbarH
Definition: ViewInfo.h:206
ViewInfo::sbarScreen
wxInt64 sbarScreen
Definition: ViewInfo.h:207
ViewInfo::sbarTotal
wxInt64 sbarTotal
Definition: ViewInfo.h:208
ViewInfo::bScrollBeyondZero
bool bScrollBeyondZero
Definition: ViewInfo.h:224
ViewInfo::scrollStep
int scrollStep
Definition: ViewInfo.h:217
PrefsListener::UpdateSelectedPrefs
virtual void UpdateSelectedPrefs(int id)
Definition: Prefs.cpp:100
ViewInfo::selectedRegion
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:199
ViewInfo::mHeight
int mHeight
Definition: ViewInfo.h:231
key
static const AudacityProject::AttachedObjects::RegisteredFactory key
Definition: ViewInfo.cpp:150
ViewInfo::UpdateSelectedPrefs
void UpdateSelectedPrefs(int id) override
Definition: ViewInfo.cpp:181
NotifyingSelectedRegion::WriteXMLAttributes
void WriteXMLAttributes(XMLWriter &xmlFile, const wxChar *legacyT0Name, const wxChar *legacyT1Name) const
Definition: ViewInfo.h:56
ViewInfo::UpdateScrollPrefsID
static int UpdateScrollPrefsID()
Definition: ViewInfo.cpp:244
TracksBehaviorsPrefs::ScrollingPreferenceDefault
static bool ScrollingPreferenceDefault()
Definition: TracksBehaviorsPrefs.h:36
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:112
XMLWriter::WriteAttr
void WriteAttr(const wxString &name, const Identifier &value)
Definition: XMLWriter.h:34
ViewInfo::UpdatePrefs
void UpdatePrefs() override
Definition: ViewInfo.cpp:189
ViewInfo::sbarScale
double sbarScale
Definition: ViewInfo.h:214
ViewInfo::bAdjustSelectionEdges
bool bAdjustSelectionEdges
Definition: ViewInfo.h:225
ZoomInfo::zoom
double zoom
Definition: ZoomInfo.h:63
ZoomInfo::h
double h
Definition: ZoomInfo.h:60
Internat::CompatibleToDouble
static bool CompatibleToDouble(const wxString &stringToConvert, double *result)
Convert a string to a number.
Definition: Internat.cpp:134
ViewInfo::total
double total
Definition: ViewInfo.h:204