Audacity 3.2.0
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 initialization time to hook project file IO. More...
 

Public Member Functions

 ViewInfo (double start, double pixelsPerSecond)
 
 ViewInfo (const ViewInfo &)=delete
 
ViewInfooperator= (const ViewInfo &)=delete
 
int GetHeight () const
 
void SetHeight (int height)
 
void UpdatePrefs () override
 
void UpdateSelectedPrefs (int id) override
 
double GetBeforeScreenWidth () const
 
void WriteXMLAttributes (XMLWriter &xmlFile) const
 
- Public Member Functions inherited from ZoomInfo
 ZoomInfo (double start, double pixelsPerSecond)
 
 ~ZoomInfo ()
 
 ZoomInfo (const ZoomInfo &)=delete
 
ZoomInfooperator= (const ZoomInfo &)=delete
 
double PositionToTime (int64 position, int64 origin=0, bool ignoreFisheye=false) const
 
int64 TimeToPosition (double time, int64 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, int64 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
 
double GetAbsoluteOffset (double offset) const
 
void ZoomBy (double multiplier)
 
Intervals FindIntervals (int64 width, int64 origin=0) const
 
FisheyeState GetFisheyeState () const
 
bool InFisheye (int64, int64=0) const
 
int64 GetFisheyeLeftBoundary (int64=0) const
 
int64 GetFisheyeRightBoundary (int64=0) const
 
- Public Member Functions inherited from PrefsListener
 PrefsListener ()
 
virtual ~PrefsListener ()
 
virtual void UpdatePrefs ()=0
 
- 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 ()
 
- Static Public Member Functions inherited from PrefsListener
static void Broadcast (int id=0)
 Call this static function to notify all PrefsListener objects. More...
 

Public Attributes

NotifyingSelectedRegion selectedRegion
 
PlayRegion playRegion
 
int vpos { 0 }
 Pixel distance from top of tracks to top of visible scrolled area. More...
 
bool bUpdateTrackIndicator
 
- Public Attributes inherited from ZoomInfo
double hpos
 Leftmost visible timeline position in seconds. More...
 
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 }
 
using int64 = std::int64_t
 
typedef std::vector< IntervalIntervals
 
virtual void UpdateSelectedPrefs (int id)
 
- Protected Attributes inherited from ZoomInfo
double zoom
 pixels per second More...
 

Detailed Description

Definition at line 188 of file ViewInfo.h.

Constructor & Destructor Documentation

◆ ViewInfo() [1/2]

ViewInfo::ViewInfo ( double  start,
double  pixelsPerSecond 
)

Definition at line 245 of file ViewInfo.cpp.

246 : ZoomInfo(start, pixelsPerSecond)
249{
250 UpdatePrefs();
251}
bool bUpdateTrackIndicator
Definition: ViewInfo.h:226
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:215
void UpdatePrefs() override
Definition: ViewInfo.cpp:260
ZoomInfo(double start, double pixelsPerSecond)
Definition: ZoomInfo.cpp:21

References UpdatePrefs().

Here is the call graph for this function:

◆ ViewInfo() [2/2]

ViewInfo::ViewInfo ( const ViewInfo )
delete

Member Function Documentation

◆ Get() [1/2]

ViewInfo & ViewInfo::Get ( AudacityProject project)
static

Definition at line 235 of file ViewInfo.cpp.

236{
237 return project.AttachedObjects::Get< ViewInfo >( key );
238}
const auto project
static const AudacityProject::AttachedObjects::RegisteredFactory key
Definition: ViewInfo.cpp:229

References key, and project.

