summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
AgeCommit message (Collapse)Author
2018-08-13Fix missing enum case: Avoid a divide-by-0 crash.Ben Loftis
2018-07-27Allow to disable smart ruler changes.Robin Gareus
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: Add options for rulers_follow_grid and grid_follows_internalBen Loftis
2018-07-23Don't cut-off grid-type.Robin Gareus
Now that the zoom buttons are right-aligned, a variable spaced grid selector is less of an issue (except perhaps on 1024px wide screens)
2018-07-03make use-note-color-for-velocity much much more efficientPaul Davis
(by not invoking the global color change signal)
2018-07-03respond to changes in use-note-color-for-velocityPaul Davis
2018-07-03permit editing velocity bars optionPaul Davis
2018-06-19Revert frame -> sample changes where it's a frame as in Gtk::FrameJohannes Mueller
2018-05-08Replace the check for SnapPref, which went missing. Some functions (like ↵Ben Loftis
playhead_to_next_grid) can request GridOnly.
2018-02-27Reinstate the ability to split regions while dragging playhead. I think ↵Ben Loftis
this was unintentionally lost.
2018-02-26Switch CDFrame grid to use MinSec ruler rather than Sample ruler.Ben Loftis
2018-02-26Rename SMPTE enum back to Timecode.Ben Loftis
2018-02-26Fix a rather large naming thinko: GridTypeSamples should be CDFrames.Ben Loftis
2018-02-24Snap-to-grid should not invalidate other snap options. This was a leftover ↵Ben Loftis
behavior from prior iterations of Snap+Grid.
2018-02-24NO-OP: whitespaceRobin Gareus
- remove trailing whitespace - remove space after opening brackets and before closing brackets - add space around operators - do not use '//' for multi-line comments, do not use "//" on line-start to comment-out code breaking indenting (-Wmisleading-indent) - do add a single space after comment-start /*{SPACE}... or //{SPACE}... - reserve duplicate whitespace " " for alignment, remove other duplicate whitespace - use established "TODO" and "XXX" (highlighted keywords) - remove equal-sign series "====" (those indicate merge conflicts)
2018-02-24Fix/amend a23a8ebcad7.Robin Gareus
Updated condition to check for transport_rolling to include preroll and count-in (speed is != 0 during pre-roll and count-in, but transport is not actually rolling).
2018-02-23Use transport_stopped() instead of speed check.Ben Loftis
2018-02-23Do not interpolate playhead when stopped.Ben Loftis
This fixes a bug where, for a few seconds after transport stops, the users zoom+panning would get hijacked by the follow_playhead behavior, because the playhead was still "hunting".
2018-02-19Add drop-shadow decorators to menu bar and transport toolbar.Ben Loftis
Allow status bar to fill available width.
2018-02-17Tweak packing to line-up button edges with transport toolbar.Ben Loftis
2018-02-17GTKOSX is not a valid check. Use __APPLE__Ben Loftis
2018-02-17Fix a few warningsBen Loftis
2018-02-14Revert TRIANGLE_WIDTH for mac. Must be a pango/cairo issue on mac.Ben Loftis
2018-02-13COMBO_TRIANGLE_WIDTH should be an odd value.Ben Loftis
2018-02-12Re-pack Editor Toolbar:Ben Loftis
Move zoom tools to right of toolbar. Tweak numeric (mode) keybindings to more closely match the order they appear in the UI. Add some new default keybindings.
2018-02-12Timecode instead of SMPTE.Ben Loftis
2018-02-12Tweak combo-box sizing to match actual triangle size. Tweak size of ↵Ben Loftis
grid_type_selector.
2018-02-11Fix potential crash in snap_to_grid (grid-mark list is empty).Ben Loftis
2018-02-11SoloSelection: gui part.Ben Loftis
2018-02-10Copy+Paste thinko: use passed-in variable instead of member variable. Maybe ↵Ben Loftis
fix potential crash.
2018-02-09Fix potential crash with EditAtSelectedMarker, when no marker is selected.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-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