mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Stub code for adding status bar messages to timeline. For now, ...
... erase any status message when entering or leaving the timeline.
This commit is contained in:
parent
7848042339
commit
d2c8975f8a
@ -2011,6 +2011,16 @@ void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
if (mIsRecording)
|
||||
return;
|
||||
|
||||
// Handle status bar messages
|
||||
if(evt.Leaving()) {
|
||||
mProject->TP_DisplayStatusMessage(wxT(""));
|
||||
}
|
||||
else if(evt.Entering()) {
|
||||
// Insert timeline status bar messages here
|
||||
mProject->TP_DisplayStatusMessage
|
||||
(wxT(""));
|
||||
}
|
||||
|
||||
// Store the initial play region state
|
||||
if(mMouseEventState == mesNone) {
|
||||
mOldPlayRegionStart = mPlayRegionStart;
|
||||
|
Loading…
x
Reference in New Issue
Block a user