summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
AgeCommit message (Collapse)Author
2018-09-28PT import: Refactor away from Editor into Sessionptimport-saveDamien Zammit
2018-07-27NO-OP: clean up whitespace, separate methodsRobin Gareus
2018-07-27new_grid: The Return of the snap_to_X functions.Ben Loftis
We no longer assume that Snap always uses the visible ruler lines. If you want to snap to the grid, and ignore the users zoom scale, use SnapPref::SnapToGrid_Unscaled This fixes 2 (known) oversights: "snap region(s) to grid" and "regions whose start are left of the canvas edge".
2018-07-27new_grid: fix some thinkos in ruler math, to better match sensible grid lines.Ben Loftis
Tweak enums to better match the Grid values they represent.
2018-02-27Remove some redundant calls to snap_to(). get_preferred_edit_position() ↵Ben Loftis
already did it.
2018-02-19Add drop-shadow decorators to menu bar and transport toolbar.Ben Loftis
Allow status bar to fill available width.
2018-02-14Re-pack the master meters (in the toolbar) so the editor_meter_peak_display ↵Ben Loftis
button is more clickable.
2018-02-11SoloSelection: gui part.Ben Loftis
2018-02-09new_grid: Rewrite of Snap and Grid. (squashed commit)Ben Loftis
Separate Snap from Grid. Lots of naming changes. Multiple simultaneous snap options allowed. Grid is one of the possible Snap options. Grid uses the same data as the rulers. Replace complicated tempo_lines with simple grid_lines. The Grid is zoom-scale-sensitive along with the rulers. If you are zoomed out, grid becomes coarser.
2018-02-09new_snap: Snapped Cursor ( squashed commit )Ben Loftis
Snapped Cursor is a line that follows the edit point, and indicates where the operation will occur. This replaces and extends the line that appears with the Cut tool. New associated preferences: snap_threshold and show_snap_cursor.
2017-12-12NO-OP: whitespaceRobin Gareus
2017-12-07Lua scripting: add convenience function Editor::trigger_script_by_name().Ben Loftis
2017-11-23Consistent default argument for virtual fn.Robin Gareus
2017-11-23GUI to set clock-origin markerRobin Gareus
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-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-08-26Editor zoom: add zoom_to_extents()Ben Loftis
2017-08-26Editor zooming:Ben Loftis
New function session_gui_extents() reports the extents of all playlists. ToDo: include region playlists, when they become available. also: slow-down autoscroll (ToDo: make a config variable for this)
2017-08-09Add Lua bindings to set toggle-actionsRobin Gareus
2017-08-06Update Selection API to include all StripablesRobin Gareus
2017-08-06Allow to select VCAsRobin Gareus
2017-07-22Rework tempo marker editing menu functionsnick_m
Setting a tempo to 'Continue' via right click puts it in a permanent state of continuing the previous section's end tempo (basically what 'Lock Continue' should have been). This can be disabled (unlocked) by selecting 'Don't Continue'. Remove the previous temporary 'Continue' function. Reorganise menu to separate position lock style from more commonly used functions.
2017-07-20CursorZoomDrag rework:Ben Loftis
* If the use-time-rulers-to-zoom option is enabled, -all- cursor drags can zoom. * Behavior has been tweaked so it is easy to scroll without zooming, if you want to.
2017-07-17Move more Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Remove unused sources & includesRobin Gareus
2017-07-17Move Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17remove cruft (no more ButtonJoiner)Robin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-06-28Add explicit VideoTimeline change-type, follow up on f73ce2dRobin Gareus
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-05-05use CoreSelection for track selectionPaul Davis
2017-04-29Add a "select topmost" track editor actionRobin Gareus
2017-04-29NO-OP: whitespaceRobin Gareus
2017-03-31Reset Playhead interpolation when looping and locatingRobin Gareus
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-05tempo editing updatesnick_m
- a tempo marker may now be set to always continue (clamped) this means that the end tempo of the previous section will track the start tempo during tempo ops. it mimics the behaviour in 5.8, with the gui indicating the curves to be changed.
2017-03-04Add reset region gain action for selected regionsTim Mayberry
2017-03-01allow continuation of tempo via right-click 'Continue' where appropriate.nick_m
- this is the opposite of 'Ramp to Next'. it removes discontinuities between the last end tempo and the current by altering the current one.
2017-02-27add right-click 'Ramp to Next' tempo marker menu item.nick_m
2017-02-27highlight the tempo curve that is to be altered, modify text to suit.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-15simplify arguments to Editor::sensitize_the_right_region_actions()Paul Davis
2017-02-15classify all region actions based on how they get a list of regions to ↵Paul Davis
operate on; use this in Editor::sensitize_the_right_region_actions() There are still problems because actions like trim_front() that use the edit point get the edit point with different results than the code that sensitizes actions