13
0
Commit Graph

39 Commits

Author SHA1 Message Date
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
Carl Hetherington
3386070014 Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@5648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 16:38:45 +00:00
Carl Hetherington
96a85da8dd Tertiary-modifier click locates the viewbox in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@5582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 19:02:26 +00:00
Carl Hetherington
76594112af Don't locate summary view box on a click outside it, to be consistent with fader behaviour. Allow Ctrl-drag (zoom) from anywhere in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@5557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20 19:12:24 +00:00
Carl Hetherington
12bf437c6e Fixes for crashes on session going away.
git-svn-id: svn://localhost/ardour2/branches/3.0@5317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 11:51:25 +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
bca8efab60 Secondary-modifier-click in the summary locates the playhead to the click.
git-svn-id: svn://localhost/ardour2/branches/3.0@5214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 22:12:14 +00:00
65d10c219c make sizing of & in the summaryiferizer a bit smaller
git-svn-id: svn://localhost/ardour2/branches/3.0@5208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 16:11:53 +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
22a107592e Put a limit on the tallest that a region can be in the summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@5195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-15 01:36:46 +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
131a16d96d Use white outlined rectangle for view box. Redraw summary when routes are reordered.
git-svn-id: svn://localhost/ardour2/branches/3.0@5193 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 21:22:05 +00:00
Carl Hetherington
8051c3e76a Use a filled rectangle for the view box. Colour regions using their own fill colour.
git-svn-id: svn://localhost/ardour2/branches/3.0@5192 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 19:01:22 +00:00
Carl Hetherington
3f261ac90c Use track colours for the summary view.
git-svn-id: svn://localhost/ardour2/branches/3.0@5184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 13:31:00 +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
6764ab7856 Set _dragging_playhead during summary viewbox drag.
git-svn-id: svn://localhost/ardour2/branches/3.0@5182 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-13 19:39: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