mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
static ViewInfo::Get() and ZoomInfo::Get()...
... not member functions of AudacityProject
This commit is contained in:
@@ -83,6 +83,7 @@ is time to refresh some aspect of the screen.
|
||||
#include "RefreshCode.h"
|
||||
#include "TrackArtist.h"
|
||||
#include "TrackPanelAx.h"
|
||||
#include "ViewInfo.h"
|
||||
#include "WaveTrack.h"
|
||||
#ifdef EXPERIMENTAL_MIDI_OUT
|
||||
#include "NoteTrack.h"
|
||||
@@ -2844,7 +2845,7 @@ unsigned TrackPanelCell::Char(wxKeyEvent &event, ViewInfo &, wxWindow *)
|
||||
|
||||
IsVisibleTrack::IsVisibleTrack(AudacityProject *project)
|
||||
: mPanelRect {
|
||||
wxPoint{ 0, project->mViewInfo.vpos },
|
||||
wxPoint{ 0, ViewInfo::Get( *project ).vpos },
|
||||
project->GetTrackPanel()->GetTracksUsableArea()
|
||||
}
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user