summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
AgeCommit message (Collapse)Author
2015-03-25Fix some strings incorrectly marked for translation.nick_m
My apologies to translators.
2015-03-17fix very unlikely null pointer dereference.Robin Gareus
2015-03-14Don't set the following dialogs to be transients for the editor:nick_m
Control point dialog Edit note dialog Both types of tempo dialog Both types of meter dialog.
2015-02-05ContentEdit drag on empty MIDI track should not create new midi regionsBen Loftis
2015-01-26ignore context menu click events, notably during drag but also for a couple ↵Paul Davis
of other purposes Conflicts: gtk2_ardour/editor_canvas_events.cc
2015-01-18Fix some ignored region selection changes (probably others).nick_m
Fix ignored right click track selection change.
2015-01-15Reduce selection loss when changing mouse modes.nick_m
Never change selection when smart mode toggled.
2015-01-15A test for less brutall deselection on mouse mode change.nick_m
Mostly stops toggling smart mode from doing anything to the selection.
2015-01-14toggling smart mode is just an option.Ben Loftis
it should not force mouse-mode to Object it should not clear the current object selection
2015-01-13Remove drag code from automation region view.David Robillard
Let the editor handle it like (almost) everything else.
2015-01-13Fix automation range drag and implement for MIDI.David Robillard
Range select rect sticks around now after switching to the draw tool, but disappears if a note selection is made. Not sure if draw is really the most appropriate tool here (particularly if we ever implement actual pencil-like drawing); edit contents seems more appropriate but that would probably cause more selection issues, so here we are.
2015-01-13when the mouse tool changes, smart mode should have no effect on clearing ↵Ben Loftis
selections
2015-01-11Fix AutomationTrackItem rubberband click thinking it was unhandled.nick_m
Fix several other cases where a single mouse click could cause several (not nested) selection ops. Fix missing selection memento for midi notes and midi commands. Rename some variables. Fix random style issues.
2015-01-02Separate selection operations into their own temporary history mechanism.nick_m
The user can now replay *all* earlier selection operations until the next session undo/redo command, or the completion of a new operation. Nothing relating to selection ops is stored, and selection operation history is begun on first idle. Selection operation history is fundamentally different from the history of operations which act on a selection in terms of both their viewport and the amount of information required to replay them. WRT undo, the user of a selection op doesn't care about the viewport state at the beginning of an op, but rather that at the end of the previous one.
2014-12-30Fix smart mode cursor on audio regions.David Robillard
2014-12-28Fix potential pop of empty enter stack.David Robillard
2014-12-25Context menu for applying edits to note selection.David Robillard
2014-12-24Fix sticky snap mode/type selectors.David Robillard
2014-12-23Fix cursor update on nested entry.David Robillard
For example, if you're in a note and something about the mode changes, it's the underlying region context that needs to change. So, seems we need a stack of entry contexts to deal with this sort of thing. Switching in/out of smart mode still doesn't update immediately because we don't have the y-coordinate needed to update it.
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-12-20Fix various cursor problems.David Robillard
Add a new scoped cursor system that makes it much harder to screw up and end up with stick cursors and so on.
2014-12-18Remove mouse mode toggling.David Robillard
2014-12-18Restore snap when switching to/from internal.David Robillard
2014-12-18Enforce internal/external selection exclusivity.Ben Loftis
2014-12-18Make tools toggle-like by switching to last mode.David Robillard
2014-12-18Remove internal edit mode and add "content" tool.David Robillard
2014-12-18Add editor selection state to session history via a SelectionMemento, whichnick_m
combines selection related editor properties with the current editor selection. The related editor properties are: mouse mode, zoom setting, left frame of the canvas, y origin of the canvas. Selection state now includes region views (storing the underlying region id) and time. This patch also fixes a region mute undo bug.
2014-12-17Remove unused variables.David Robillard
2014-12-14fix up requested color names everywhere.Paul Davis
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14initial pass to replace all UIConfiguration::get_XXXXXX() calls with ↵Paul Davis
UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-12-09update_time_selection_display should work when in smart modeBen Loftis
2014-12-07Don't switch to internal when switching to draw.David Robillard
2014-12-07Unify gain and draw tools.David Robillard
There might be a few special cases lingering around from attempts at magic tool business, but this seems to work fine as far as I can tell.
2014-12-07Fix and simplify step_mouse_mode.David Robillard
2014-12-07Make draw tool add points to track automation.David Robillard
2014-12-05Make scroll work on MIDI regions when internal.David Robillard
For some reason, grabbing the magic keyboard focus makes scroll stop working regardless of what MRV::canvas_group_event() returns. I can't figure out any reason to grab the keyboard in this case anyway, so I just removed it. Also simlify MRV event handling code in general.
2014-12-05working compilation for new color codePaul Davis
2014-11-16Use an enum for RoundMode instead of magic numbers.David Robillard
No functional changes in this one (for easier auditing), but towards having round up/down only if necessary modes, rather than kludging around that situation with a double round as we do currently.
2014-11-14add abort() to non-reached codeRobin Gareus
This cleans up a lot of false-positives in static analysis and also helps compilers to optimize code paths in general. (tagging the fatal stingstream operator as ‘noreturn’ is far less trivial)
2014-11-14Fix various sticky/broken cursor issues.David Robillard
This still isn't quite right, but it's a lot less broken than before, at least.
2014-10-28don't show x-fade menu when right-clicking on frame handlesRobin Gareus
Fix crash with midi-regions (they have a frame-handle but no x-fade). fixes 2nd part of #5992 (backtrace 20141021-B) This is nicer in one way: When the cursor is "trim" the x-fade context menu is no longer accessible. And a bit worse: The x-fade context menu is only accessible on the small fade-handles (boxes) and on the x-fade itself.
2014-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-10-21remove mouse zoom mode; bind z to zoom-to-rangePaul Davis
2014-10-21fix stuck key-grab/scrolling.Robin Gareus
Problem: mouse-scrolling over a MIDI region in internal edit mode never released “magic widget focus” (mod keys and global scrolls after that were ignored). -> added to leave_notify. Also, the MouseModeChanged signal needs to be emitted when internal edit, mode changes in order to trigger MidiRegionView::mouse_mode_changed(), which in turn releases the magic focus while still hovering over a MIDI region.
2014-09-19use new ARDOUR::Location signals in GUIPaul Davis
Conflicts: gtk2_ardour/editor_markers.cc
2014-09-17shift-drag on range marker bar creates skip ranges, for nowPaul Davis
2014-09-16escape should reset focus as well as abort drags/clear selectionPaul Davis
2014-08-06More fixes for range-based automation editing.Ben Loftis
-Remove redundant start_grab calls. -Show gain curves in Range mode, so you can see the curves you are selecting
2014-08-05Initial steps towards usable range-based automation editing.Ben Loftis
TODO: needs undo. only works in top quarter of automation lane. selection model feels weird sometimes. needs to show gain curve when you are using Range tool
2014-07-14(Mixbus profile only) tentatively remove the Zoom and Cut tools, to save ↵Ben Loftis
space in the toolbar and reduce some highly redundant functions