13
0
Commit Graph

7331 Commits

Author SHA1 Message Date
e6ab754e4f video-timeline tools path updates for OSX and Windows 2014-08-28 21:39:59 +02:00
a4bda23bba remove offset from icons when button is pushed 2014-08-28 14:29:49 -05:00
7306568634 More fixes to ArdourButton actions.
Optionally allow events to fallthrough to parents, in particular for the DnDVBox case.
Also allow the number_label to operate as a track selector.
2014-08-28 14:25:19 -05:00
61c11157c0 add option to blink rec-enables 2014-08-28 13:00:59 -05:00
3f297f7dab Fix ArdourButton event sequence.
Always give ArdourButton a chance to handle Press or Release events if you override them.
This allows ArdourButtons to do the "Pressed" animation
And it now correctly eats the event so button clicks don't select the channelstrip.
2014-08-28 10:31:57 -05:00
3cc19c2cce brighten post-fader redirects, and change redirect leds to blue 2014-08-28 08:58:26 -05:00
9bb7cec013 replace missing fader redirect color 2014-08-28 08:19:57 -05:00
390c480639 move preferences->GUI->Metering into its own tab 2014-08-27 14:02:00 -05:00
d439e93b1e Standardize drawing of PixFader and BarController; implement flat_buttons and prelight.
Prepare for using Controllable interfaces, instead of passing in Adjustments.
ToDo:  reimplement image caching in a standardized way across widgets
2014-08-27 11:58:09 -05:00
fad9068981 even more flat_buttons 2014-08-27 11:56:06 -05:00
71f471f162 more flat_button refactoring. try centering the gain and peak displays 2014-08-27 11:55:32 -05:00
a52e18c7e8 use ArdourButtons on the automation time axis 2014-08-27 11:53:53 -05:00
b4386a6e00 more flat_button refactoring 2014-08-27 11:53:30 -05:00
e7a15027e8 refactor flat_buttons into cairowidget, and add a canvas-like convenience function for setting cairo color with a Gtk::Color 2014-08-27 10:55:01 -05:00
5db98d9372 fix pushed-in state of invert buttons, and fix an initizlization order warning 2014-08-27 10:49:36 -05:00
74f313dd6b Rationalize ArdourButton and lots of associated theming issues.
ArdourButtons now have a "pushed" animation.
The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome.
Lots of code cleanup in ArdourButton.  Removed several unnecessary flags.
Refactor more stuff into route_ui.
2014-08-22 11:51:20 -05:00
a7226133a9 refactor _grabbed into cairo_widget 2014-08-22 11:49:59 -05:00
c29417f48e Merge branch 'selection_fixes' of https://github.com/nmains/ardour into cairocanvas 2014-08-14 17:48:11 +02:00
nick_m
7e022b6445 Fix crash on snapshot change. 2014-08-15 01:42:48 +10:00
90397c3ac9 remove cruft related to button-height commit 2014-08-13 11:00:04 -05:00
f3d524deb7 Yet another attempt to standardize button heights.
Use the same string for all ArdourButtons to define the height.
Height can still vary if you use a different font, though.
2014-08-13 10:57:04 -05:00
aed4ab6ec9 Clicking already-selected region should clear other selections. Thanks to nick_m 2014-08-12 14:40:43 -05:00
5c1a561325 change packing so number_label shares space with name_label 2014-08-11 15:08:57 -05:00
b41df8e120 shuffle packing order to accomodate midi controls 2014-08-11 14:44:12 -05:00
bf034f48ce New track header layout.
Vertical alignment no longer depends on number of meters shown.
Looking for comments.
2014-08-11 12:59:42 -05:00
ce4333f059 Use explicit strip widths and button heights for the mixer
The goal is to preserve a consistent layout and sizing of the buttons.
Button height should not resize based on text, because font styles differ and this leads to inconsistent button heights
Button width should not be based on text or font size;  instead, font size just determines how many chars will be visible in the button
There are some elements of the editor page which _do_ scale based on the text width, and thats probably sensible because the text is predefined, and needs to fit
2014-08-06 15:47:22 -05:00
1873bcfa9d More fixes for range-based automation editing.
-Remove redundant start_grab calls.
-Show gain curves in Range mode, so you can see the curves you are selecting
2014-08-06 14:43:40 -05:00
16ca4e0f9a Initial steps towards usable range-based automation editing.
TODO:  needs undo. only works in top quarter of automation lane.  selection model feels weird sometimes.  needs to show gain curve when you are using Range tool
2014-08-05 15:42:06 -05:00
f296389fe0 Enforce mixer strip widths, more case fixes, and minor theme changes 2014-08-01 15:44:42 -05:00
b128271f29 consistently use mixed-case labels 2014-08-01 14:31:18 -05:00
3687dae6f6 top button table causes spacing issues when items are hidden. removed it. 2014-08-01 14:09:51 -05:00
3961017921 allow track headers to select io from right-click menu 2014-08-01 13:48:47 -05:00
7cd7927f0a fix gain entry cancellation, per the_CLA 2014-08-01 13:48:47 -05:00
f71c060295 micro tweaks to width box and name button layout 2014-07-31 15:37:38 -05:00
b7c4a25560 Increase mixer strip button vpad to 4.
Fix issue where soloing resized buttons.
2014-07-31 15:56:34 -04:00
c5856428d8 Add 1px border to mixer strip so buttons don't overlap selection border. 2014-07-30 18:51:45 -04:00
b75b88a1eb Use text to specify combo box padding for better font/display tolerance.
Consistent mixer strip button height.

