make Editor::snap_to_bbt() public
This commit is contained in:
parent
0b1d44f422
commit
b2655d13f1
@ -491,6 +491,9 @@ public:
|
||||
GdkEvent const* ev,
|
||||
Temporal::RoundMode direction = Temporal::RoundNearest,
|
||||
ARDOUR::SnapPref gpref = ARDOUR::SnapToAny_Visual);
|
||||
Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const & start,
|
||||
Temporal::RoundMode direction,
|
||||
ARDOUR::SnapPref gpref);
|
||||
|
||||
void set_snapped_cursor_position (Temporal::timepos_t const & pos);
|
||||
|
||||
@ -2269,10 +2272,6 @@ private:
|
||||
Temporal::RoundMode direction,
|
||||
ARDOUR::SnapPref gpref);
|
||||
|
||||
Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const & start,
|
||||
Temporal::RoundMode direction,
|
||||
ARDOUR::SnapPref gpref);
|
||||
|
||||
Temporal::timepos_t snap_to_timecode (Temporal::timepos_t const & start,
|
||||
Temporal::RoundMode direction,
|
||||
ARDOUR::SnapPref gpref);
|
||||
|
@ -510,6 +510,7 @@ public:
|
||||
GdkEvent const* ev,
|
||||
Temporal::RoundMode direction = Temporal::RoundNearest,
|
||||
ARDOUR::SnapPref gpref = ARDOUR::SnapToAny_Visual) = 0;
|
||||
virtual Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const & pos, Temporal::RoundMode, ARDOUR::SnapPref) = 0;
|
||||
|
||||
virtual void set_snapped_cursor_position (Temporal::timepos_t const & pos) = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user