summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
AgeCommit message (Collapse)Author
2016-07-10Minimise duplicate calls to CairoWidget::set_dirty() in the editor summary.nick_m
- many regions may be changed by one operation.
2016-06-05use PresentationInfo color to set route colors. GUI appears to respond as ↵Paul Davis
expected
2016-06-05Stripable signals moved to PresentationInfoPaul Davis
2016-05-31first vaguely working version using PresentationInfoPaul Davis
remote control ID and "order keys" have been removed.
2016-01-21Change scrolling in the Editor track canvas summary areaTim Mayberry
Keep scroll distance consistent when scrolling up and down with horizontal modifier as when scrolling left to right. Scroll horizonally by half a page so that no sections of the canvas are skipped when scrolling. Scroll by half a page rather than a step like when scrolling in the track canvas area as it is a summary area so larger steps seem acceptable and having it use the same scroll distance as when scrolling in the track canvas seems pointless as you would then just scroll in the track canvas area.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-03-19update track-height scaling:Robin Gareus
“number of visible tracks”: count automation lanes as tracks. Distribute equally. “Summary View”: the visual lane represents both track + automation. Set the total height. Left to do: recursive “Shrink” and “Expand” tools if there is no explicit selection.
2015-03-15prevent single-axis drags in the editor summary from affecting the other axis.Paul Davis
In theory, the EditorSummary::get_editor()/set_editor() calls should be no-ops if the values are just passed between them, but this turns out to be not precisely the case. Rather than figure out exactly how ensure that this is true, mark the new rect boundaries for the non-moving axis with -1 so that we know to leave it alone
2015-01-07Improve contrast of summary.David Robillard
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-10-29redraw summary when theme preference changes & consolidate code.Robin Gareus
2014-10-29fix summary display (offset on-canvas rulers)Robin Gareus
2014-10-29fix summary re-sizeRobin Gareus
w/USE_CAIRO_IMAGE_SURFACE
2014-10-11amend 5d0303b - fix editor summary leakRobin Gareus
2014-10-10fix memory leak in editor summary.Robin Gareus
2014-09-11initialize uninitialzed varRobin Gareus
2014-06-19Summary changes :nick_m
* Use correct image format for background image * Construct thr ImageSurface as per cairo docs * Place start/end markers in background image Tempo bars : * adjust beats display threshold to (hopefully) coincide with BBT ruler better.
2014-06-17Render tracks and regions to a background image in the editor summary.nick_m
Connect to editor's SelectionChanged signal to display corresponding region colour change.
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2013-06-25Merge branch 'master' into cairocanvasPaul Davis
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