The latter works by setting all the button size request heights to the
calculated height of the alphabet.  Thus, all buttons of the same class will be
the same height regardless of their actual text.
2014-07-30 18:30:42 -04:00
394ea9cb86 use FocusEntry for the peak_display, so it matches the size of gain_display 2014-07-30 12:30:33 -05:00
f91846d5f8 More colour tweaks according to IRC discussion. 2014-07-30 13:10:35 -04:00
c1616ccff6 Shrink minimum width a bit by using the same hpad for all toolbar selectors.
30 was already being used for some, and looks like more than enough padding,
for me.  Hopefully is enough everywhere.
2014-07-29 23:44:57 -04:00
564d8d7669 Consistent styling for toolbar buttons.
All the different looks here didn't seem to convey anything useful to me, and
looked sloppy.  I went with the style of the transport button.

It would be nice if we could style button elements like Inset in the
configuration, but this would require some work.
2014-07-29 23:39:01 -04:00
b32823f074 Various UI tweaks.
Refactor comments dialog into Route_UI so it can be shared by tracks and strips.
Make Color and Comments selections consistent in the menus
Refine the color displays at the top of each mixer strip
Correctly color the number displays on tracks
2014-07-29 16:40:19 -05:00
79b34f0d8f In the mixbus mixer, the rec/mon buttons are smaller
If Input is not shown, then you are just mixing, so the_CLA and I think it is ok to hide the MIDI input button with the audio input button
2014-07-29 11:48:35 -05:00
4af99f7d00 remove some cruft with group button, move it under fader 2014-07-28 16:16:51 -05:00
ed07c53210 clean up cruft in some config variables 2014-07-28 15:55:20 -05:00
fb77669ee5 force horizontal scrollbar and spacer, so strips line up nicely 2014-07-28 12:01:54 -05:00
10747bc980 Mixer page: ESC should deselect all mixer strips and processors 2014-07-28 11:35:41 -05:00
02af7cb418 alternate layout with a full-height editor-mixer, for mixbus 2014-07-28 11:27:02 -05:00
df2a8fccc7 disallow selection of the fader and meter processor entries 2014-07-28 10:08:26 -05:00
cd96ae8e8a fix for video-monitor (xjadeo >= 0.7.8 is started w/o jack-transport) 2014-07-25 12:59:41 +02:00
8d2c280438 update video-monitor override flags
(new OSX/openGL menu bar in upcoming xjadeo 0.8)
2014-07-25 12:59:40 +02:00
96171ebe83 several fixes to make processor selection and deletion feel right, for both mixer and editor-mixer strips 2014-07-24 22:49:47 -05:00
6bdc976462 Remove "implicit" selection for plugin deletion.
Allow deletions in the mixer strip to fall through to editor if nothing was selected.
2014-07-24 22:49:47 -05:00
3876b48879 Add track-rec/mute/solo actions to menu, so users can bind them
Make Fit-Tracks sensitive to track selections
2014-07-24 15:47:05 -05:00
6e37afeee5 oops, fix copy-paste error 2014-07-24 11:34:43 -05:00
61c66afd4c Revert previous select-strips-under-mouse behavior
However, keep the path for deletions in the editor-mixer via _entered_mixer_strip
TODO:  if nothing was deleted, assume the user was trying to delete something in the editor instead
Show selected plugins by a red border
TODO:  more work on the selection model for plugins and mixer strips
2014-07-24 11:28:31 -05:00
05f3adaba3 Allow deletion of processors in editor_mixer_strip by pointing and pressing Delete
This had to be hacked because the editor_mixer strip is on the editor and doesnt respond to mixer keybindings.
Also force the gain intry to lose focus if the user leaves the mixer strip.  this will probably solve some long-standing complaints.  although perhaps a more elegant solution is possible.
2014-07-23 16:58:43 -05:00
d46081c275 holding Primary(ctrl/cmd) allows user to make noncontiguous strip selections 2014-07-23 16:13:55 -05:00
870206cf92 holding Primary(ctrl/cmd) allows user to make noncontiguous strip selections 2014-07-23 15:45:01 -05:00
b29e324ee4 Mixer selection follows mouse
This eliminates ambiguity about which strip the keybindings will affect.
Hold shift to make a quick group from adjacent mixer strips.
2014-07-23 15:41:14 -05:00
e85ff4dad2 Cut and Copy should remember the white space at the end of a range.
This will be used when you paste with Ripple; it maintains the whitespace that you chose in the selection.
Also fix default setting of Dim contol by storing the default(normal) value for MPControl Controllables.
2014-07-23 14:36:21 -05:00
1bbb60df5d double-click a plugin to remove it from the pending add list 2014-07-23 11:38:24 -05:00
b22e136887 Add some new zoom-to-selection actions, so zoom tool is less needed.
Reverse order of items in the zoom menus to match Ardour.
Consolidate the extra zoom math into a function;  this fixes a problem in zoom-to-session.
2014-07-23 11:31:06 -05:00
fdaa6a151a 3 monitor tweaks for the_CLA. shift+click to default, and new preset vals 2014-07-22 16:05:51 -05:00
25024e550a Remove troublesome cairo antialiasing hint.
Tweak knob gfx slightly.
2014-07-22 10:17:09 -05:00
5424119b55 Merge branch 'waveview_hacks' of https://github.com/nmains/ardour into cairocanvas 2014-07-18 10:46:22 -04:00
b2b736d596 tweaks for the monitor section. refactoring of some buttons, using new ArdourKnob instead of VolumeController. New ArdourDisplay shows a controllables user value, and provides support for preset values (hardcoded at present). Further refactoring to come, so that ArdourWidgets are derived from a common class. Controllable now has more responsibility for scaling between internal, user, and interface (knob percent) values. This also needs more refactoring and might have some unintended consequences. tested with audio and nothing seems amiss, yet. 2014-07-18 08:47:45 -05:00
b69870dfe6 add Editor::trackviews_height() convenience function to determine height of trackview area of canvas; use to help fix set_visible_track_count(); don't consider hidden tracks in that function; add "Selected" to that selector menu 2014-07-15 18:09:04 -04:00
bb69a55784 try to get font size for rulers right or at least better on OS X 2014-07-15 17:48:30 -04:00
e3cf23b8a0 Don't show all controllers for generic MIDI devices.
This takes a VERY long time to do, so is probably a problem for defined devices
with a ton of channels and devices, too.  Not sure what the smart thing to do
here is, though adding lanes really shouldn't be this slow in the first place.
2014-07-15 15:18:18 -04:00
d65091db16 Show all named controllers for "Show All Automation" on MIDI tracks. 2014-07-15 15:18:18 -04:00
c3f9688c37 Show 1-based channel numbers in MIDI controller automation menu.
This matches the numbers shown elsewhere, previously if you had a track set to
e.g. channel 10, the controller menu items had "[9]" suffixes.
2014-07-15 15:18:18 -04:00
74ec58c12e Add a couple of function calls so that Ardour will perform some basic cleanup when the user exits
Up until now we were relying on various d'tors to do this cleanup for us. However, because we were calling 'exit()' (to terminate the program) those d'tors were never getting called. We should probably review the use of exit() as a termination strategy.
2014-07-15 13:19:33 +01:00
nick_m
d3408844be Render waveview components onto alpha masks to simplify drawing.
Reduce user panic by removing ! from missing file dialog title.
Use justify left in missing file dialog.
2014-07-15 21:59:22 +10:00
de218360d0 remove some gtk warnings caused by adding monitor buttons without removing them first 2014-07-14 16:05:31 -05:00
c81395e7db icon for experimental time-zoom on Mixbus 2014-07-14 12:20:58 -05:00
e062629ccd make GUI preferences discoverable from the View menu 2014-07-14 12:20:01 -05:00
d0bc4b55fa scroll up/down by tracks uses top edge as "focal point"; fix some other nasty code details 2014-07-14 12:36:51 -04:00
acc1977cbd vertical scroll events should move by tracks 2014-07-14 12:36:51 -04:00
6386a5dd7a up/down scroll buttons on left of summary should move by tracks 2014-07-14 12:36:51 -04:00
fc305cb217 if a button has an icon, dont draw text as well 2014-07-14 10:28:50 -05:00
849d80bfcc Group the Rec and Monitor buttons together. Group the Solo Isolate and Lock buttons together. And add a method to show/hide each group in the Preferences 2014-07-14 10:08:55 -05:00
62cab525f0 (Mixbus profile only) tentatively remove the Zoom and Cut tools, to save space in the toolbar and reduce some highly redundant functions 2014-07-14 10:08:55 -05:00
492c933a69 fix the visible_tracks_selector to show * when user tweaks a track height. various experimental tweaks to visible_tracks_selector and a new zoom_preset_selector for Mixbus. 2014-07-14 10:08:55 -05:00
b19e1a7985 remove EditAtSelectedMarker for Mixbus, to match mb2. (also fix an existing thinko in the edit point selection actions) (oops: also fix previous track selection fix so that it pays attention to the selection property of the group) 2014-07-14 10:08:55 -05:00
e8106bb415 minor fixes to wscript files to make things python3 compatible 2014-07-13 08:36:18 -04:00
af2ee58e07 move fit-tracks back onto "f" and use / for fade-range, moving set-region-fade-(in|out)-length to PRIMARY-/ and PRIMARY-\ respectively 2014-07-11 06:19:32 -04:00
8bc0ac7529 restore correct functioning of fit-tracks, which was mistakenly removed because of a failure to understand its complexities 2014-07-11 06:19:32 -04:00
6157c685d9 fix TC entry beyond 2^31 frames. 2014-07-10 19:09:12 +02:00
a3b704b8c0 remove awful, inobvious, wrong and no longer necessary "_i_am_the_modifier" crap from RouteUI, except in one case where it might be useful 2014-07-10 11:54:59 -04:00
c39666dc5c fix key editor resize behaviour 2014-07-10 11:53:39 -04:00
d324f67cce add reset bindings button to key bindings editor 2014-07-10 11:04:24 -04:00
6cadefcb19 use lower-case PROGRAM_NAME for user bindings file name 2014-07-10 11:01:21 -04:00
0174ce52c6 make f be bound to fade-range by default 2014-07-10 09:28:33 -04:00
07e0f785f8 add "fade range" operation, bound to alt-f at present by default 2014-07-10 08:17:22 -04:00
15fa465013 add comment/doxygen doc 2014-07-10 08:14:41 -04:00
60597e750d remove unused variable 2014-07-10 08:13:54 -04:00
e078102bc6 size various ArdourDropdowns according to the pixel width, not character length, of their various strings 2014-07-09 22:41:29 -04:00
1b4a314d5d Revert "adjust horizontal-offset for snap/grid dropdown." Wrong fix for the problem.
This reverts commit c90d35c4a1.
2014-07-09 22:39:07 -04:00
c90d35c4a1 adjust horizontal-offset for snap/grid dropdown. 2014-07-10 02:06:51 +02:00
fce8e081e5 use standardized timecode formatting in verbose cursor 2014-07-09 19:16:03 -04:00
eab61cbafe break out AudioClock::print_minsec() so that AudioClock and VerboseCursor can use the same formatting code. 2014-07-09 19:13:18 -04:00
a2294aa0ff verbose cursor should use primary clock mode even when showing a duration, not just absolute position 2014-07-09 18:32:41 -04:00
8eeb02fe75 add Editor::edit_mode_strings to allow for i18n; correctly size ArdourDropdowns using longest, translated strings 2014-07-09 16:48:36 -04:00
9f4a00fa89 add mixbus profile which removes the tearoffs 2014-07-09 15:12:05 -05:00
a32dbfa197 Revert "ardour loves narrow screens part one"
This reverts commit d3d83eac9d.
restore full-height of editor-mixer.
2014-07-09 21:47:12 +02:00
0be1555ba6 reduce space around TearOff Tickmarks 2014-07-09 21:47:12 +02:00
12d913893a shorten grid/snap label "Timecode" -> "TC" 2014-07-09 21:47:12 +02:00
ea311d4379 automatically set ArdourDropdown box width.
..according to longest text in English.
2014-07-09 21:47:11 +02:00
bff786257e polish a few blemishes and add some comments 2014-07-09 14:45:20 -05:00
12699574ae fix range select so it picks up grouped tracks 2014-07-09 14:34:14 -05:00
2a852cfc75 new scissors icon 2014-07-09 19:40:54 +02:00
419570b740 ardour loves 1024px width screens
narrow mode toolbar for screens <= 1024px with
2014-07-09 19:40:43 +02:00
d3d83eac9d ardour loves narrow screens part one
move toolbar box above editor-canvas. Without-editor mixer
there is no change. With Editor-mixer it is now above the
mixer-strip.

