summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-25 19:39:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-25 19:39:20 +0000
commitf2e542afe7de8487eafeb38d9e5f10724840ce31 (patch)
tree274d620ab067afa735115dddeb04952f5de8f3b8 /gtk2_ardour/editor_drag.h
parent0740fab6edb6bcbf40fd3295dce4eedb92ea439f (diff)
in non-note-edit mouse object mode, single click on midi track creates a region if nothing is selected (because said click would then clear the selection, as before). this makes getting started with hand-edited MIDI regions massively easier
git-svn-id: svn://localhost/ardour2/branches/3.0@11350 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index e4270b9d9d..c6679af065 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -212,6 +212,8 @@ protected:
return _last_pointer_frame;
}
+ boost::shared_ptr<ARDOUR::Region> add_midi_region (MidiTimeAxisView*);
+
void show_verbose_cursor_time (framepos_t);
void show_verbose_cursor_duration (framepos_t, framepos_t, double xoffset = 0);
void show_verbose_cursor_text (std::string const &);
@@ -417,7 +419,6 @@ public:
private:
MidiTimeAxisView* _view;
boost::shared_ptr<ARDOUR::Region> _region;
- void add_region ();
};
/** Drags to resize MIDI notes */