summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
AgeCommit message (Collapse)Author
2011-09-14Clamp left hand side zoom drags of the summary (fixesCarl Hetherington
#4317). git-svn-id: svn://localhost/ardour2/branches/3.0@10075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-11Prevent unnecessary recomputation of horizontal zoom parameters after a ↵Carl Hetherington
summary move drag. git-svn-id: svn://localhost/ardour2/branches/3.0@9341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08Don't catch up with the playhead after drags.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-16Disable follow playhead during editor summary drags.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-08Watch for route colour changes and update the summary accordingly. Fixes #3692.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-20Fix summary height scaling problems when there are not enough tracks to fill ↵Carl Hetherington
the editor window. git-svn-id: svn://localhost/ardour2/branches/3.0@8305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16Move mouse cursor stuff out of Editor into its own class.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Use a couple more cursors in the summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-14Fix up summary mouse cursors.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10Modified version of Lincoln's patch to stop the summary causing very low ↵Carl Hetherington
track heights. Fixes #3527. git-svn-id: svn://localhost/ardour2/branches/3.0@7994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus patch #2 for today: remove nframes64_t and sframes_t from sourcePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02Make it easier to move the summary rectangle around when it is narrow or low ↵Carl Hetherington
in height. git-svn-id: svn://localhost/ardour2/branches/3.0@7730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-19Tweak group tabs class hierarchy and offer the same menu in both editor and ↵Carl Hetherington
mixer. Fixes #3336. git-svn-id: svn://localhost/ardour2/branches/3.0@7441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-04Modified version of lincoln's patch to allow X-axis scrolling in the summary ↵Carl Hetherington
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-06-18use the new left/right trim cursor for the editor summaryPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7279 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18Back to real-time zoom.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-18Make summary zoom happen based on where the drag is started, rather thanCarl Hetherington
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-15Stop summary showing hidden tracks.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15Hopefully fix slight vertical movements on attempts to drag horizontally.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-15Plot tracks at a constant height in the summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-14Summary tweaks: plot tracks as well as regions (as suggested by Chris);Carl Hetherington
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-05-09Create the session range location as and when the session first gets some ↵Carl Hetherington
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-03-30Move region naming stuff from Session into RegionFactory, cleaning up some ↵Carl Hetherington
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-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
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-01-16When dragging the summary viewbox with a click outside the viewbox, clamp x ↵Carl Hetherington
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
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
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-17fix deadlock in protocol manager startup; fix some other ::set_session() ↵Paul Davis
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-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
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-13Apply Select property of route groups at the Selection object level. ↵Carl Hetherington
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-12remove using namespace sigc everywhere to ensure clarity over which ↵Paul Davis
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-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04move generic parts of Keyboard into gtkmm2ext. imperfectly done, but makes ↵Paul Davis
modifiers available in libgtkmm2ext now git-svn-id: svn://localhost/ardour2/branches/3.0@6288 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04handle left/right scroll in editor summary, and use secondary & tertiary ↵Paul Davis
modifiers to change scrolling distances git-svn-id: svn://localhost/ardour2/branches/3.0@6284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-01Stop editor summary viewbox being moved too far down in y.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6253 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-25Make the editor summary extend a little way beyond the start and end markers ↵Carl Hetherington
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-25Fix problems with summary when the session start marker is not at zero (#2924)Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6169 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
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-09-09Fix warning.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24Tertiary-modifier click locates the viewbox in the summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-20Don't locate summary view box on a click outside it, to be consistent with ↵Carl Hetherington
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-07-04Fixes for crashes on session going away.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-03Split route group list out of Editor.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20Optional tabs down the LHS of the editor window to indicate edit group ↵Carl Hetherington
membership. git-svn-id: svn://localhost/ardour2/branches/3.0@5220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17Secondary-modifier-click in the summary locates the playhead to the click.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17make sizing of & in the summaryiferizer a bit smallerPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@5208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17Add a playhead marker to the summary.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5206 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17Remove partial support for vertical zoom in the summary, basically because ↵Carl Hetherington
it's quite hard. See comments. git-svn-id: svn://localhost/ardour2/branches/3.0@5204 d708f5d6-7413-0410-9779-e7cbd77b26cf