Fix thinkos in cubasish theme
[ardour.git] / gtk2_ardour / note.cc
index 538751f31fb8b0f0264e552d3d0fddc7e2680d18..7cc1bd6a868bebcb2768af69dca32a3e09fc9f55 100644 (file)
@@ -1,24 +1,23 @@
 /*
-    Copyright (C) 2007 Paul Davis
-    Author: Dave Robillard
-    Author: Hans Baier
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-
-#include "evoral/Note.hpp"
+ * Copyright (C) 2013-2018 Paul Davis <paul@linuxaudiosystems.com>
+ * Copyright (C) 2013 John Emmas <john@creativepost.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include "evoral/Note.h"
 
 #include "canvas/note.h"
 #include "canvas/debug.h"
@@ -145,3 +144,10 @@ Note::set_ignore_events (bool ignore)
 {
        _note->set_ignore_events (ignore);
 }
+
+void
+Note::set_velocity (double fract)
+{
+       _note->set_velocity (fract);
+}
+