diff options
author | David Robillard <d@drobilla.net> | 2009-02-15 21:19:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-15 21:19:01 +0000 |
commit | 5b71b9333ae335644efd9754f6aae76b5bd5685b (patch) | |
tree | 1ab2b3b093ee4039e70f15b44aff4f79b531b9d3 /gtk2_ardour/canvas-note-event.h | |
parent | 3cfb9126af41f4fd8ebf1d5948b606da20a1ffda (diff) |
Bring the note mode menu back from the dead.
Fix percussive note (diamonds) placement.
git-svn-id: svn://localhost/ardour2/branches/3.0@4587 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note-event.h')
-rw-r--r-- | gtk2_ardour/canvas-note-event.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/canvas-note-event.h b/gtk2_ardour/canvas-note-event.h index 060e4d9fa9..75747bc288 100644 --- a/gtk2_ardour/canvas-note-event.h +++ b/gtk2_ardour/canvas-note-event.h @@ -92,8 +92,7 @@ public: const boost::shared_ptr<NoteType> note() const { return _note; } - inline static uint32_t meter_style_fill_color(uint8_t vel) - { + inline static uint32_t meter_style_fill_color(uint8_t vel) { if (vel < 64) { return UINT_INTERPOLATE( ARDOUR_UI::config()->canvasvar_MidiNoteMeterColorBase.get(), @@ -108,8 +107,7 @@ public: } /// calculate outline colors from fill colors of notes - inline static uint32_t calculate_outline(uint32_t color) - { + inline static uint32_t calculate_outline(uint32_t color) { return UINT_INTERPOLATE(color, 0x000000ff, 0.5); } |