mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
make Editor::snap_to_bbt() public
This commit is contained in:
parent
0b1d44f422
commit
b2655d13f1
2 changed files with 4 additions and 4 deletions
|
|
@ -491,6 +491,9 @@ public:
|
||||||
GdkEvent const* ev,
|
GdkEvent const* ev,
|
||||||
Temporal::RoundMode direction = Temporal::RoundNearest,
|
Temporal::RoundMode direction = Temporal::RoundNearest,
|
||||||
ARDOUR::SnapPref gpref = ARDOUR::SnapToAny_Visual);
|
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);
|
void set_snapped_cursor_position (Temporal::timepos_t const & pos);
|
||||||
|
|
||||||
|
|
@ -2269,10 +2272,6 @@ private:
|
||||||
Temporal::RoundMode direction,
|
Temporal::RoundMode direction,
|
||||||
ARDOUR::SnapPref gpref);
|
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::timepos_t snap_to_timecode (Temporal::timepos_t const & start,
|
||||||
Temporal::RoundMode direction,
|
Temporal::RoundMode direction,
|
||||||
ARDOUR::SnapPref gpref);
|
ARDOUR::SnapPref gpref);
|
||||||
|
|
|
||||||
|
|
@ -510,6 +510,7 @@ public:
|
||||||
GdkEvent const* ev,
|
GdkEvent const* ev,
|
||||||
Temporal::RoundMode direction = Temporal::RoundNearest,
|
Temporal::RoundMode direction = Temporal::RoundNearest,
|
||||||
ARDOUR::SnapPref gpref = ARDOUR::SnapToAny_Visual) = 0;
|
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;
|
virtual void set_snapped_cursor_position (Temporal::timepos_t const & pos) = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue