update wscript for windowsVST + mingw
[ardour.git] / gtk2_ardour / hit.cc
index a7d1a9b47b9212d381bcc4e31819538f3a4a8a32..4d2498a0d52f8521b09836aab06e6022a4fbb8a7 100644 (file)
@@ -35,7 +35,7 @@ Hit::Hit (
        bool with_events) 
        : NoteBase (region, with_events, note)
 {
-       _polygon = new Polygon (group);
+       _polygon = new ArdourCanvas::Polygon (group);
        set_item (_polygon);
 }
 
@@ -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;
 }