summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
AgeCommit message (Collapse)Author
2014-02-26fix display of time selection rect(s) when switching mouse modesPaul Davis
2014-02-26convert canvas_event_frame() and window_event_frame() to ↵Paul Davis
canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples
2014-01-27various work to make loop/punch display work better (including fixes for ↵Paul Davis
bugs present in master also)
2014-01-27rationalize, consolidate and make work dbl-click editing for regions and ↵Paul Davis
markers, as part of the Drag model rather than discretely
2014-01-26fix visibility of punch and loop rects.Paul Davis
They used to be in the time_line_group but this is regularly cleared of all its members (which were assumed to be time lines).
2013-12-23fix redrawing of canvas with an optimized buildPaul Davis
Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number, which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events would be delivered to the canvas in an optimized build during drags (and maybe more).
2013-12-23vtl: do not lock audio [to video] when extracting audio-only.Robin Gareus
2013-10-31fix merge with masterPaul Davis
2013-10-25Make double-click on marker pop up rename dialogue.Colin Fletcher
2013-10-25Add a double-click handler for items in the editor window.Colin Fletcher
2013-10-16merge with master and fix 2 conflictsPaul Davis
2013-10-12export video-range: add to context menuRobin Gareus
2013-08-08Fix special handling of 'zoom vertical' scroll wheel modifier key.Colin Fletcher
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of the modifier key used to adjust track heights in conjunction with the scroll wheel, so that the same track continues to be resized even when it's shrunk to no longer be under the mouse cursor. However, this code assumed that the modifier key for this was <Shift>. Fix it to use the event->state bit corresponding to ScrollZoomVerticalModifier instead, and rename the relevant functions to clarify that it's the 'zoom vertical' modifier key they're dealing with. Partially fixes #5610.
2013-08-08fix #5609 (import with 1 track per channel mis-associates tracks + channels)Paul Davis
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track are also named differently, and thus reloaded properly when the session is reloaded.
2013-07-23Fix special handling of 'zoom vertical' scroll wheel modifier key.Colin Fletcher
gtkmm2ext/keyboard.cc has a special case to emit a signal on the key-up of the modifier key used to adjust track heights in conjunction with the scroll wheel, so that the same track continues to be resized even when it's shrunk to no longer be under the mouse cursor. However, this code assumed that the modifier key for this was <Shift>. Fix it to use the event->state bit corresponding to ScrollZoomVerticalModifier instead, and rename the relevant functions to clarify that it's the 'zoom vertical' modifier key they're dealing with. Partially fixes #5610.
2013-07-23fix #5609 (import with 1 track per channel mis-associates tracks + channels)Paul Davis
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track are also named differently, and thus reloaded properly when the session is reloaded.
2013-06-18switch samples_per_pixel to integer typePaul Davis
2013-06-14Merge branch 'master' into cairocanvasRobin Gareus
Conflicts: gtk2_ardour/editor_canvas.cc gtk2_ardour/imageframe_time_axis.cc gtk2_ardour/imageframe_time_axis.h gtk2_ardour/imageframe_time_axis_group.cc gtk2_ardour/imageframe_time_axis_group.h gtk2_ardour/imageframe_time_axis_view.cc gtk2_ardour/imageframe_time_axis_view.h gtk2_ardour/imageframe_view.cc gtk2_ardour/imageframe_view.h gtk2_ardour/marker_time_axis.cc gtk2_ardour/marker_time_axis.h gtk2_ardour/marker_time_axis_view.cc gtk2_ardour/marker_time_axis_view.h gtk2_ardour/marker_view.cc gtk2_ardour/marker_view.h gtk2_ardour/video_image_frame.cc gtk2_ardour/visual_time_axis.cc gtk2_ardour/visual_time_axis.h libs/canvas/canvas/circle.h
2013-06-14remove cruft - old CMT imageframe*Robin Gareus
2013-06-13merge with masterPaul Davis
2013-06-13vtl: make "Remove Video" insensitive if N/ARobin Gareus
2013-05-08merge with masterPaul Davis
2013-05-07various changes to window visibility mgmt, including use of the mixbus2 code ↵Paul Davis
for toggling editor + mixer windows. no longer attempt to track changes made outside of ardour, which is a lost cause
2013-05-04merge with masterPaul Davis
2013-05-04the big rework of window management. probably not complete at thsi point, ↵Paul Davis
but this is mostly functional
2013-05-02merge resolution with masterPaul Davis
2013-05-02remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything ↵Paul Davis
deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works
2013-05-02fix operation of right-click on selected MIDI note to bring up the note ↵Paul Davis
editor. this is still not really right long term, but it is better than displaying the channel selector
2013-05-02remove CMT code - has not been used for years, and will become irrelevant ↵Paul Davis
with VTL and cairocanvas
2013-04-26Merge branch 'master' into cairocanvasPaul Davis
2013-04-26redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTrackerPaul Davis
2013-04-20remove Editor::redraw_measures to improve efficiency of tempo measure line ↵Paul Davis
redraws
2013-04-17vtl: get rid of unused "bar" inside the rulerRobin Gareus
2013-04-17vtl: get rid of one more unnecessary canvas-groupRobin Gareus
2013-04-15remove all XML related API from canvas. it may have been useful during ↵Paul Davis
development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state
2013-04-15fix markers so that the blue line spans both canvasesPaul Davis
2013-04-15Fix dragging objects on the canvas and remove redundant canvas groupsPaul Davis
Delivery of fake motion events to the editor needed the event coordinates to be in canvas space, as they are with "real" events. Editor and other objects had many redundant groups from timbyr's work on gnomecanvas to scroll by moving groups. We don't need this anymore with cairo-canvas (though possibly a stationay background group for the canvas might be useful again one day as in the SAE logo. Its implementation would be fairly different though, since we would have to explicitly move the group on every scroll, since nothing else ever moves on scroll). Also tweaks to text item placement, and switch TimeAxisViewItem from name_pixbuf to name_text, since ArdourCanvas::Text is already "pixbuf optimized".
2013-04-15a few changes to fix region dragging, all related to coordinate system ↵Paul Davis
handling, which is now much simpler with the new canvas; more debugging output when asked for
2013-04-13remove another pointless adjustmentPaul Davis
2013-04-13removal of sundry Adjustments and consolidation of scrolling around two ↵Paul Davis
editor-owned Adjustments
2013-04-12remove TimeAxisView::clip_to_viewport() and Editor::update_canvas_now() and ↵Paul Davis
Editor::flush_canvas() which should no longer be necessary with a sane canvas design
2013-04-12change frames_per_pixel to samples_per_pixelPaul Davis
2013-04-12leftmost_position => leftmost_sample, current_page_frames => ↵Paul Davis
current_page_samples
2013-04-12change all frame_to_pixel and pixel_to_frame to sample_to_pixel and ↵Paul Davis
pixel_to_sample
2013-04-12remove all unit-based methods from (Public)Editor; rationalize ↵Paul Davis
Editor::event_frame() to clearly identify whether the passed-in GdkEvent has window units or canvas units (the latter will be true for all events that are handled by the canvas and then passed to Editor
2013-04-11Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvasPaul Davis
2013-04-11many changes to get the cairo-canvas version much, much more functional. ↵Paul Davis
still problems with a lot of subtle and not-so-subtle issues
2013-04-11Merge branch 'master' into cairocanvasRobin Gareus
Conflicts: gtk2_ardour/editor.h gtk2_ardour/editor_canvas.cc gtk2_ardour/wscript
2013-04-11enable videotimeline by defaultRobin Gareus
2013-04-05master merge; new files not added after initial cairocanvas patch applicationPaul Davis