1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Use idle events to update TrackPanel cursor...

... As when recording starts or stops, or the Tools button has changed, or
scrolling has changed the results of hit-test.

This reduces TrackPanel's intrusions into other code, including ProjectHistory.

Also for AdornedRulerPanel, which shares the base class CellularPanel
This commit is contained in:
Paul Licameli
2019-06-12 11:04:38 -04:00
parent 702199f9d9
commit b7386c2db1
11 changed files with 11 additions and 53 deletions

View File

@@ -134,6 +134,8 @@ private:
void OnContextMenu(wxContextMenuEvent & event);
void OnIdle(wxIdleEvent & event);
void HandleInterruptedDrag();
void Uncapture( bool escaping, wxMouseState *pState = nullptr );
bool HandleEscapeKey(bool down);