summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_rulers.cc
AgeCommit message (Collapse)Author
2011-12-21fix direction of zoom-wheel in the timebar rulersBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02now in gtk2_ardour: replace all instances of prop->value() == "yes" with ↵Paul Davis
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-03-02standardize some menu actions across CD and loop/punch rulers. also allow ↵Ben Loftis
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
2008-11-07Fix for track backgrounds sometimes not following ruler visibility change.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-21Don't tear down and rebuild all rulers on each visibility change, avoid ↵Nick Mainsbridge
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-20Fix for occasional invisible tracks when removing canvas rulers.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11,arker_drag_line height is now physical screens height, no border on zoom ↵Nick Mainsbridge
box, whitespace fix. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10Don't set colours twice in new TimeAxisViewItems (from 3.0), fix the nostar ↵Nick Mainsbridge
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-09-29Relayer punch/loop range rects, fix display of punch-in with no punch-out, ↵Nick Mainsbridge
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-24fix headers not resizing properly when all tracks set to minimum height, ↵Nick Mainsbridge
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-17Fix uninitialised variable. (thanks for the report songshop).Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-08Fix some off by one or more errors spotted by The Big Programmer. Fewer ↵Nick Mainsbridge
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-03Unify the canvases by moving groups around rather than using ↵Nick Mainsbridge
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-05-16add GotoWallClock command; switch Editor class to use nframes64_t ↵Paul Davis
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-03-26a big menu cleanup; vertical auto-scrolling; some code cleanups; an ↵Paul Davis
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-24more fixes for drag/lock/copy logicPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-26non-AA canvas support (not used by default); new SAE menus; fix ↵Paul Davis
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-21fix deadlock in playlist::partition(); new first idle model, including ↵Paul Davis
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-20drop ruler_show[] in favor of specific editor actions; various new actions ↵Paul Davis
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-13add option to create xrun markers on the location markerbarDoug McLain
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3048 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-27scroll events on rulers/time canvas now control zoom/scrollingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-30new shuffle-splice mode; fix editormode selectors lacking text at startup; ↵Paul Davis
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-27fix for vamp-sdk botch in SConstruct; new audio clock focus command; make ↵Paul Davis
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-23added cd marker ruler, which displays and allows quick addition of cd track ↵Jesse Chappell
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-19a ton of changes based on discussions at SAE; to be documented laterPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-11move location marker bar to bottom row of rulersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09make edit clock do something useful again; do sensible guess work on how to ↵Paul Davis
define edit op range git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09the edit cursor is dead, long live the edit point; plus a few fixes; plus ↵Paul Davis
location locking git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-27opaque xfade patch + a version of the editor ruler/playhead/click patchPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-05-30more use of int64_t to fix frame offset valuesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@1931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-13final for #1600Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1719 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-13fix nasty mess i created last week with dragging in the rulers; new german ↵Paul Davis
trnslation from sebastian git-svn-id: svn://localhost/ardour2/trunk@1713 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-10remove X_() and use _() on menu entryPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06modified fix from carl for region copy-moves-original-to-start bug; change ↵Paul Davis
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-06don't let auditioning make transport buttons inaccessible; delete/rename ↵Paul Davis
snapshots (from carl & puddingpimp) git-svn-id: svn://localhost/ardour2/trunk@1673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-03audun's tempo redraw fix; sort-of cache time axis view item name widths and ↵Paul Davis
avoid pango-width-computation when unnecessary git-svn-id: svn://localhost/ardour2/trunk@1657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-19Editor GUI touchups:David Robillard
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-02-22remove all lines to avoid recompiles after commitsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29small change to region creation for make-mono-regions; add untested ↵Paul Davis
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-08save and restore clock modesPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-07fix startup order (ARDOUR::init() vs. AudioEngine creation); start work on ↵Paul Davis
clock state saving git-svn-id: svn://localhost/ardour2/trunk@1281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-22patch from brian to get consistent menu behaviourPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-20deeper fixes for 80/100 subframes choicePaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-12new svn_revision.h build system, plus no more SMPTE, just Timecode2.0beta8Paul Davis
git-svn-id: svn://localhost/ardour2/trunk@1116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-07position playhead on button press in rulers, not button releasePaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-05centre gain meter display, some bbt ruler fixesNick Mainsbridge
git-svn-id: svn://localhost/ardour2/trunk@1071 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28fixes for destructive track offsets of various kinds; move from ↵Paul Davis
jack_nframes_t -> nframes_t git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-10more fiddling about with placing bits of the scroll/zoom operation in the ↵Nick Mainsbridge
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-04lower zoom step slightly, speed up autoscrolling when snapping to sub-beats ↵Nick Mainsbridge
(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-08-23.. and make autoscrolling a bit faster.Sampo Savolainen
git-svn-id: svn://localhost/ardour2/trunk@846 d708f5d6-7413-0410-9779-e7cbd77b26cf