summaryrefslogtreecommitdiff
path: root/gtk2_ardour/hit.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-12 21:46:44 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-12 21:46:44 -0400
commit4e84bc3a39ca624d62be590c532a8bc33b33baa4 (patch)
treee81eda4a9f866590e1a4bb5891fba057c9b86ccc /gtk2_ardour/hit.cc
parentb05968fb4e303ce47b6e09cd1bc713f3af28a6f9 (diff)
changes to get cairocanvas branch to build on OS X, with its stupid nil and Rect macros, plus some const_cast<> and unused variable fixes that should really be in master but will have to wait till we rebase master
Diffstat (limited to 'gtk2_ardour/hit.cc')
-rw-r--r--gtk2_ardour/hit.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/hit.cc b/gtk2_ardour/hit.cc
index a7d1a9b47b..257a3cd4f0 100644
--- a/gtk2_ardour/hit.cc
+++ b/gtk2_ardour/hit.cc
@@ -48,7 +48,7 @@ Hit::move_event (double dx, double dy)
Coord
Hit::x0 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().x0;
}
@@ -56,7 +56,7 @@ Hit::x0 () const
Coord
Hit::x1 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().x1;
}
@@ -64,7 +64,7 @@ Hit::x1 () const
Coord
Hit::y0 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().y0;
}
@@ -72,7 +72,7 @@ Hit::y0 () const
Coord
Hit::y1 () const
{
- boost::optional<Rect> bbox = _polygon->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _polygon->bounding_box ();
assert (bbox);
return bbox.get().y1;
}