mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
launchpad pro: remove color map; implement note/x,y mapping
This commit is contained in:
parent
860f354e98
commit
8209cb0ab5
3 changed files with 56 additions and 97 deletions
|
|
@ -1178,13 +1178,13 @@ Editor::draw_velocity_action (int v)
|
|||
RefPtr<RadioAction>
|
||||
Editor::draw_channel_action (int c)
|
||||
{
|
||||
char buf[64];
|
||||
const char* action = 0;
|
||||
RefPtr<Action> act;
|
||||
|
||||
if (c==DRAW_CHAN_AUTO) {
|
||||
action = "draw-channel-auto";
|
||||
} else if (c>=0 && c<=15) {
|
||||
char buf[64];
|
||||
sprintf(buf, X_("draw-channel-%d"), c+1);
|
||||
action = buf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue