summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-note-event.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-15 21:19:01 +0000
committerDavid Robillard <d@drobilla.net>2009-02-15 21:19:01 +0000
commit5b71b9333ae335644efd9754f6aae76b5bd5685b (patch)
tree1ab2b3b093ee4039e70f15b44aff4f79b531b9d3 /gtk2_ardour/canvas-note-event.h
parent3cfb9126af41f4fd8ebf1d5948b606da20a1ffda (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.h6
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);
}