Commit Graph

68 Commits

Author SHA1 Message Date
Ben Loftis 329a75e7bc fix direction of zoom-wheel in the timebar rulers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-21 01:47:11 +00:00
Paul Davis b2d08a44b4 now in gtk2_ardour: replace all instances of prop->value() == "yes" with string_is_affirmative (prop->value()) to avoid XML property SNAFUs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 15:38:17 +00:00
Ben Loftis 7c7108c167 standardize some menu actions across CD and loop/punch rulers. also allow right-click drag to create regions, which may be more discoverable than ctrl-click drag because the other rulers already use right-click for creating markers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 22:17:27 +00:00
Nick Mainsbridge 995098b47a Fix for track backgrounds sometimes not following ruler visibility change.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07 06:09:28 +00:00
Nick Mainsbridge 8e095d439f Don't tear down and rebuild all rulers on each visibility change, avoid setting track heights when presenting the editor, fix duplicated secondary-m in SAE bindings, avoid dirty master channel updates on osx.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-21 14:33:58 +00:00
Nick Mainsbridge ec946ac793 Fix for occasional invisible tracks when removing canvas rulers.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-20 03:35:01 +00:00
Nick Mainsbridge ece01aec70 ,arker_drag_line height is now physical screens height, no border on zoom box, whitespace fix.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 13:14:06 +00:00
Nick Mainsbridge ff52fa5602 Don't set colours twice in new TimeAxisViewItems (from 3.0), fix the nostar ruler hiding bug, rejig ruler bars again, this time making them physical_screen_width wide and never moving them - preventing artefacts while hiding.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 21:38:38 +00:00
Nick Mainsbridge c1f85106cc Relayer punch/loop range rects, fix display of punch-in with no punch-out, ensure range selection rect is hidden after single click, move the track canvas up one pixel now that headers are all one size.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29 18:21:33 +00:00
Nick Mainsbridge e193f9ebf3 fix headers not resizing properly when all tracks set to minimum height, then expanded again, no need to redisplay tempo when altering ruler visibility (allocation takes care of that)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-24 09:59:47 +00:00
Nick Mainsbridge b8a4c5b7bf Fix uninitialised variable. (thanks for the report songshop).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-17 20:21:15 +00:00
Nick Mainsbridge 665b26cdf3 Fix some off by one or more errors spotted by The Big Programmer. Fewer forced updates during vertical scroll on quartz.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-08 19:36:41 +00:00
Nick Mainsbridge e11544b59a Unify the canvases by moving groups around rather than using set_scrolling_region () (eliminates the double-draw during zoom on linux), fix verbose_time_cursor clamping, make fonts smaller on location dialog buttons, hopefully improve performance when dragging multiple regions on the same track, reduce some redrawing of clocks (still not done for samples clock), allow NLS=1 on OSX, other canvas performance improvements on OSX, build SAE-us.bindings (even though they are incomplete for now).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-03 18:15:31 +00:00
Paul Davis cd44c8241c add GotoWallClock command; switch Editor class to use nframes64_t throughout; fix up some glitches in playhead/screen handling when locating ; never save keybindings to user's ~/.ardour2 dir unless the user changed them (well, nearly)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-16 13:57:51 +00:00
Paul Davis 3a3780249a a big menu cleanup; vertical auto-scrolling; some code cleanups; an unfinished (and broken) attempt to get escape to break out of a drag-in-progress
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-26 15:22:46 +00:00
Paul Davis 03260435c9 more fixes for drag/lock/copy logic
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24 18:01:31 +00:00
Paul Davis 295b2da733 non-AA canvas support (not used by default); new SAE menus; fix locate-play-locate ; add toggle-punch ; use primary clock for verbose cursor mode at all the right times; minimize clock redrawing part one
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-26 16:34:45 +00:00
Paul Davis cdf37e613b fix deadlock in playlist::partition(); new first idle model, including message about loading visual data; make h-faders use scroll up/down and be scalable-clickable; new track menu stuff (waveform scaling/shape); fix up ordering of ruler menus; fix initial sensitivity of region menu operations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-21 18:37:00 +00:00
Paul Davis 7321f25043 drop ruler_show[] in favor of specific editor actions; various new actions and menu support for new Tracks top level menu
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-20 19:49:43 +00:00
Doug McLain b248526fe3 add option to create xrun markers on the location markerbar
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-13 14:38:49 +00:00
Paul Davis a29a7b7bef scroll events on rulers/time canvas now control zoom/scrolling
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-27 16:42:58 +00:00
Paul Davis ff519d31b4 new shuffle-splice mode; fix editormode selectors lacking text at startup; default smpte format in ardour.rc.in; turn off cd marker visibility by default in ardour.rc.in; replace another instance of "Audio Frames" with "Samples"
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-30 05:23:30 +00:00
Paul Davis 00b409b661 fix for vamp-sdk botch in SConstruct; new audio clock focus command; make insert-region pay attention to entered track; different modifier list for gtk/osx; hide ye olde blue arrow on selected marker line
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-27 20:29:12 +00:00
Jesse Chappell 90a5607604 added cd marker ruler, which displays and allows quick addition of cd track markers/ranges when visible, otherwise the cd markers are shown in the normal mark/range rulers.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-23 04:57:39 +00:00
Paul Davis ed9bdd0894 a ton of changes based on discussions at SAE; to be documented later
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-19 01:53:39 +00:00
Paul Davis c412a7c90e move location marker bar to bottom row of rulers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-11 16:21:30 +00:00
Paul Davis 85dbd75bb0 make edit clock do something useful again; do sensible guess work on how to define edit op range
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 22:16:55 +00:00
Paul Davis 96fa1cd0b6 the edit cursor is dead, long live the edit point; plus a few fixes; plus location locking
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 03:36:24 +00:00
Paul Davis 8755c71245 opaque xfade patch + a version of the editor ruler/playhead/click patch
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-27 13:00:08 +00:00
Paul Davis 1fedefc785 more use of int64_t to fix frame offset values
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@1931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-30 17:46:33 +00:00
Paul Davis 2e66450681 final for #1600
git-svn-id: svn://localhost/ardour2/trunk@1719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-13 22:14:55 +00:00
Paul Davis 04551d5996 fix nasty mess i created last week with dragging in the rulers; new german trnslation from sebastian
git-svn-id: svn://localhost/ardour2/trunk@1713 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-13 02:54:34 +00:00
Paul Davis e72db28604 remove X_() and use _() on menu entry
git-svn-id: svn://localhost/ardour2/trunk@1696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-10 18:42:44 +00:00
Paul Davis 2dd0b9321c modified fix from carl for region copy-moves-original-to-start bug; change verbose canvas cursor color to be more distinct and readable; fix naming issues with imported files containing ':'; make sure [N] channels count shows up for whole files in region list; fix #1575, a subtle and nasty bug; improve positioning of verbose canvas cursor for ruler drags (but has a wierd side effect
git-svn-id: svn://localhost/ardour2/trunk@1675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06 23:42:07 +00:00
Paul Davis f388715a59 don't let auditioning make transport buttons inaccessible; delete/rename snapshots (from carl & puddingpimp)
git-svn-id: svn://localhost/ardour2/trunk@1673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06 12:57:41 +00:00
Paul Davis 4b35fc4c68 audun's tempo redraw fix; sort-of cache time axis view item name widths and avoid pango-width-computation when unnecessary
git-svn-id: svn://localhost/ardour2/trunk@1657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-03 02:05:34 +00:00
David Robillard 95df144967 Editor GUI touchups:
Fixed separator lines between marker "tracks".
Fixed track alignment with track controls.
Changed track controls bevel to better fit in with canvas.
Made selected track controls colour match selected region colour (could maybe use a better colour for both though...).
Added frame to time labels to match toolbar.


