Fix some capitalisation in the preferences dialog.
[ardour.git] / gtk2_ardour / note.cc
index 30149866c006305b73b389bb2e951b587d8fbd7c..3adcd751f8f8d8c2f2cb163684c1159bf2f5b986 100644 (file)
@@ -47,7 +47,7 @@ Note::~Note ()
 void
 Note::move_event (double dx, double dy)
 {
-       _rectangle->move (Duple (dx, dy));
+       _rectangle->set (_rectangle->get().translate (Duple (dx, dy)));
 }
 
 Coord
@@ -123,11 +123,17 @@ Note::set_y1 (Coord y1)
 }
 
 void
-Note::set_outline_what (int what)
+Note::set_outline_what (ArdourCanvas::Rectangle::What what)
 {
        _rectangle->set_outline_what (what);
 }
 
+void
+Note::set_outline_all ()
+{
+       _rectangle->set_outline_all ();
+}
+
 void
 Note::set_ignore_events (bool ignore)
 {