This makes the toolbar [almost] fit on 1024px width.
2014-07-09 19:39:52 +02:00
4d57827819 reduce actual size of tool_cut.png to avoid blowing up h-padding on all other tool buttons 2014-07-09 13:09:38 -04:00
ec0b7cc1da add new TRX-only function for unusual global-record-enable semantics 2014-07-09 12:07:05 -04:00
d99b6f0662 call Canvas::re_enter() at the end of a RegionCutDrag so that entered_regionview *might* be set 2014-07-08 21:37:49 -04:00
05bca82117 cut ops can start on automation tracks too 2014-07-08 21:36:05 -04:00
542d1ce01c cut ops can start with the mouse pointer not over a region 2014-07-08 20:28:27 -04:00
f250d16487 cut cursor follows grid 2014-07-08 16:08:31 -04:00
4d61f69078 bolder scissor images to match existing tools more closely 2014-07-08 15:00:19 -05:00
c1166c9f63 fix thinko with split selections. also ignore follow_edits when we are splitting, because the playlist freeze and the newly added regions cause the playhead to jump to unexpected locations 2014-07-08 15:00:19 -05:00
fcabd5d8ee initial implementation of "bring all media into session folder". Incomplete but basically functional for audio files 2014-07-08 00:53:13 -04:00
bf1de52de5 update callgrind script and add some doc. 2014-07-08 01:11:05 +02:00
eaa17c3951 xfade rects should only pop-up in Object mode, when they are focusable 2014-07-07 15:34:20 -05:00
116a0ad327 fix inconsistency in smart mode where it shows a trim cursor in the top half of the region edge, but a click is actually going to start a range. It is arguable that we _should_ allow trimming in the top half, but that is complicated. This change is small and makes it consistent for now 2014-07-07 14:46:05 -05:00
abe203de65 fix copy paste error in selection 2014-07-07 14:15:25 -05:00
67eaa62ee9 fix build after copy-n-paste/code change collision 2014-07-07 10:21:47 -04:00
d97199088b some code shuffling to make sure that cut mode always operates at the mouse location, with (maybe) the right regions 2014-07-07 10:13:26 -04:00
b39c30dbd1 remove leftover cruft from link-region-and-track removal 2014-07-07 09:07:06 -05:00
64404a16c1 remove all_group_active_button. if you want to operate on all tracks, choose select-all-tracks ( ctrl+t in the mnemonic bindings ). this is more explicit and allows safer use of the deselected-region-under-mouse operations 2014-07-07 08:46:25 -05:00
c028d223df add icons for cut mouse mode button and cut cursor (both need improving) 2014-07-07 09:13:23 -04:00
a34861c38e use an EditorCursor when dragging in cut mode to indicate cut position 2014-07-07 08:26:37 -04:00
4685a15b1f add new variant of EditorCursor that creates an insensitive full-canvas-height line, and fix destructor leak 2014-07-07 08:16:57 -04:00
936861f6ce Use Canvas::re_enter() after changing mouse mode so we get the right cursor no matter what item we're over; fix return value for button press in cut mode; never change selection in cut mode 2014-07-07 07:54:41 -04:00
b1a8f11565 tentative use of "c" as test binding for scissors/cut mouse mode (will possibly revert) 2014-07-07 07:53:54 -04:00
779fe6c082 add functionality for cut tool 2014-07-07 07:05:44 -04:00
7ec397c019 add basics of Cut mouse mode, no functionality yet. Icon images are still required 2014-07-07 07:05:43 -04:00
8381c10b59 update audio-export as used by video-export (disable soundcloud) 2014-07-06 23:45:39 +02:00
6d97d72999 remove some cruft with previous commits. remove option link-region-and-track-selection since they are now exclusive, and rename select-all-regions to select-all-objects to match the implementation 2014-07-06 14:02:13 -05:00
40d377c288 add number-label at top of mixer-strip 2014-07-06 20:14:12 +02:00
381b6848fc repair ardour-button "fixed color mode" 2014-07-06 19:56:53 +02:00
881703144c show track color on mixer-strip 2014-07-06 19:56:53 +02:00
db60bc86b8 now that track and region selections are mutually exclusive, you need a separate action to select-all-tracks and select-all-regions. also, preserve region selection during a split, iff we are working on a region selection: only add the newly created regions, dont change anything else in the selection; leave that in control of the user 2014-07-06 12:57:36 -05:00
c771668f9a Q and W jump between markers. this puts them right next to Tab which creates and deletes markers. numpad left/right arrows are an alternate action for this 2014-07-06 07:02:11 -05:00
0b38d65dd0 new approach to selections which will help rationalize Split and similar functions. Object and Track selections are now mutually exclusive. a split will happen at (a) selection->regions (b) the intersection of edit_point and selection->tracks or (c) the region under the mouse, IFF nothing else is selected. 2014-07-05 20:47:43 -05:00
62c3638a42 further rationalization of the editor. after a split, ardour was switching the tool to object mode. this is the only place were ardour switched the tool for the user. that has been removed. Delete operation should not depend on the mouse mode, but rather the existence of selections. this solves the problem where you have selected regions in smart mode, but cant delete them because the mouse is in the top half (fange mode) of a track 2014-07-05 18:27:38 -05:00
b091fb8ee7 Left-align label for post-export hook script entry. 2014-07-05 21:47:49 +01:00
7815aa1e89 Make tap tempo use g_get_monotonic_time(), and fix minimum BPM
gettimeofday() is not guaranteed to be monotonic: use
g_get_monotonic_time() instead.