git-svn-id: svn://localhost/ardour2/trunk@1622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-19 06:53:16 +00:00
Paul Davis d6ef740e90 remove all lines to avoid recompiles after commits
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22 18:36:03 +00:00
Paul Davis 9e8082aad6 small change to region creation for make-mono-regions; add untested short_path(); fix double-redraws when canvas zoom/position changes
git-svn-id: svn://localhost/ardour2/trunk@1396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29 20:02:43 +00:00
Paul Davis 57bafcd1f4 save and restore clock modes
git-svn-id: svn://localhost/ardour2/trunk@1283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-08 17:12:29 +00:00
Paul Davis b46af2167f fix startup order (ARDOUR::init() vs. AudioEngine creation); start work on clock state saving
git-svn-id: svn://localhost/ardour2/trunk@1281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-07 22:10:36 +00:00
Paul Davis fd289ac967 patch from brian to get consistent menu behaviour
git-svn-id: svn://localhost/ardour2/trunk@1155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-22 00:58:22 +00:00
Paul Davis e098a23fcc deeper fixes for 80/100 subframes choice
git-svn-id: svn://localhost/ardour2/trunk@1146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-20 21:40:11 +00:00
Paul Davis 638336eee5 new svn_revision.h build system, plus no more SMPTE, just Timecode
git-svn-id: svn://localhost/ardour2/trunk@1116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-12 20:41:06 +00:00
Paul Davis 8018908f39 position playhead on button press in rulers, not button release
git-svn-id: svn://localhost/ardour2/trunk@1089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-07 16:36:10 +00:00
Nick Mainsbridge 01da288992 centre gain meter display, some bbt ruler fixes
git-svn-id: svn://localhost/ardour2/trunk@1071 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-05 14:24:37 +00:00
Paul Davis 93c7aeba04 fixes for destructive track offsets of various kinds; move from jack_nframes_t -> nframes_t
git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28 17:23:52 +00:00
Nick Mainsbridge dc9484d144 more fiddling about with placing bits of the scroll/zoom operation in the idle callback. fix some ruler bugs. overall this should be smoother.
git-svn-id: svn://localhost/ardour2/trunk@912 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-10 17:49:03 +00:00
Nick Mainsbridge e513d106d7 lower zoom step slightly, speed up autoscrolling when snapping to sub-beats (esp 32), make grid lines disappear when on coarse zoom, put grid lines in the idle thread (called from the idle thread.. interesting..), make current_bbt_points coarser so the bbt_ruler and grid lines can use it instead of making their own list, clean up bbt ruler.
git-svn-id: svn://localhost/ardour2/trunk@905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-04 16:04:09 +00:00
Sampo Savolainen 29d58af438 .. and make autoscrolling a bit faster.
git-svn-id: svn://localhost/ardour2/trunk@846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-23 18:34:57 +00:00