ab44e41dfd
change the meters into CairoWidget, add expose_area to CairoWidget::render()
2014-03-20 23:50:40 +01: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
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
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
20aeb5af0a
move CairoWidget into gtkmm2ext, add CairoPacker, made the time info box use CairoPacker, make the info status "bar" use CairoPacker
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:57:45 +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
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
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
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
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
ede4ecbb00
megaopus patch #2 for today: remove nframes64_t and sframes_t from source
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17 18:20:37 +00:00
Carl Hetherington
536384ea4e
Tweak group tabs class hierarchy and offer the same menu in both editor and mixer. Fixes #3336 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19 21:47:07 +00:00
Carl Hetherington
5e12dc768d
Back to real-time zoom.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18 02:07:13 +00:00
Carl Hetherington
a54f107d4f
Make summary zoom happen based on where the drag is started, rather than
...
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-18 00:05:44 +00:00
Carl Hetherington
db98653d20
Hopefully fix slight vertical movements on attempts to drag horizontally.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15 23:36:40 +00:00
Carl Hetherington
e1a63db0db
Plot tracks at a constant height in the summary.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15 17:37:44 +00:00
Carl Hetherington
5bdc03ab5c
When dragging the summary viewbox with a click outside the viewbox, clamp x and y
...
if the drag started below/above or to the left/right of the box, respectively.
Also scale maximum track height in the summary according to the summary's height.
git-svn-id: svn://localhost/ardour2/branches/3.0@6504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-01-16 00:44:56 +00:00
aae367b63c
use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19 20:26:31 +00:00
67460c2af4
fix deadlock in protocol manager startup; fix some other ::set_session() SNAFUs; remove last boost::signals2::connection member from libardour
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17 23:36:52 +00:00
f6fdd8dcbf
switch to using boost::signals2 instead of sigc++, at least for libardour. not finished yet, but compiles, loads sessions, records and can close a session without a crash
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17 18:24:23 +00:00
Carl Hetherington
40c4655793
Make the editor summary extend a little way beyond the start and end markers for the session. Fix up some small problems.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-25 13:44:57 +00:00
bb9cc45cd2
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
...
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent...
git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 16:10:01 +00:00
Carl Hetherington
b233455b3f
Split route group list out of Editor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03 18:37:15 +00:00
Carl Hetherington
b895b677bf
Optional tabs down the LHS of the editor window to indicate edit group membership.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 13:41:55 +00:00
Carl Hetherington
34930fc8cf
Add a playhead marker to the summary.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5206 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 00:29:56 +00:00
Carl Hetherington
5d285c0d64
Remove partial support for vertical zoom in the summary, basically because it's quite hard. See comments.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5204 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 00:16:52 +00:00
Carl Hetherington
1c90188ca8
Cleaner implementation.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5198 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-16 01:03:24 +00:00
Carl Hetherington
2bc94116e8
A few cleanups. Map scroll wheel to movement of the viewport.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-15 22:45:05 +00:00
Carl Hetherington
ea5827b51c
Allow dragging of the horizontal extents of the summary view box using PrimaryModifier-drag.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-15 01:21:30 +00:00
Carl Hetherington
eed07f4516
Some small bug fixes. Make click (but not drag) inside the view box behave like a click outside.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5183 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 13:30:21 +00:00
Carl Hetherington
804da56531
Various fixes and improvements to editor summary widget.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-13 17:52:51 +00:00
Carl Hetherington
c6c10f1e7f
Add some comments.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 14:49:20 +00:00
Carl Hetherington
c99ae648f0
Add a widget giving an overview of the editor, as (what I think is being) suggested in #2714 . Many caveats: most notably that it looks quite ugly and you can't (yet) turn it off.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5162 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 01:05:01 +00:00