13
0
Commit Graph

72 Commits

Author SHA1 Message Date
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
Carl Hetherington
8fc660e76e Move mouse cursor stuff out of Editor into its own class.
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16 14:53:16 +00:00
Carl Hetherington
ba649118f2 Use a couple more cursors in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@8036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 22:03:57 +00:00
Carl Hetherington
fc142a3fe6 Fix up summary mouse cursors.
git-svn-id: svn://localhost/ardour2/branches/3.0@8035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14 21:55:21 +00:00
Carl Hetherington
b8da7d196c Modified version of Lincoln's patch to stop the summary causing very low track heights. Fixes #3527.
git-svn-id: svn://localhost/ardour2/branches/3.0@7994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10 21:56:32 +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
6f61058723 Make it easier to move the summary rectangle around when it is narrow or low in height.
git-svn-id: svn://localhost/ardour2/branches/3.0@7730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02 01:44:27 +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
2c09798dc8 Modified version of lincoln's patch to allow X-axis scrolling in the summary 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-07-04 21:53:34 +00:00
aef9d4eaeb use the new left/right trim cursor for the editor summary
git-svn-id: svn://localhost/ardour2/branches/3.0@7279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18 02:15:43 +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
bb34b15944 Stop summary showing hidden tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@7260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15 23:43:51 +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
1f829f45ef Summary tweaks: plot tracks as well as regions (as suggested by Chris);
remove the restriction on maximum track height; represent empty editor
space in the summary.


git-svn-id: svn://localhost/ardour2/branches/3.0@7257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-14 23:59:21 +00:00
Carl Hetherington
792e3de1d4 Create the session range location as and when the session first gets some content. Allows both the beginning and end of the range to expand to contain the actual session contents.
git-svn-id: svn://localhost/ardour2/branches/3.0@7087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-09 20:48:21 +00:00
Carl Hetherington
e3dd8cc3ee Move region naming stuff from Session into RegionFactory, cleaning up some vestiges of when Session had a list of regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@6812 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 23:40:28 +00:00
14b0ca31bc handle deletion of UI objects between the time that a callback is queued with the UI event loop and the execution of the callback (intrusive, big)
git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30 15:18:43 +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
f450df300c fully implement and deploy explicit x-thread signal connection syntax (testing comes next)
git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21 18:23:07 +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
034db5fb1c Apply Select property of route groups at the Selection object level. Accordingly
simplify code related to selecting tracks.  Add a TrackViewList object rather than
"abusing" TrackSelection in lots of places.


git-svn-id: svn://localhost/ardour2/branches/3.0@6358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-13 19:09:52 +00:00
8687895abb remove using namespace sigc everywhere to ensure clarity over which bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime
git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12 15:02:15 +00:00
64dc5427e4 make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11 23:29:48 +00:00
7703f0a76a move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes modifiers available in libgtkmm2ext now
git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04 22:51:32 +00:00
3293f957bd handle left/right scroll in editor summary, and use secondary & tertiary modifiers to change scrolling distances
git-svn-id: svn://localhost/ardour2/branches/3.0@6284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04 20:17:38 +00:00
Carl Hetherington
ce2d9cb4aa Stop editor summary viewbox being moved too far down in y.
git-svn-id: svn://localhost/ardour2/branches/3.0@6253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-01 18:25:36 +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
Carl Hetherington
1c5d13938a Fix problems with summary when the session start marker is not at zero (#2924)
git-svn-id: svn://localhost/ardour2/branches/3.0@6169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-25 01:39:25 +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