Also, fix calculation of slowest tap tempo BPM so that the slowest tempo
which can be set by tapping is 10 BPM rather than 240.
2014-07-05 21:47:49 +01:00
61d413ada4 Make 'Tap tempo' set the bpm to a running average
Keep a running average of the interval between clicks on the 'Tap tempo'
button, and use that average to set the bpm value.
2014-07-05 21:47:49 +01:00
e0eaea6471 Add 'Tap tempo' button to 'Edit tempo' dialogue
Add a 'Tap tempo' button to the 'Edit tempo' dialogue box that uses
gettimeofday() to time the interval between successive clicks and sets the
beats-per-minute appropriately.
2014-07-05 21:47:48 +01:00
63d81d2419 purge states of Audio-backends that are N/A
fixes crashes/assert() when using different builds while
sharing ardour.rc with n/a engine backends marked active.
2014-07-04 15:52:14 +02:00
a86c98df7a fix up various keybindings added/modified by Ben so that they work.
There is still the mystery of why we can specify Return and KP_Return but not Tab.
2014-07-04 08:03:51 -04:00
e083deff83 rename the action that cycles through edit modes, since there are more than two 2014-07-04 07:49:46 -04:00
b64634e32e move location of menus file loading and call ActionManager::enable_accelerators() to get all actions setup for binding options 2014-07-04 07:49:26 -04:00
a2c7fe03ef remove all accelerator declarations from ardour.menus.in, since they are about to be automatically registered for ALL actions 2014-07-04 07:36:49 -04:00
ba8898bd5f add new regions created by split to selection after operation is complete 2014-07-03 19:43:35 -04:00
555a5d6348 lots of keybinding changes. added a new action to allow removing markers at the playhead location. numpad now allows you to access marks higher than 9. to locate to a marker, use the numpad decimal to start and end the operation - for example press .19. to locate to marker 19. also added alternate bindings for redo, delete, and several other alternates that will be needed in subsequent commits. tab is not working, using either Tab or nabla in the binding.in file 2014-07-03 17:50:14 -05:00
ba33c6dab6 revert part of 0f1c7b1d71 which broke lots of stuff based on region selection 2014-07-03 15:51:06 -04:00
80d1631aa3 if a Range end is trimmed, in follow-edits mode, locate to the range end so it can be auditioned. (same as trimming a region end) 2014-07-03 12:56:33 -05:00
043b76569d fix the naming and behavior of always-play-range to match the button, which is follow-edits. when you select a range, the playhead should jump to the start of the range and begin to play the selection. BUT (unlike previous implementation) if the user wants to relocate the playhead, then that should be allowed. The user should always remain in charge of the playhead location. NOTE: your previous config setting will be invalidated. You must re-save a session to overwrite with the new config variable 2014-07-03 12:56:33 -05:00
a1c8e67e50 add a method to cancel a pending play_range. this is needed when we are modifying the range with keyboard commands. 2014-07-02 17:35:38 -05:00
0f1c7b1d71 start-range and finish-range should graphically show the range being created. also add bindings for comma and period in addition to existing bindings which require a numpad. the old ones are now alternates. all primary functionality should appear on the qwerrty, and the numpad should be considered an ergonomic redundant alternative if you have one 2014-07-02 17:35:37 -05:00
77e716943f round A/V offset to video-frames. 2014-07-02 23:36:06 +02:00
3c2c048f40 reinstate same logic, slightly differently implementedm, for choosing range/object mode when pointer is in smart mode and in a track but not in a region 2014-07-02 16:23:46 -04:00
3dbf37eab7 simplify zooming, remove Editor::clamp_samples_per_pixel(), fix getting "stuck" at max and min zoom levels 2014-07-02 15:53:24 -04:00
4c79d35838 remove unused "zoom range clock" from code as part of zoom simplifications 2014-07-02 14:56:36 -04:00
976f006cc0 display key name when debugging keyboard/accel stuff 2014-07-02 12:54:49 -04:00
bc3559925a allow escape key to work 2014-07-02 12:54:49 -04:00
3047919833 remove implicit range. start-range and end-range work better. documentation changes coming soon 2014-07-02 09:18:31 -05:00
190542c1d0 splice mode is undefined, undocumented, and buggy. ripple does most of what we want. remove splice for now. leave code because it may be revived later 2014-07-01 16:43:00 -05:00
960e5a3c7c Ripple mode: ripple all after start of first selected region
Ripple drags should affect all regions which start at or after the
beginning of the first selected region, not just those which start after
its end.
2014-07-01 20:43:34 +01:00
264c62eb26 Ripple mode: remove debug output
Remove std::cerr output, and tidy up a couple of comments.
2014-07-01 20:43:34 +01:00
0a87bbc37b add partial support for mute automation (playback does not work, data is not recorded in the session) 2014-07-01 14:37:05 -04:00
e3a6ea0273 give drop zone its own cursor-ability 2014-07-01 14:37:05 -04:00
e5e12acc56 Merge branch 'ripple-mode-cc' into cairocanvas
Fix up merge conflicts in
	gtk2_ardour/editor_mouse.cc
	gtk2_ardour/editor_ops.cc

