1ca9cd228e
update track-height scaling:
...
“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-19 21:55:28 +01:00
26ba494083
prevent single-axis drags in the editor summary from affecting the other axis.
...
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-03-15 12:13:03 -05:00
81c196e9ca
Improve contrast of summary.
2015-01-07 01:42:49 -05:00
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
1d0612ceb6
redraw summary when theme preference changes & consolidate code.
2014-10-29 16:07:13 +01:00
300d765f17
fix summary display (offset on-canvas rulers)
2014-10-29 12:06:20 +01:00
ea26d70cad
fix summary re-size
...
w/USE_CAIRO_IMAGE_SURFACE
2014-10-29 12:06:20 +01:00
e19e6dc73a
amend 5d0303b
- fix editor summary leak
2014-10-11 13:36:52 +02:00
5d0303b851
fix memory leak in editor summary.
2014-10-10 16:18:03 +02:00
6f6e78284d
initialize uninitialzed var
2014-09-11 03:04:11 +02:00
nick_m
6b2c581c22
Summary changes :
...
* 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-19 01:52:21 +10:00
nick_m
46c158d8c6
Render tracks and regions to a background image in the editor summary.
...
Connect to editor's SelectionChanged signal to display corresponding region colour change.
2014-06-17 21:44:36 +10:00
ab44e41dfd
change the meters into CairoWidget, add expose_area to CairoWidget::render()
2014-03-20 23:50:40 +01:00
3031a99364
Merge branch 'master' into cairocanvas
2013-06-25 22:24:47 -04:00
daf4dd874a
Add vertical zoom via scroll wheel modifier key to editor summary.
...
If the ScrollZoomVerticalModifier key is used with the scroll wheel over
the editor summary pane, zoom the editor vertically.
2013-06-21 21:28:13 +01:00
741f9de3f7
Make scroll-wheel modifier keys consistent in editor summary pane.
...
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-06-21 20:44:40 +01:00
8877199ae0
leftmost_position => leftmost_sample, current_page_frames => current_page_samples
2013-04-12 11:21:12 -04:00
4258a34912
change all frame_to_pixel and pixel_to_frame to sample_to_pixel and pixel_to_sample
2013-04-12 11:15:45 -04:00
ecfd2a7455
remove all unit-based methods from (Public)Editor; rationalize 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-12 11:09:49 -04:00
ee1f0520a8
many changes to get the cairo-canvas version much, much more functional. still problems with a lot of subtle and not-so-subtle issues
2013-04-11 20:19:22 -04:00
19bd641915
commit immediately post linking
2013-04-04 18:45:27 -04:00
aaea166135
initial commit of hand merging, plus getting "ancient" waf script to work correctly
2013-04-04 00:32:52 -04:00
17439ac72c
Position playhead correctly on 'P' in editor summary pane, taking account of start offset. Fixes #5213 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 22:10:03 +00:00
89d1a2fdf5
dramatically speed up the addition of large numbers of busses + tracks. 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-04 14:32:28 +00:00
67e842bf4c
remove debugging/analysis output
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-02 02:12:39 +00:00
12fadcc43e
try another fix for the crash created by rev 13547
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-27 13:21:21 +00:00
7e8d5ed6d0
fix #5025 part 2
...
subscribe to route changes (track delete)
git-svn-id: svn://localhost/ardour2/branches/3.0@13494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14 05:01:28 +00:00
cbeabee870
fix #5025 part 1
...
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-11-14 05:01:25 +00:00
ee80d2a95f
Use accelerator key of "/Editor/set-playhead" action to position playhead in 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-08-02 10:30:48 +00:00
e284a53349
quiet!
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-24 16:35:59 +00:00
4bcc3d377c
make rendering of the editor summary view a bit more efficient, enable key 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-07-24 02:58:28 +00:00
Carl Hetherington
ee8634cd87
Set up _old_follow_playhead correctly in all cases; should fix #4603 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-09 13:19:08 +00:00
ec1ef5d6b5
remove the apparently unnecessary "ui_bind()" macro from entire source base
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
2b7d17e904
reorder editor route list columns to put visible and active first (from joern)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11732 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-20 17:08:07 +00:00
928c7cf10c
thin up the width of the line separating tracks in the editor summary line (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-03-17 17:19:43 +00:00
Carl Hetherington
40a8ed8808
Update summary on switching playlists ( #4659 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-31 21:56:39 +00:00
Carl Hetherington
b8a93d7a86
Don't redraw the summary every time the playhead moves (if it hasn't moved 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
2012-01-09 18:03:49 +00:00
Carl Hetherington
59526d29fd
Fix scroll-wheel direction in summary.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10948 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:57:59 +00:00
Carl Hetherington
2c07e83e4b
Use same modifiers with the mouse wheel in the summary as in the editor ( #4543 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-09 15:44:59 +00:00
8ad4133d26
don't cache width & height for CairoWidget; provide option for all 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-18 15:35:58 +00:00
Carl Hetherington
a12820ab77
Add an option to disable editor update during drags of the
...
summary (#4407 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@10377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-01 12:19:11 +00:00
Carl Hetherington
f4f5706265
Small tweak to previous commit.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14 14:00:03 +00:00
Carl Hetherington
74796c7a53
Clamp left hand side zoom drags of the summary (fixes
...
#4317 ).
git-svn-id: svn://localhost/ardour2/branches/3.0@10075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-14 13:57:20 +00:00
ed626628b5
Delete trailing whitespace
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Carl Hetherington
7c7853e4ff
Prevent unnecessary recomputation of horizontal zoom parameters after a summary move drag.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11 18:48:44 +00:00
Carl Hetherington
d9c4625ff5
Don't catch up with the playhead after drags.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 11:46:11 +00:00
Carl Hetherington
ad314252f4
Disable follow playhead during editor summary drags.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-16 19:33:16 +00:00
Carl Hetherington
150d3fdfbf
Watch for route colour changes and update the summary accordingly. Fixes #3692 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-08 02:35:35 +00:00
Carl Hetherington
0945b96986
Fix summary height scaling problems when there are not enough tracks to fill the editor window.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20 15:35:15 +00:00
Carl Hetherington
73192bc1a7
Remove all use of nframes_t.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:26:29 +00:00