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 screenDuration, 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 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 &)=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)
 
void FindIntervals (Intervals &results, 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
 
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
 
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
 

Detailed Description

Definition at line 188 of file ViewInfo.h.

Constructor & Destructor Documentation

◆ ViewInfo() [1/2]

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

Definition at line 245 of file ViewInfo.cpp.

246 : ZoomInfo(start, pixelsPerSecond)
248 , total(screenDuration)
249 , sbarH(0)
250 , sbarScreen(1)
251 , sbarTotal(1)
252 , sbarScale(1.0)
253 , scrollStep(16)
255 , bScrollBeyondZero(false)
256{
257 UpdatePrefs();
258}
bool bUpdateTrackIndicator
Definition: ViewInfo.h:242
NotifyingSelectedRegion selectedRegion
Definition: ViewInfo.h:219
wxInt64 sbarTotal
Definition: ViewInfo.h:228
double total
Definition: ViewInfo.h:224
wxInt64 sbarScreen
Definition: ViewInfo.h:227
wxInt64 sbarH
Definition: ViewInfo.h:226
double sbarScale
Definition: ViewInfo.h:234
bool bScrollBeyondZero
Definition: ViewInfo.h:244
void UpdatePrefs() override
Definition: ViewInfo.cpp:267
int scrollStep
Definition: ViewInfo.h:237
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(), ProjectSelectionManager::AS_ModifySelection(), 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(), 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(), SelectUtilities::DoListSelection(), anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), 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(), AdornedRulerPanel::NewPlayRegionHandle::DoStartAdjust(), AdornedRulerPanel::MovePlayRegionHandle::DoStartAdjust(), LyricsPanel::DoUpdateLyrics(), ProjectWindow::DoZoomFit(), anonymous_namespace{ViewMenus.cpp}::DoZoomFitV(), AdjustClipBorder::Drag(), LabelGlyphHandle::Drag(), SampleHandle::Drag(), BrushHandle::Drag(), EnvelopeHandle::Drag(), SelectHandle::Drag(), TimeShiftHandle::Drag(), AdornedRulerPanel::DragSelection(), EditCursorOverlay::Draw(), TimeTrackView::Draw(), TranscriptionToolBar::EnableDisableButtons(), ExportAudioDialog::ExportAudioDialog(), anonymous_namespace{EditMenus.cpp}::FindSelection(), ProjectWindow::FixScrollbars(), Get(), FrequencyPlotDialog::GetAudio(), 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(), ProjectWindow::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{TransportMenus.cpp}::IsLoopingEnabled(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), ProjectWindow::MayScrollBeyondZero(), 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(), ViewActions::Handler::OnGoSelEnd(), ViewActions::Handler::OnGoSelStart(), ControlToolBar::OnIdle(), SelectionBar::OnIdle(), TimeToolBar::OnIdle(), anonymous_namespace{EditMenus.cpp}::OnJoin(), anonymous_namespace{LabelMenus.cpp}::OnJoinLabels(), ControlToolBar::OnLoop(), HighlightTextCtrl::OnMouseEvent(), 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(), 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(), 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(), LyricsWindow::OnTimer(), PlayIndicatorOverlay::OnTimer(), ScrubbingOverlay::OnTimer(), anonymous_namespace{EditMenus.cpp}::OnTrim(), SelectActions::Handler::OnZeroCrossing(), ViewActions::Handler::OnZoomSel(), ViewActions::Handler::OnZoomToggle(), ProjectWindow::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(), ProjectWindow::Rewind(), AdornedRulerPanel::PlayRegionAdjustingHandle::SavePlayRegion(), ProjectWindow::ScrollingLowerBoundTime(), ProjectWindow::ScrollIntoView(), anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive(), SelectUtilities::SelectAllIfNone(), SelectUtilities::SelectAllIfNoneAndAllowed(), NoteTrackAffordanceHandle::SelectAt(), WaveTrackAffordanceHandle::SelectAt(), anonymous_namespace{WaveTrackAffordanceControls.cpp}::SelectedIntervalOfFocusedTrack(), AdornedRulerPanel::SelectedRegionRectangle(), anonymous_namespace{WaveTrackAffordanceControls.cpp}::SelectInterval(), ProjectWindow::SetHorizontalThumb(), AdornedRulerPanel::SetPlayRegion(), SelectUtilities::SetPlayRegionToSelection(), ContrastDialog::SetStartAndEndTime(), SelectHandle::SetUseSnap(), AdornedRulerPanel::ShowMenu(), ProjectWindow::SkipEnd(), ProjectSelectionManager::SnapSelection(), ProjectSelectionManager::SSBL_ModifySpectralSelection(), AdornedRulerPanel::StartQPPlay(), SelectHandle::StartSelection(), StretchHandle::Stretch(), AdornedRulerPanel::CommonRulerHandle::Time(), TimeSelectedPred(), ScreenshotBigDialog::TimeZoom(), SelectUtilities::TogglePlayRegion(), AdornedRulerPanel::ScrubbingRulerOverlay::Update(), LyricsPanel::Update(), AdornedRulerPanel::UpdateQuickPlayPos(), WaveTrackAffordanceControls::WaveTrackAffordanceControls(), EnvelopeHandle::WaveTrackHitTest(), DefaultPlaybackPolicy::WriteMessage(), 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 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 h * zoom;
211 }
double zoom
Definition: ZoomInfo.h:55
double h
Definition: ZoomInfo.h:52

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:250