Also fix up compile errors.
2014-07-01 19:10:47 +01:00
da65f3778c Fixes for ripple mode drag
Make undo of ripple mode dragging work a bit better, and hopefully prevent
rippled regions from jumping about when being dragged.
2014-07-01 18:46:13 +01:00
cabd3783fe Ripple mode: fix undo of paste
Fix undo of region paste operations in ripple mode.
2014-07-01 18:38:14 +01:00
83ae6beca5 Remove unused code
This code was changed to implement ripple mode, but meanwhile it was
removed altogether in cairocanvas. Remove it here too to simplify merging.
2014-07-01 18:38:13 +01:00
23e7cf1019 merge with master.
Manually resolved conflicts in import.cc and session.cc
2014-07-01 09:46:18 -04:00
4244ea6546 left-align all pref/option labels for consistency. 2014-07-01 14:52:35 +02:00
b47c20783d (hopefully) fix smart-mode breakage of xfade operations
We needed to set the selected regionview from a click when clicking on xfade items, but I also removed duplicate logic for some similar items
2014-06-30 19:18:34 -04:00
dff73d34d9 move draggable playhead to editor tab of preferences 2014-06-30 19:18:34 -04:00
d790881a84 remove cruft 2014-06-30 22:58:09 +02:00
e8fc8aa992 new UI config var to allow playhead to be optionally draggable (default is: yes, it can be dragged) 2014-06-30 16:32:38 -04:00
7b8fd17719 make canvas drop sensitive to scroll events 2014-06-30 14:47:57 -04:00
89f673a7a7 context click over a trim handle is semantically equivalent to a context click on the xfade 2014-06-30 13:58:46 -04:00
5165bf241d new region base color 2014-06-30 13:58:46 -04:00
416abf7f1c ensure that Editor::entered_track is reset during session deletion to avoid a crash when we explicitly unset it elsewhere 2014-06-30 13:58:46 -04:00
156f01cda6 fix bae86a2d - retain default values
set element values before calling update()
2014-06-30 19:01:28 +02:00
bae86a2d90 Disallow empty names for Groups, automatically enumerate them 2014-06-30 18:33:05 +02:00
26ba90815b move Opaque and Mute into region Gain submenus (both main menu bar and context menus) 2014-06-30 11:16:18 -04:00
1f695014b4 protect use of iterators across routeUI selection when operations change the selection (e.g. deletion) 2014-06-30 11:02:23 -04:00
890ea91920 change default timeline item gradient depth and waveform gradient depth 2014-06-30 10:57:59 -04:00
8b7a7a1943 always take verbose cursor clock mode from primary clock (finally!) 2014-06-30 10:47:49 -04:00
87208333ef new default color for inactive group tab 2014-06-30 10:43:29 -04:00
471570705d move contrasting_text_color() into ArdourCanvas 2014-06-30 10:38:45 -04:00
4c1f4011fd make verbose cursor respond dynamically to theme changes 2014-06-30 10:38:03 -04:00
a0e399f7dd make inactive group tab color be themeable and update it dynamically 2014-06-30 10:14:06 -04:00
4df566782c remove canvas cursor debug output 2014-06-30 09:20:26 -04:00
a9b3361081 use Editor::effective_mouse_mode() inside Editor::button_selection(); clean up special-case of fade in/out handles and mouse mode 2014-06-30 09:17:03 -04:00
cbdeaefa1c re-arrange tabs in Session > Properties dialog (Misc is last) 2014-06-29 16:11:46 +02:00
367b64c141 add 'save defaults' option to properties dialog 2014-06-29 16:11:46 +02:00
37a656b7b8 add a generic Option Editor Component for stateless widgets 2014-06-29 16:11:46 +02:00
c52cb37bf2 suspend route redisplay for (rec-en, solo, mute and monitor) batch changes 2014-06-29 02:52:56 +02:00
77216ac468 add RAII DisplaySuspender 2014-06-28 23:22:15 +02:00
fd7cddb847 use a hash-table to cache gui properties 2014-06-28 22:02:20 +02:00
4a7eb62bf8 use state Session::StateProtector 2014-06-28 22:02:20 +02:00
611e762e3c fix meterbridge: load button image only once. 2014-06-28 22:02:20 +02:00
c706b1c4bb replace old implementation of Editor::_ensure_time_axis_view_is_visible() with the guts of Editor::ensure_track_is_visible(), then remove the latter.
Also change all users of ensure_track_is_visible() to use _ensure_time_axis_view_is_visible()
2014-06-27 10:49:05 -04:00
242181dc10 add commentary on why PublicEditor::{_,}ensure_time_axis_view_is_visible() both exist 2014-06-27 10:48:04 -04:00
19ff353665 fix edges of selection rects in time axis views to lie correctly within bounds of the time axis view 2014-06-27 10:18:11 -04:00
6b835af842 make time axis view item name text be insensitive to events
We don't really need to be able to click on this to do anything - dbl-click on the item brings up the edit menu etc.
2014-06-27 09:37:57 -04:00
0a9595f74f make verbose canvas cursor color be set in its constructor rather than explicitly 2014-06-27 09:37:57 -04:00
353f857d6e fix meterbridge height issues when config changes 2014-06-26 21:20:04 +02:00
4e689d9496 use new TrackingText for verbose cursor 2014-06-26 15:10:24 -04:00
be37432bef removed no-longer-used Editor::track_canvas_motion() 2014-06-26 15:10:24 -04:00
7d2f8b5686 remove unused i2w code from ControlPoint 2014-06-26 15:10:24 -04:00
e06de8b855 remove duplicate entries 2014-06-26 15:10:24 -04:00
5382d21300 vertically expand recent-session list 2014-06-26 20:54:01 +02:00
e1d327c5ed fix meter-strip session/route-ui events 2014-06-26 19:21:16 +02:00
a7c559fd63 show track-number in GUI 2014-06-26 19:21:05 +02:00
17b25e7572 prepare UI style for track-number boxes 2014-06-26 19:19:36 +02:00
09479ad19a prepare formatting track-number for mixer (and other places) 2014-06-26 19:19:29 +02:00
d100c0550f session option GUI for track-number & take-name 2014-06-26 19:19:18 +02:00
c596e8dd87 fix "stop_recording_on_xrun" in prefs dialog 2014-06-26 19:15:17 +02:00
7658183a84 accept text-entry-change w/o enter and add filter_text option 2014-06-26 19:13:15 +02:00
b90d7a01fa consolidate SignalOrderRouteSorter 2014-06-25 21:47:54 +02:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
1bd4e448de namespace libardour utils 2014-06-25 21:47:54 +02:00
c4caac6230 let's not forget the video timeline 2014-06-25 15:35:08 -04:00
bbd4f83604 do not include ruler visibility items in context click menu on timebars 2014-06-25 15:32:42 -04:00
1d3e5dd947 tighten up spacing in ruler dialog 2014-06-25 15:26:55 -04:00
298085eec2 use new ruler dialog class for context clicks on ruler labels area 2014-06-25 15:23:25 -04:00
c381f5b653 new ruler dialog class 2014-06-25 15:23:05 -04:00
4b515c178c remove unused code 2014-06-25 13:37:59 -04:00
7ebf107e43 fix y-offset when drag-n-dropping regions from region list 2014-06-25 12:40:11 -04:00
ba484f1e1f Fix finding icon sets by using correct utility function 2014-06-25 12:40:10 -04:00
cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
769ee5c1f2 Change PBD::get_files_in_directory to return full paths in result
get_files_in_directory uses get_directory_contents internally now
2014-06-25 12:40:09 -04:00
c1ff79e2e6 GLib functions for listing directory contents don't include "." or ".." entries 2014-06-25 12:40:09 -04:00
66af3fbda0 add slider control to GUI tab of preferences for lock timeout 2014-06-25 12:12:01 -04:00
a2404382e9 expose Gtk::HScale member of OptionEditor::HSliderOption 2014-06-25 12:11:43 -04:00
6998cb1f13 part two of: lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor 2014-06-25 12:10:56 -04:00
66be061449 lock dialog MUST be a Gtk::Dialog so that it does not forward key (or other) events to the Editor 2014-06-25 11:47:35 -04:00
036740b0c8 check UIConfig variable before restarting lock timeout 2014-06-25 11:34:58 -04:00
b43d3fe8d7 add UIConfig variable for lock timer 2014-06-25 11:34:37 -04:00
d5ef8f5f1e new timer-based GUI locking code 2014-06-25 08:28:36 -04:00
1945260cd6 there's no me in proaudio 2014-06-24 12:48:24 -04:00
4bba1059e8 actual style specs for lock dialog button 2014-06-24 11:26:33 -04:00