change const some functions to const. (prepare lua bindings)
This commit is contained in:
parent
024cf58c05
commit
ec0ec95262
@ -4898,7 +4898,7 @@ Editor::get_regions_from_selection_and_mouse (framepos_t pos)
|
||||
*/
|
||||
|
||||
RegionSelection
|
||||
Editor::get_regions_from_selection_and_entered ()
|
||||
Editor::get_regions_from_selection_and_entered () const
|
||||
{
|
||||
RegionSelection regions = selection->regions;
|
||||
|
||||
|
@ -246,7 +246,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
||||
/* selection */
|
||||
|
||||
Selection& get_selection() const { return *selection; }
|
||||
bool get_selection_extents ( framepos_t &start, framepos_t &end ); // the time extents of the current selection, whether Range, Region(s), Control Points, or Notes
|
||||
bool get_selection_extents (framepos_t &start, framepos_t &end) const; // the time extents of the current selection, whether Range, Region(s), Control Points, or Notes
|
||||
Selection& get_cut_buffer() const { return *cut_buffer; }
|
||||
void track_mixer_selection ();
|
||||
|
||||
@ -2117,7 +2117,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
||||
void get_regions_after (RegionSelection&, framepos_t where, const TrackViewList& ts) const;
|
||||
|
||||
RegionSelection get_regions_from_selection_and_edit_point ();
|
||||
RegionSelection get_regions_from_selection_and_entered ();
|
||||
RegionSelection get_regions_from_selection_and_entered () const;
|
||||
|
||||
void start_updating_meters ();
|
||||
void stop_updating_meters ();
|
||||
|
@ -1921,7 +1921,7 @@ Editor::temporal_zoom_region (bool both_axes)
|
||||
|
||||
|
||||
bool
|
||||
Editor::get_selection_extents ( framepos_t &start, framepos_t &end )
|
||||
Editor::get_selection_extents (framepos_t &start, framepos_t &end) const
|
||||
{
|
||||
start = max_framepos;
|
||||
end = 0;
|
||||
|
@ -198,6 +198,7 @@ class PublicEditor : public Gtkmm2ext::Tabbable {
|
||||
virtual double sample_to_pixel (framepos_t frame) const = 0;
|
||||
virtual double sample_to_pixel_unrounded (framepos_t frame) const = 0;
|
||||
virtual Selection& get_selection () const = 0;
|
||||
virtual bool get_selection_extents (framepos_t &start, framepos_t &end) const = 0;
|
||||
virtual Selection& get_cut_buffer () const = 0;
|
||||
virtual void track_mixer_selection () = 0;
|
||||
virtual bool extend_selection_to_track (TimeAxisView&) = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user