summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
AgeCommit message (Collapse)Author
2017-10-21Tweak 842d758e: selection & move into viewRobin Gareus
Use separate editor + mixer flags for moving selected tracks into view. Changing selection in the Editor will only pan the mixer-view and vice- versa. This fixes an issue with the track that is being clicked-on to be moved out of view (due to groups)
2017-10-01These are "Frames" :)Robin Gareus
2017-09-24convert codebase to use Temporal for various time typesPaul Davis
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-18no more per-track varispeedPaul Davis
2017-09-11Fix crash when hiding multiple tracksRobin Gareus
Editor::hide_track_in_display() -> EditorRoutes::hide_track_in_display() and ensuing calls to sync the treeview may modify the selection (de-select hidden tracks) and invalidate selection->tracks
2017-08-26Editor zoom: add zoom_to_extents()Ben Loftis
2017-08-26Editor zooming: Initialize leftmost_frame, for sessions that start at high ↵Ben Loftis
timecodes.
2017-08-09Add Lua bindings to set toggle-actionsRobin Gareus
2017-08-06Update Selection API to include all StripablesRobin Gareus
2017-07-27Fix pasting automation at 0Robin Gareus
2017-07-23Initialize some uninitialized variablesRobin Gareus
Editor::redisplay_tempo() is called early on, before Editor::set_timecode_ruler_scale() and Editor::compute_bbt_ruler_scale () are called. That is a bug which needs fixing (initial tempo+grid display) . Still, uninitialized vars are not good.
2017-07-19tweak "visible track count", take automation lanes into account.Robin Gareus
2017-07-18Editor Summary: Changes to behaviorBen Loftis
* Remove up/down buttons. * Allow the summary to shrink smaller. * Vertical drag results in zoom. * Scroll-wheel results in zoom. * Tweak mouse cursor to better indicate behaviors. * ToDo: refactor the zooming code.
2017-07-17Move more Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Remove unused sources & includesRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-01Remove unused variable (amend 79384339e)Robin Gareus
2017-07-01Correctly display region name in context menuThomas Brand
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-06-29Don't interpolate&smooth playhead pos during export.Robin Gareus
2017-06-28Add explicit VideoTimeline change-type, follow up on f73ce2dRobin Gareus
2017-06-28Reset idle_handler_id (fixes idle zoom -- bug in 265f52535a7)Robin Gareus
If pending_visual_change.pending was zero when calling idle_visual_changer the handler_id was never reset. and the idle-handler was never called again.
2017-06-26Changes to Editor::visual_changer to support Item/Canvas::prepare_for_renderTim Mayberry
This is necessary to allow calculation of correct intersection of visible canvas area and items for the new Item::prepare_for_render() API. samples_per_pixel must be set first to calculate the new horizontal canvas position in Editor::set_horizontal_position and then WaveView::set_samples_per_pixel will eventually call WaveView::prepare_for_render for those items that are visible on the new canvas position at the new position. Or if there is not a change to zoom state then call Canvas::prepare_for_render explicitly. Also changes so that each method is only called once during Editor::visual_changer
2017-06-26Coalesce visual changes to canvas/items and allow canvas to renderTim Mayberry
First visual change will be processed as normal and then blocked until the canvas renders the change. If further visual changes need processing then Editor::pre_render callback will schedule another expose/redraw/render. This prevents an issue where idle_visual_changer is called many times in response to events(keys/motion/etc) but the canvas does not get a chance to render any but the last one which results in a big pause/jump. This results in a more responsive canvas and in particular a smoother and more predictable zooming experience.
2017-06-22Remove LocaleGuards from Editor classTim Mayberry
All float <=> string conversions are now done using locale independent PBD::to_string/string_to() via XMLNode::get/set_property
2017-06-17Use Stripable::Sorter in GUI consistently.Robin Gareus
2017-06-09Fix incorrect positioning of tempo line subdivisions if first meter is non-zeronick_m
Commit cebefe6 assumed that frame 0 was the music origin. Silly me.
2017-06-09Delete tempo lines when session goes awaynick_m
2017-06-07cut buffer must not mess around with libardour selectionPaul Davis
Fixes range mode selection/cut/copy that would previously clear track selection
2017-05-05Editor::axis_view_by_control() needs to explore child tracks, now that ↵Paul Davis
Selection is relying on it
2017-05-05use CoreSelection for track selectionPaul Davis
2017-05-05fix ruler scaling -- #7226Robin Gareus
2017-04-19Use XMLNode::get/set_property API in Editor classTim Mayberry
2017-04-19Use ID::to_s() in gtk2_ardour instead of ID::print()Tim Mayberry
2017-04-03don't set region selection on loading a session 1 by 1, but just once after ↵Paul Davis
they should all exist
2017-04-01Fix crash when dragging playhead or mouse in ruler areaTim Mayberry
This can be hard to reproduce and I have not been able to work out the steps to reproduce reliably, but as it is still occuring work around the issue by just checking the variable is valid before dereferencing it. Resolves: #7304
2017-03-31Reset Playhead interpolation when looping and locatingRobin Gareus
2017-03-30NO-OP, semantic tweakRobin Gareus
2017-03-26make selection of tracks/busses after adding them slightly more efficientPaul Davis
2017-03-23Improve playhead updates, reduce jitter for follow PH, stationary PHRobin Gareus
* resolve rounding mistakes * extrapolate and filter position using GUI timing * track engine's position
2017-03-20Editor: forward unmap events to widgetsRobin Gareus
2017-03-10Save/Restore TimeInfoBox clock modesRobin Gareus
The clocks are not transient, so ARDOUR_UI::store_clock_modes takes care of saving the state and the clock restores itself.
2017-03-05no-op - comment/whitespace fixes.nick_m
2017-02-26remove method no longer neededPaul Davis
Editor::track_selection_changed() is now invoked by EditorRoutes::sync_treeview_from_presentation_info(), AFTER the Selection has been updated
2017-02-24Add some convenient public editor methods (for lua-bindings)Robin Gareus
and s/get// in the old API for consistency.
2017-02-23Lua bindings to access editor selection + region selection bindingsRobin Gareus
2017-02-18Consolidate ActionChanged callbacks, add tooltipsRobin Gareus
2017-02-18Don't scroll-jump when selecting all tracksRobin Gareus
2017-02-17Allow Lua action scripts to provide a button iconRobin Gareus