mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
GetVRulerWidth, GetLabelWidth, GetLeftOffset out of TrackPanel.h...
... And some things demoted from ViewInfo to ZoomInfo, related to x coordinates only
This commit is contained in:
@@ -761,7 +761,7 @@ void GetInfoCommand::ExploreTrackPanel( const CommandContext &context,
|
||||
R.width -= kLeftInset * 2;
|
||||
R.height -= kTopInset;
|
||||
|
||||
int labelw = pTP->GetLabelWidth();
|
||||
int labelw = viewInfo.GetLabelWidth();
|
||||
//int vrul = viewInfo.GetVRulerOffset();
|
||||
bool bIsWave = true;
|
||||
//mTrackInfo.DrawBackground(dc, R, t->GetSelected(), bIsWave, labelw, vrul);
|
||||
@@ -780,7 +780,7 @@ void GetInfoCommand::ExploreTrackPanel( const CommandContext &context,
|
||||
wxRect R = trackRect;
|
||||
R.x += viewInfo.GetVRulerOffset();
|
||||
R.y += kTopMargin;
|
||||
R.width = tp.GetVRulerWidth();
|
||||
R.width = viewInfo.GetVRulerWidth();
|
||||
R.height -= (kTopMargin + kBottomMargin);
|
||||
R.SetPosition( R.GetPosition() + P );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user