diff options
author | David Robillard <d@drobilla.net> | 2013-01-20 03:47:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-20 03:47:01 +0000 |
commit | eafbb805013140c8e85478717ca3d7acd5b39608 (patch) | |
tree | e5f603365e67f37d0dd739990171ac225b5d1ca5 /gtk2_ardour/canvas_patch_change.cc | |
parent | 16a09cad63133004dabcee9c05cc7010ec75930c (diff) |
Make patch changes stand out a little better while also being more monochromatic.
The colour on the text doesn't seem to be what it should be, though. I think
Gtkmm2ext::convert_bgra_to_rgba might be broken...
git-svn-id: svn://localhost/ardour2/branches/3.0@13916 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas_patch_change.cc')
-rw-r--r-- | gtk2_ardour/canvas_patch_change.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/canvas_patch_change.cc b/gtk2_ardour/canvas_patch_change.cc index 2678868e02..1958ea2b5e 100644 --- a/gtk2_ardour/canvas_patch_change.cc +++ b/gtk2_ardour/canvas_patch_change.cc @@ -53,12 +53,12 @@ CanvasPatchChange::CanvasPatchChange( region, parent, height, - active_channel ? - ARDOUR_UI::config()->canvasvar_MidiPatchChangeOutline.get() : - ARDOUR_UI::config()->canvasvar_MidiPatchChangeInactiveChannelOutline.get(), - active_channel ? - ARDOUR_UI::config()->canvasvar_MidiPatchChangeFill.get() : - ARDOUR_UI::config()->canvasvar_MidiPatchChangeInactiveChannelFill.get(), + (active_channel + ? ARDOUR_UI::config()->canvasvar_MidiPatchChangeOutline.get() + : ARDOUR_UI::config()->canvasvar_MidiPatchChangeInactiveChannelOutline.get()), + (active_channel + ? ARDOUR_UI::config()->canvasvar_MidiPatchChangeFill.get() + : ARDOUR_UI::config()->canvasvar_MidiPatchChangeInactiveChannelFill.get()), x, y) , _info (info) |