* @return true if this drag should happen in this mouse mode.
*/
virtual bool active (Editing::MouseMode m) {
- return (m != Editing::MouseGain);
+ return true;
}
/** @return minimum number of frames (in x) and pixels (in y) that should be considered a movement */
void finished (GdkEvent *, bool);
void aborted (bool);
+ bool active (Editing::MouseMode mode) {
+ return mode == Editing::MouseDraw;
+ }
+
+ bool y_movement_matters () const {
+ return false;
+ }
+
private:
double y_to_region (double) const;
framecnt_t grid_frames (framepos_t) const;
void finished (GdkEvent *, bool);
void aborted (bool);
- bool active (Editing::MouseMode) {
- return true;
- }
-
bool allow_vertical_autoscroll () const {
return false;
}
void finished (GdkEvent *, bool);
void aborted (bool);
- bool active (Editing::MouseMode) {
- return true;
- }
-
private:
AutomationLine* _line;
double _fixed_grab_x;
double _fixed_grab_y;
- uint32_t _before;
- uint32_t _after;
double _cumulative_y_drag;
};
void finished (GdkEvent *, bool);
void aborted (bool);
- bool active (Editing::MouseMode) {
- return true;
- }
-
private:
ArdourCanvas::Line* _line;
private:
Operation _operation;
bool _add;
- bool _extend;
int _original_pointer_time_axis;
- int _last_pointer_time_axis;
std::list<TimeAxisView*> _added_time_axes;
bool _time_selection_at_start;
framepos_t start_at_start;
return false;
}
- bool active (Editing::MouseMode) {
- return true;
- }
-
private:
void setup (std::list<boost::shared_ptr<AutomationLine> > const &);
double y_fraction (boost::shared_ptr<AutomationLine>, double global_y_position) const;