make editor_drag.h fully self-contained as a header file (it was missing more than...
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 17 Jan 2015 17:01:08 +0000 (12:01 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:13 +0000 (14:18 -0400)
Conflicts:
gtk2_ardour/editor_drag.h

gtk2_ardour/editor_drag.h

index 6fcd92751a3613c5964e0a7286029d9fa369ff57..1e0161fd71da42476aee009e25235bf8c4803677 100644 (file)
 
 #include "ardour/types.h"
 
+#include "canvas/types.h"
+
 #include "cursor_context.h"
 #include "editor_items.h"
 #include "mouse_cursors.h"
+#include "editing.h"
 
 namespace ARDOUR {
        class Location;
 }
 
+namespace ArdourCanvas {
+       class Item;
+       class Line;
+       class Rectangle;
+}
+
 namespace PBD {
        class StatefulDiffCommand;
 }
@@ -46,6 +55,18 @@ class TimeAxisView;
 class MidiTimeAxisView;
 class Drag;
 class NoteBase;
+class RegionView;
+class TimeAxisView;
+class RouteTimeAxisView;
+class RegionSelection;
+class MidiRegionView;
+class MeterMarker;
+class Marker;
+class TempoMarker;
+class ControlPoint;
+class AudioRegionView;
+class AutomationLine;
+class AutomationTimeAxisView;
 
 /** Class to manage current drags */
 class DragManager
@@ -456,13 +477,13 @@ protected:
 private:
        TimeAxisView *prev_tav;         // where regions were most recently dragged from
        TimeAxisView *orig_tav;         // where drag started
-       framecnt_t prev_amount;
-       framepos_t prev_position;
-       framecnt_t selection_length;
+       ARDOUR::framecnt_t prev_amount;
+       ARDOUR::framepos_t prev_position;
+       ARDOUR::framecnt_t selection_length;
        bool allow_moves_across_tracks; // only if all selected regions are on one track
        ARDOUR::RegionList *exclude;
-       void add_all_after_to_views (TimeAxisView *tav, framepos_t where, const RegionSelection &exclude, bool drag_in_progress);
-       void remove_unselected_from_views (framecnt_t amount, bool move_regions);
+       void add_all_after_to_views (TimeAxisView *tav, ARDOUR::framepos_t where, const RegionSelection &exclude, bool drag_in_progress);
+       void remove_unselected_from_views (ARDOUR::framecnt_t amount, bool move_regions);
 
 };
 
@@ -559,7 +580,7 @@ public:
 
 private:
        double y_to_region (double) const;
-       framecnt_t grid_frames (framepos_t) const;
+       ARDOUR::framecnt_t grid_frames (framepos_t) const;
        
        MidiRegionView* _region_view;
        ArdourCanvas::Rectangle* _drag_rect;