summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
AgeCommit message (Collapse)Author
2013-06-21Add vertical zoom via scroll wheel modifier key to editor summary.Colin Fletcher
If the ScrollZoomVerticalModifier key is used with the scroll wheel over the editor summary pane, zoom the editor vertically.
2013-06-21Make scroll-wheel modifier keys consistent in editor summary pane.Colin Fletcher
Separate out the handling of left/right scroll events from normal up/down ones in the editor summary pane scroll wheel handling, and use the new constants for scroll wheel keyboard modifiers in conjunction with up/down scroll events. Modifiers for left/right scroll events should be unaffected by this.
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-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-04commit immediately post linkingPaul Davis
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2012-12-12Position playhead correctly on 'P' in editor summary pane, taking account of ↵Colin Fletcher
start offset. Fixes #5213. git-svn-id: svn://localhost/ardour2/branches/3.0@13653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-04dramatically speed up the addition of large numbers of busses + tracks. ↵Paul Davis
consists of a backend part (ignore JACK graph/latency callbacks while we're adding tracks) and a GUI side (avoid O(N^N) behaviour while adding each new time axis view) git-svn-id: svn://localhost/ardour2/branches/3.0@13595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-02remove debugging/analysis outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-27try another fix for the crash created by rev 13547Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14fix #5025 part 2Robin Gareus
subscribe to route changes (track delete) git-svn-id: svn://localhost/ardour2/branches/3.0@13494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14fix #5025 part 1Robin Gareus
cairo line may be rounded +-1 px, also invalidating area x<0 is a noop. git-svn-id: svn://localhost/ardour2/branches/3.0@13493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-02Use accelerator key of "/Editor/set-playhead" action to position playhead in ↵Colin Fletcher
editor summary pane, rather than hard-coding the default accelerator of 'p'. git-svn-id: svn://localhost/ardour2/branches/3.0@13106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24quiet!Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24make rendering of the editor summary view a bit more efficient, enable key ↵Paul Davis
event handling there and make "p" do what it does in the main canvas (position the playhead) - this needs to be dynamic to follow bindings eventually git-svn-id: svn://localhost/ardour2/branches/3.0@13073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09Set up _old_follow_playhead correctly in all cases; should fix #4603.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20reorder editor route list columns to put visible and active first (from joern)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-17thin up the width of the line separating tracks in the editor summary line ↵Paul Davis
(by-product: slightly more space appears to be there between the colored blocks representing regions too git-svn-id: svn://localhost/ardour2/branches/3.0@11724 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-31Update summary on switching playlists (#4659).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-09Don't redraw the summary every time the playhead moves (if it hasn't moved ↵Carl Hetherington
visibly on the summary), and only redraw the bit that has changed when it does happen. git-svn-id: svn://localhost/ardour2/branches/3.0@11208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09Fix scroll-wheel direction in summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09Use same modifiers with the mouse wheel in the summary as in the editor (#4543).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-18don't cache width & height for CairoWidget; provide option for all ↵Paul Davis
CairoWidgets to not draw their backgrounds; provide a static method to allow any (Container, probably) widget to provide background color to a CairoWidget without the requirement that it have its own window; remove existing cursor from clocks; clock text no longer has background attribute set, to correct a mistake in my understanding of pango attributes git-svn-id: svn://localhost/ardour2/branches/3.0@10673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01Add an option to disable editor update during drags of theCarl Hetherington
summary (#4407). git-svn-id: svn://localhost/ardour2/branches/3.0@10377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14Small tweak to previous commit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14Clamp left hand side zoom drags of the summary (fixesCarl Hetherington
#4317). git-svn-id: svn://localhost/ardour2/branches/3.0@10075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11Prevent unnecessary recomputation of horizontal zoom parameters after a ↵Carl Hetherington
summary move drag. git-svn-id: svn://localhost/ardour2/branches/3.0@9341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08Don't catch up with the playhead after drags.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-16Disable follow playhead during editor summary drags.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-08Watch for route colour changes and update the summary accordingly. Fixes #3692.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20Fix summary height scaling problems when there are not enough tracks to fill ↵Carl Hetherington
the editor window. git-svn-id: svn://localhost/ardour2/branches/3.0@8305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16Move mouse cursor stuff out of Editor into its own class.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Use a couple more cursors in the summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Fix up summary mouse cursors.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10Modified version of Lincoln's patch to stop the summary causing very low ↵Carl Hetherington
track heights. Fixes #3527. git-svn-id: svn://localhost/ardour2/branches/3.0@7994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus patch #2 for today: remove nframes64_t and sframes_t from sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02Make it easier to move the summary rectangle around when it is narrow or low ↵Carl Hetherington
in height. git-svn-id: svn://localhost/ardour2/branches/3.0@7730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19Tweak group tabs class hierarchy and offer the same menu in both editor and ↵Carl Hetherington
mixer. Fixes #3336. git-svn-id: svn://localhost/ardour2/branches/3.0@7441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-04Modified version of lincoln's patch to allow X-axis scrolling in the summary ↵Carl Hetherington
when the drag starts above or below (but to the left or right of) the view box. Fixes #3299. git-svn-id: svn://localhost/ardour2/branches/3.0@7364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18use the new left/right trim cursor for the editor summaryPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18Back to real-time zoom.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18Make summary zoom happen based on where the drag is started, rather thanCarl Hetherington
needing a modifier. Change mouse pointer shape in the summary to indicate what will happen on a drag. Allow vertical zoom in the summary, which modifies track heights accordingly. git-svn-id: svn://localhost/ardour2/branches/3.0@7275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15Stop summary showing hidden tracks.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15Hopefully fix slight vertical movements on attempts to drag horizontally.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15Plot tracks at a constant height in the summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7258 d708f5d6-7413-0410-9779-e7cbd77b26cf