◆ GetTotalWidth()

double ViewInfo::GetTotalWidth ( ) const
inline

Definition at line 214 of file ViewInfo.h.

215 { return total * zoom; }

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

Here is the caller graph for this function:

◆ operator=()

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

◆ SetBeforeScreenWidth()

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

Definition at line 278 of file ViewInfo.cpp.

279{
280 h =
281 std::max(lowerBoundTime,
282 std::min(total - screenWidth / zoom,
283 beforeWidth / zoom));
284}
int min(int a, int b)

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

268{
269#ifdef EXPERIMENTAL_SCROLLING_LIMITS
271#endif
272 gPrefs->Read(wxT("/GUI/AdjustSelectionEdges"), &bAdjustSelectionEdges,
273 true);
274
276}
wxT("CloseDown"))
audacity::BasicSettings * gPrefs
Definition: Prefs.cpp:68
BoolSetting ScrollingPreference
Definition: ViewInfo.cpp:336
bool Read(T *pVar) const
overload of Read returning a boolean that is true if the value was previously defined *‍/
Definition: Prefs.h:205
static int UpdateScrollPrefsID()
Definition: ViewInfo.cpp:325
void UpdateSelectedPrefs(int id) override
Definition: ViewInfo.cpp:260
bool bAdjustSelectionEdges
Definition: ViewInfo.h:245
virtual bool Read(const wxString &key, bool *value) const =0

References bAdjustSelectionEdges, bScrollBeyondZero, gPrefs, audacity::BasicSettings::Read(), Setting< T >::Read(), ScrollingPreference, UpdateScrollPrefsID(), UpdateSelectedPrefs(), and wxT().

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

326{
327 return 10000;
328}

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

261{
262 if (id == UpdateScrollPrefsID())
263 gPrefs->Read(wxT("/GUI/AutoScroll"), &bUpdateTrackIndicator,
264 true);
265}

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

288{
289 selectedRegion.WriteXMLAttributes(xmlFile, "sel0", "sel1");
290 xmlFile.WriteAttr(wxT("vpos"), vpos);
291 xmlFile.WriteAttr(wxT("h"), h, 10);
292 xmlFile.WriteAttr(wxT("zoom"), zoom, 10);
293}
void WriteXMLAttributes(XMLWriter &xmlFile, const char *legacyT0Name, const char *legacyT1Name) const
Definition: ViewInfo.h:46
void WriteAttr(const wxString &name, const Identifier &value)
Definition: XMLWriter.h:36
int vpos
Definition: ZoomInfo.h:50

References wxT().

Here is the call graph for this function:

Member Data Documentation

◆ bAdjustSelectionEdges

bool ViewInfo::bAdjustSelectionEdges

Definition at line 245 of file ViewInfo.h.

Referenced by UpdatePrefs().

◆ bScrollBeyondZero

bool ViewInfo::bScrollBeyondZero

Definition at line 244 of file ViewInfo.h.

Referenced by UpdatePrefs().

◆ bUpdateTrackIndicator

bool ViewInfo::bUpdateTrackIndicator

◆ mHeight

int ViewInfo::mHeight { 0 }
private

Definition at line 250 of file ViewInfo.h.

◆ playRegion

PlayRegion ViewInfo::playRegion

◆ sbarH

wxInt64 ViewInfo::sbarH

◆ sbarScale

double ViewInfo::sbarScale

Definition at line 234 of file ViewInfo.h.

◆ sbarScreen

wxInt64 ViewInfo::sbarScreen

Definition at line 227 of file ViewInfo.h.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

◆ sbarTotal

wxInt64 ViewInfo::sbarTotal

Definition at line 228 of file ViewInfo.h.

Referenced by AttachableScrollBar::SetScrollBarFromViewInfo().

◆ scrollStep

int ViewInfo::scrollStep

Definition at line 237 of file ViewInfo.h.

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

◆ selectedRegion

NotifyingSelectedRegion ViewInfo::selectedRegion

Definition at line 219 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(), LyricsPanel::DoUpdateLyrics(), 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(), WaveTrackUtils::IsClipSelected(), 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(), anonymous_namespace{EditMenus.cpp}::OnJoin(), anonymous_namespace{LabelMenus.cpp}::OnJoinLabels(), HighlightTextCtrl::OnMouseEvent(), 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(), LyricsWindow::OnTimer(), TrackPanel::OnTimer(), anonymous_namespace{EditMenus.cpp}::OnTrim(), SelectActions::Handler::OnZeroCrossing(), ViewActions::Handler::OnZoomSel(), ProjectAudioManager::PlayPlayRegion(), Generator::Process(), NyquistEffect::Process(), PerTrackEffect::ProcessPass(), TransportUtilities::RecordAndWait(), anonymous_namespace{ViewInfo.cpp}::SelectedRegionRestorer::RestoreUndoRedoState(), WaveChannelView::SelectNextClip(), SelectionState::SelectTrackLength(), ContrastDialog::SetStartAndEndTime(), SelectHandle::SnapCenterOnce(), SelectHandle::StartFreqSelection(), SelectHandle::StartSnappingFreqSelection(), TimeSelectedPred(), AdornedRulerPanel::ScrubbingRulerOverlay::Update(), LyricsPanel::Update(), and TrackPanel::UpdateViewIfNoTracks().

◆ total

double ViewInfo::total

Definition at line 224 of file ViewInfo.h.

Referenced by SetBeforeScreenWidth().


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