Referenced by SelectUtilities::ActivatePlayRegion(), ExportCommand::Apply(), SelectTimeCommand::Apply(), SetLabelCommand::Apply(), BrushHandleHitTest(), SelectHandle::Cancel(), AdornedRulerPanel::PlayRegionAdjustingHandle::Cancel(), CutlineHandle::Cancel(), AdornedRulerPanel::ClearPlayRegion(), SelectUtilities::ClearPlayRegion(), LabelGlyphHandle::Click(), LabelTextHandle::Click(), StretchHandle::Click(), CutlineHandle::Click(), SampleHandle::Click(), BrushHandle::Click(), EnvelopeHandle::Click(), SelectHandle::Click(), TimeShiftHandle::Click(), WaveTrackAffordanceHandle::Click(), Scrubber::ContinueScrubbingPoll(), WaveformView::DetailedHitTest(), LabelTrackView::DialogForLabelName(), AdornedRulerPanel::MovePlayRegionHandle::DoAdjust(), AdornedRulerPanel::ResizePlayRegionHandle::DoAdjust(), AdornedRulerPanel::NewPlayRegionHandle::DoAdjust(), 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(), WaveChannelView::DoDetailedHitTest(), AdornedRulerPanel::DoDrawPlayRegion(), LabelTrackView::DoEditLabels(), EffectUI::DoEffect(), EditCursorOverlay::DoGetRectangle(), AdornedRulerPanel::DoIdle(), Scrubber::DoKeyboardScrub(), SelectUtilities::DoListSelection(), anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), anonymous_namespace{SpectrumView.cpp}::DoNextPeakFrequency(), anonymous_namespace{EditMenus.cpp}::DoPasteNothingSelected(), anonymous_namespace{EditMenus.cpp}::DoPasteText(), ProjectAudioManager::DoPlayStopSelect(), Viewport::DoScroll(), Scrubber::DoScrub(), anonymous_namespace{ClipMenus.cpp}::DoSelectClip(), anonymous_namespace{ClipMenus.cpp}::DoSelectClipBoundary(), AdornedRulerPanel::DoSelectionChange(), SelectUtilities::DoSelectSomething(), anonymous_namespace{SelectUtilities.cpp}::DoSelectTimeAndAudioTracks(), SelectUtilities::DoSelectTimeAndTracks(), AdornedRulerPanel::NewPlayRegionHandle::DoStartAdjust(), AdornedRulerPanel::MovePlayRegionHandle::DoStartAdjust(), AdjustClipBorder::Drag(), LabelGlyphHandle::Drag(), HighlitClipButtonHandle::Drag(), SampleHandle::Drag(), BrushHandle::Drag(), EnvelopeHandle::Drag(), SelectHandle::Drag(), TimeShiftHandle::Drag(), AdornedRulerPanel::DragSelection(), EditCursorOverlay::Draw(), TimeTrackView::Draw(), TranscriptionToolBar::EnableDisableButtons(), ExportAudioDialog::ExportAudioDialog(), Scrubber::FindScrubSpeed(), anonymous_namespace{EditMenus.cpp}::FindSelection(), Get(), FrequencyPlotDialog::GetAudio(), anonymous_namespace{PitchAndSpeedDialog.cpp}::GetHitClip(), Scrubber::GetKeyboardScrubbingSpeed(), WaveChannelSubView::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(), Viewport::GetZoomOfToFit(), anonymous_namespace{SelectMenus.cpp}::GridMove(), AdornedRulerPanel::HandleSnapping(), WaveClipAdjustBorderHandle::HitAnywhere(), EnvelopeHandle::HitEnvelope(), AdornedRulerPanel::QPCell::HitTest(), NoteTrackAffordanceControls::HitTest(), WaveTrackAffordanceControls::HitTest(), CutlineHandle::HitTest(), SampleHandle::HitTest(), SelectHandle::HitTest(), StretchHandle::HitTest(), AUPImportFileHandle::Import(), SelectUtilities::InactivatePlayRegion(), DefaultPlaybackPolicy::Initialize(), InitProjectWindow(), anonymous_namespace{PitchAndSpeedDialog.cpp}::IsExactlySelected(), anonymous_namespace{TransportMenus.cpp}::IsLoopingEnabled(), anonymous_namespace{EditMenus.cpp}::JoinClipsAvailableFlag(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), Scrubber::MaybeStartScrubbing(), ProjectSelectionManager::ModifySelection(), ProjectSelectionManager::ModifySpectralSelection(), anonymous_namespace{SelectMenus.cpp}::MoveWhenAudioInactive(), anonymous_namespace{SelectMenus.cpp}::OffsetTime(), anonymous_namespace{LabelMenus.cpp}::OnAddLabel(), WaveTrackAffordanceControls::OnAffordanceClick(), EffectUIHost::OnApply(), LabelTrackView::OnContextMenu(), anonymous_namespace{EditMenus.cpp}::OnCopy(), anonymous_namespace{LabelMenus.cpp}::OnCopyLabels(), SelectActions::Handler::OnCursorPositionStore(), SelectActions::Handler::OnCursorSelEnd(), SelectActions::Handler::OnCursorSelStart(), SelectActions::Handler::OnCursorTrackEnd(), SelectActions::Handler::OnCursorTrackStart(), anonymous_namespace{EditMenus.cpp}::OnCut(), anonymous_namespace{LabelMenus.cpp}::OnCutLabels(), anonymous_namespace{EditMenus.cpp}::OnDelete(), anonymous_namespace{LabelMenus.cpp}::OnDeleteLabels(), anonymous_namespace{EditMenus.cpp}::OnDisjoin(), anonymous_namespace{LabelMenus.cpp}::OnDisjoinLabels(), anonymous_namespace{EditMenus.cpp}::OnDuplicate(), ExportAudioDialog::OnExport(), ContrastDialog::OnGetBackground(), ContrastDialog::OnGetForeground(), anonymous_namespace{ViewMenus.cpp}::OnGoSelEnd(), anonymous_namespace{ViewMenus.cpp}::OnGoSelStart(), ControlToolBar::OnIdle(), SelectionBar::OnIdle(), SpectralSelectionBar::OnIdle(), TimeToolBar::OnIdle(), anonymous_namespace{EditMenus.cpp}::OnJoin(), anonymous_namespace{LabelMenus.cpp}::OnJoinLabels(), ControlToolBar::OnLoop(), AdornedRulerPanel::OnPaint(), anonymous_namespace{EditMenus.cpp}::OnPaste(), anonymous_namespace{LabelMenus.cpp}::OnPasteNewLabel(), anonymous_namespace{TransportMenus.cpp}::OnPlayAfterSelectionEnd(), anonymous_namespace{TransportMenus.cpp}::OnPlayAfterSelectionStart(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeAndAfterSelectionEnd(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeAndAfterSelectionStart(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeSelectionEnd(), anonymous_namespace{TransportMenus.cpp}::OnPlayBeforeSelectionStart(), anonymous_namespace{TransportMenus.cpp}::OnPlayToSelection(), anonymous_namespace{TransportMenus.cpp}::OnPunchAndRoll(), ProjectAudioManager::OnRecord(), Viewport::OnScroll(), SelectActions::Handler::OnSelectCursorEnd(), SelectActions::Handler::OnSelectCursorStoredCursor(), SelectActions::Handler::OnSelectionRestore(), SelectActions::Handler::OnSelectionSave(), SelectActions::Handler::OnSelectNone(), SelectActions::Handler::OnSelectStartCursor(), SelectActions::Handler::OnSelectTrackStartToEnd(), anonymous_namespace{TransportMenus.cpp}::OnSetPlayRegionIn(), anonymous_namespace{TransportMenus.cpp}::OnSetPlayRegionOut(), SelectUtilities::OnSetRegion(), anonymous_namespace{EditMenus.cpp}::OnSilence(), anonymous_namespace{LabelMenus.cpp}::OnSilenceLabels(), anonymous_namespace{EditMenus.cpp}::OnSplitCut(), anonymous_namespace{LabelMenus.cpp}::OnSplitCutLabels(), anonymous_namespace{EditMenus.cpp}::OnSplitDelete(), anonymous_namespace{LabelMenus.cpp}::OnSplitDeleteLabels(), anonymous_namespace{LabelMenus.cpp}::OnSplitLabels(), anonymous_namespace{EditMenus.cpp}::OnSplitNew(), ProjectWindow::PlaybackScroller::OnTimer(), PlayIndicatorOverlay::OnTimer(), ScrubbingOverlay::OnTimer(), anonymous_namespace{SpectrumView.cpp}::Handler::OnToggleSpectralSelection(), anonymous_namespace{EditMenus.cpp}::OnTrim(), ProjectWindow::OnViewportMessage(), SelectActions::Handler::OnZeroCrossing(), anonymous_namespace{ViewMenus.cpp}::OnZoomSel(), anonymous_namespace{ViewMenus.cpp}::OnZoomToggle(), Viewport::PixelWidthBeforeTime(), TranscriptionToolBar::PlayAtSpeed(), ProjectAudioManager::PlayCurrentRegion(), TransportUtilities::PlayCurrentRegionAndWait(), ProjectAudioManager::PlayPlayRegion(), AdornedRulerPanel::PlayRegionRectangle(), SelectHandle::Preview(), Generator::Process(), NyquistEffect::Process(), PerTrackEffect::ProcessPass(), TransportUtilities::RecordAndWait(), AdornedRulerPanel::PlayRegionAdjustingHandle::Release(), LabelGlyphHandle::Release(), StretchHandle::Release(), EnvelopeHandle::Release(), ZoomHandle::Release(), ProjectManager::ResetProjectToEmpty(), anonymous_namespace{ViewInfo.cpp}::SelectedRegionRestorer::RestoreUndoRedoState(), AdornedRulerPanel::PlayRegionAdjustingHandle::SavePlayRegion(), Viewport::ScrollIntoView(), Viewport::ScrollToBottom(), Viewport::ScrollToEnd(), Viewport::ScrollToStart(), anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive(), SelectUtilities::SelectAllIfNone(), SelectUtilities::SelectAllIfNoneAndAllowed(), NoteTrackAffordanceHandle::SelectAt(), WaveTrackAffordanceHandle::SelectAt(), WaveClipUIUtilities::SelectClip(), anonymous_namespace{WaveTrackAffordanceControls.cpp}::SelectedIntervalOfFocusedTrack(), AdornedRulerPanel::SelectedRegionRectangle(), anonymous_namespace{ClipOverflowButtonHandle.cpp}::SelectInterval(), GetInfoCommand::SendSelection(), AdornedRulerPanel::SetPlayRegion(), SelectUtilities::SetPlayRegionToSelection(), ContrastDialog::SetStartAndEndTime(), SelectHandle::SetUseSnap(), AdornedRulerPanel::ShowMenu(), Viewport::ShowTrack(), ProjectSelectionManager::SnapSelection(), AdornedRulerPanel::StartQPPlay(), SelectHandle::StartSelection(), StretchHandle::Stretch(), AdornedRulerPanel::CommonRulerHandle::Time(), TimeSelectedPred(), SelectUtilities::TogglePlayRegion(), AdornedRulerPanel::ScrubbingRulerOverlay::Update(), AdornedRulerPanel::UpdateQuickPlayPos(), Viewport::UpdateScrollbarsForTracks(), HighlitClipButtonHandle::UpdateTrackSelection(), EnvelopeHandle::WaveChannelHitTest(), WaveTrackAffordanceControls::WaveTrackAffordanceControls(), DefaultPlaybackPolicy::WriteMessage(), Viewport::Zoom(), Viewport::ZoomAboutCenter(), Viewport::ZoomAboutSelection(), Viewport::ZoomBy(), Viewport::ZoomFitHorizontally(), Viewport::ZoomFitVertically(), ZoomInAvailableFlag(), and ZoomOutAvailableFlag().

◆ Get() [2/2]

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

Definition at line 240 of file ViewInfo.cpp.

241{
242 return Get( const_cast< AudacityProject & >( project ) );
243}
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:235

References Get(), and project.

Here is the call graph for this function:

◆ GetBeforeScreenWidth()

double ViewInfo::GetBeforeScreenWidth ( ) const
inline

Definition at line 208 of file ViewInfo.h.

209 {
210 return hpos * zoom;
211 }
double zoom
pixels per second
Definition: ZoomInfo.h:58
double hpos
Leftmost visible timeline position in seconds.
Definition: ZoomInfo.h:54

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

Here is the caller graph for this function:

◆ GetHeight()

int ViewInfo::GetHeight ( ) const
inline

Definition at line 201 of file ViewInfo.h.

201{ return mHeight; }
int mHeight
Definition: ViewInfo.h:231

◆ operator=()

ViewInfo & ViewInfo::operator= ( const ViewInfo )
delete

◆ SetHeight()

void ViewInfo::SetHeight ( int  height)
inline

Definition at line 202 of file ViewInfo.h.

202{ mHeight = height; }

Referenced by TrackPanel::OnSize().

Here is the caller graph for this function:

◆ UpdatePrefs()

void ViewInfo::UpdatePrefs ( )
overridevirtual

Implements PrefsListener.

Definition at line 260 of file ViewInfo.cpp.

261{
263}
static int UpdateScrollPrefsID()
Definition: ViewInfo.cpp:304
void UpdateSelectedPrefs(int id) override
Definition: ViewInfo.cpp:253

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

305{
306 return 10000;
307}

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

254{
255 if (id == UpdateScrollPrefsID())
256 gPrefs->Read(wxT("/GUI/AutoScroll"), &bUpdateTrackIndicator,
257 true);
258}
wxT("CloseDown"))
audacity::BasicSettings * gPrefs
Definition: Prefs.cpp:68
virtual bool Read(const wxString &key, bool *value) const =0

References bUpdateTrackIndicator, gPrefs, audacity::BasicSettings::Read(), UpdateScrollPrefsID(), and wxT().

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

267{
268 selectedRegion.WriteXMLAttributes(xmlFile, "sel0", "sel1");
269 xmlFile.WriteAttr(wxT("vpos"), vpos);
270 xmlFile.WriteAttr(wxT("h"), hpos, 10);
271 xmlFile.WriteAttr(wxT("zoom"), zoom, 10);
272}
void WriteXMLAttributes(XMLWriter &xmlFile, const char *legacyT0Name, const char *legacyT1Name) const
Definition: ViewInfo.h:46
int vpos
Pixel distance from top of tracks to top of visible scrolled area.
Definition: ViewInfo.h:221
void WriteAttr(const wxString &name, const Identifier &value)
Definition: XMLWriter.h:36

References wxT().

Here is the call graph for this function:

Member Data Documentation

◆ bUpdateTrackIndicator

bool ViewInfo::bUpdateTrackIndicator

◆ mHeight

int ViewInfo::mHeight { 0 }
private

Definition at line 231 of file ViewInfo.h.

◆ playRegion

PlayRegion ViewInfo::playRegion

◆ selectedRegion

NotifyingSelectedRegion ViewInfo::selectedRegion

Definition at line 215 of file ViewInfo.h.

Referenced by SelectHandle::AdjustFreqSelection(), AdornedRulerPanel::AdornedRulerPanel(), ExportCommand::Apply(), SelectTimeCommand::Apply(), SetLabelCommand::Apply(), SelectHandle::AssignSelection(), SelectHandle::Cancel(), CutlineHandle::Cancel(), LabelTrackView::Char(), anonymous_namespace{SelectHandle.cpp}::ChooseBoundary(), anonymous_namespace{TrackMenus.cpp}::DoAlign(), LabelTrackView::DoCaptureKey(), LabelTrackView::DoChar(), anonymous_namespace{ClipMenus.cpp}::DoCursorClipBoundary(), 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(), TimeShiftHandle::DoSlideVertical(), TrackPanel::DrawTracks(), TranscriptionToolBar::EnableDisableButtons(), ExportAudioDialog::ExportAudioDialog(), LabelDialog::FindInitialRow(), anonymous_namespace{EditMenus.cpp}::FindSelection(), FrequencyPlotDialog::GetAudio(), TranscriptionToolBar::GetSamples(), CompareAudioCommand::GetSelection(), StretchHandle::GetT0(), StretchHandle::GetT1(), AdornedRulerPanel::HandleSnapping(), NoteTrackShifter::HitTest(), WaveTrackShifter::HitTest(), LabelTrackShifter::HitTest(), ClipMoveState::Init(), LabelTrackView::KeyDown(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), SelectHandle::MoveSnappingFreqSelection(), anonymous_namespace{LabelMenus.cpp}::OnAddLabel(), EffectUIHost::OnApply(), AdornedRulerPanel::OnAudioStartStop(), LabelTrackView::OnContextMenu(), anonymous_namespace{EditMenus.cpp}::OnCopy(), anonymous_namespace{LabelMenus.cpp}::OnCopyLabels(), SelectActions::Handler::OnCursorPositionStore(), SelectActions::Handler::OnCursorSelEnd(), SelectActions::Handler::OnCursorSelStart(), SelectActions::Handler::OnCursorTrackEnd(), SelectActions::Handler::OnCursorTrackStart(), anonymous_namespace{EditMenus.cpp}::OnCut(), anonymous_namespace{LabelMenus.cpp}::OnCutLabels(), anonymous_namespace{EditMenus.cpp}::OnDelete(), anonymous_namespace{LabelMenus.cpp}::OnDeleteLabels(), anonymous_namespace{EditMenus.cpp}::OnDisjoin(), anonymous_namespace{LabelMenus.cpp}::OnDisjoinLabels(), anonymous_namespace{EditMenus.cpp}::OnDuplicate(), ContrastDialog::OnGetBackground(), ContrastDialog::OnGetForeground(), SelectionBar::OnIdle(), SpectralSelectionBar::OnIdle(), anonymous_namespace{EditMenus.cpp}::OnJoin(), anonymous_namespace{LabelMenus.cpp}::OnJoinLabels(), TrackPanel::OnPaint(), anonymous_namespace{EditMenus.cpp}::OnPaste(), anonymous_namespace{LabelMenus.cpp}::OnPasteNewLabel(), ProjectAudioManager::OnRecord(), LabelDialog::OnSelectCell(), SelectActions::Handler::OnSelectCursorEnd(), SelectActions::Handler::OnSelectCursorStoredCursor(), AdornedRulerPanel::OnSelectionChange(), SelectActions::Handler::OnSelectionRestore(), SelectActions::Handler::OnSelectionSave(), SelectActions::Handler::OnSelectNone(), SelectActions::Handler::OnSelectStartCursor(), anonymous_namespace{EditMenus.cpp}::OnSilence(), anonymous_namespace{LabelMenus.cpp}::OnSilenceLabels(), anonymous_namespace{EditMenus.cpp}::OnSplitCut(), anonymous_namespace{LabelMenus.cpp}::OnSplitCutLabels(), anonymous_namespace{EditMenus.cpp}::OnSplitDelete(), anonymous_namespace{LabelMenus.cpp}::OnSplitDeleteLabels(), anonymous_namespace{LabelMenus.cpp}::OnSplitLabels(), anonymous_namespace{EditMenus.cpp}::OnSplitNew(), TrackPanel::OnTimer(), anonymous_namespace{SpectrumView.cpp}::Handler::OnToggleSpectralSelection(), anonymous_namespace{EditMenus.cpp}::OnTrim(), SelectActions::Handler::OnZeroCrossing(), anonymous_namespace{ViewMenus.cpp}::OnZoomSel(), ProjectAudioManager::PlayPlayRegion(), Generator::Process(), NyquistEffect::Process(), PerTrackEffect::ProcessPass(), TransportUtilities::RecordAndWait(), anonymous_namespace{ViewInfo.cpp}::SelectedRegionRestorer::RestoreUndoRedoState(), anonymous_namespace{WaveChannelView.cpp}::SelectedClip(), WaveChannelView::SelectNextClip(), SelectionState::SelectTrackLength(), GetInfoCommand::SendSelection(), ContrastDialog::SetStartAndEndTime(), SelectHandle::SnapCenterOnce(), SelectHandle::StartFreqSelection(), SelectHandle::StartSnappingFreqSelection(), TimeSelectedPred(), TrackPanel::TrackPanel(), AdornedRulerPanel::ScrubbingRulerOverlay::Update(), and TrackPanel::UpdateViewIfNoTracks().

◆ vpos

int ViewInfo::vpos { 0 }

Pixel distance from top of tracks to top of visible scrolled area.

Definition at line 221 of file ViewInfo.h.

Referenced by TrackPanel::RefreshTrack().


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