1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-25 22:21:14 +01:00

Highlight MIDI channel buttons

This commit is contained in:
Paul Licameli
2017-06-22 00:23:17 -04:00
parent 25641ae568
commit 44d6d5f427
5 changed files with 32 additions and 6 deletions

View File

@@ -90,7 +90,8 @@ class AUDACITY_DLL_API NoteTrack final
const TimeWarper &warper, double semitones);
static void DrawLabelControls
( const NoteTrack *pTrack, wxDC & dc, const wxRect &rect );
( const NoteTrack *pTrack, wxDC & dc, const wxRect &rect,
int highlightedChannel = -1 );
int FindChannel(const wxRect &rect, int mx, int my);
bool LabelClick(const wxRect &rect, int x, int y, bool right);