summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-11 07:38:02 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-11 07:38:02 -0400
commitc10896e984c4e7532920815fbb20fc9c7467aea8 (patch)
treeabd3109a3b94c1d9130b4ef4f1b2f9a398ed26f9
parentc2885671c6666c0f8bae1181b28339f652d53a39 (diff)
use and wrap Rectangle::set_outline_all() method
-rw-r--r--gtk2_ardour/note.cc8
-rw-r--r--gtk2_ardour/note.h3
2 files changed, 9 insertions, 2 deletions
diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc
index 30149866c0..02475f859c 100644
--- a/gtk2_ardour/note.cc
+++ b/gtk2_ardour/note.cc
@@ -123,12 +123,18 @@ 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)
{
_rectangle->set_ignore_events (ignore);
diff --git a/gtk2_ardour/note.h b/gtk2_ardour/note.h
index 26c45adda1..c6bcd957e3 100644
--- a/gtk2_ardour/note.h
+++ b/gtk2_ardour/note.h
@@ -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);