use and wrap Rectangle::set_outline_all() method
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Mar 2014 11:38:02 +0000 (07:38 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Mar 2014 11:38:02 +0000 (07:38 -0400)
gtk2_ardour/note.cc
gtk2_ardour/note.h

index 30149866c006305b73b389bb2e951b587d8fbd7c..02475f859c733c3b080691d7ba0a3efe6342247d 100644 (file)
@@ -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)
 {
index 26c45adda17201f585dde7b7d9d17b415c8eb32d..c6bcd957e3a9e6a2717d8dcd520811f0b95eb921 100644 (file)
@@ -51,7 +51,8 @@ public:
        void set_x1 (ArdourCanvas::Coord);
        void set_y1 (ArdourCanvas::Coord);
 
-       void set_outline_what (int);
+        void set_outline_what (ArdourCanvas::Rectangle::What);
+        void set_outline_all ();
 
        void set_outline_color (uint32_t);
        void set_fill_color (uint32_t);