13
0
Commit Graph

373 Commits

Author SHA1 Message Date
fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
4d3cd732c9 Unhardcode and increase bindable Lua-script-action count 2018-10-04 03:57:09 +02:00
510a0314cf move select-all-tracks,deselect-all,invert-selection to be global actions (and bindings) 2018-08-24 10:08:08 -04:00
506a42daf3 Cleanup trigger_script_by_name() debug/error messages 2018-07-31 02:00:27 +02:00
Nikolaus Gullotta
854df0ae24 make sandbox = false, for scripts called by Editor::trigger_script_by_name() 2018-07-16 13:12:05 -05:00
38b499a8f0 permit editing velocity bars option 2018-07-03 15:39:28 -04:00
20328f2929 set up core stuff for velocity display option 2018-07-03 14:06:25 -04:00
e1b380b302 Rename SMPTE enum back to Timecode. 2018-02-26 18:38:18 -06:00
22819b8d2f Fix a rather large naming thinko: GridTypeSamples should be CDFrames. 2018-02-26 17:02:24 -06:00
dc61256466 new_grid: Rewrite of Snap and Grid. (squashed commit)
Separate Snap from Grid.  Lots of naming changes.
Multiple simultaneous snap options allowed. Grid is one of the possible Snap options.
Grid uses the same data as the rulers.  Replace complicated tempo_lines with simple grid_lines.
The Grid is zoom-scale-sensitive along with the rulers.  If you are zoomed out, grid becomes coarser.
2018-02-09 09:59:39 -06:00
ba2b136af2 NO-OP: whitespace 2017-12-12 00:13:12 +01:00
dade19310d Lua scripting: add convenience function Editor::trigger_script_by_name(). 2017-12-07 11:08:26 -06:00
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
631629b8e7 Editor zoom: add zoom_to_extents() 2017-08-26 23:06:29 -05:00
cbe342c357 some structure/code for managing menu sensitivity now that VCAs are selectable 2017-08-07 12:04:11 -04:00
0ae9cda51d Allow to select VCAs 2017-08-06 22:17:42 +02:00
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Thomas Brand
63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00
dc3ae8d196 Add a "select topmost" track editor action 2017-04-29 12:38:53 +02:00
e04d237674 Allow Edit -> Crop to work with edit point set to mouse
Crop is currently only dependent on having a valid time/range selection.

Resolves : #7278
2017-03-09 11:51:00 +10:00
b9ff329e36 Allow Separate using Loop/Punch range to work with edit point set to mouse
These operations are not dependent on the mouse position.

Resolves: #7276
2017-03-09 10:14:35 +10:00
992ab1a273 Remove space between _ and ( 2017-03-04 12:33:22 -08:00
ddb4b8a7c3 Add reset region gain action for selected regions 2017-03-04 15:26:00 +10:00
356a422531 Update menu for Lua
- remove "Session > Scripting" entry point
- change ActionScripts to LuaScripts (all of them sans DSP)
2017-02-19 01:29:08 +01:00
0a41daa932 classify all region actions based on how they get a list of regions to operate on; use this in Editor::sensitize_the_right_region_actions()
There are still problems because actions like trim_front()
that use the edit point get the edit point with different
results than the code that sensitizes actions
2017-02-15 20:07:49 +01:00
08353095df This is the wrong approach to this problem.
Revert "3 actions (trim-front, trim-back, set-sync-position) do not need to be region-selection sensitive."

This reverts commit 4aaf3fcb95.
2017-02-09 17:03:42 +01:00
4aaf3fcb95 3 actions (trim-front, trim-back, set-sync-position) do not need to be region-selection sensitive.
They get regions via ::get_regions_from_selection_and_edit_point().

Many other editor operations need to be manually evaluated for this change, also.
2017-02-07 16:51:32 +01:00
d5f150b51b Add several new categories and re-sort some keybindings so they display more nicely in html printout. 2017-02-06 18:05:53 -06:00
80ee2f2c4d move 10 more actions from Editor/* to Common/* 2017-01-28 18:51:03 +01:00
3c2e69ea42 move 15 actions out of Editor/* namespace, and into Common/* 2017-01-28 18:02:28 +01:00
c6464e9c34 Move some actions into the global group:
This allows common keyboard shortcuts from any Tab (Editor, Mixer).
Discuss: should those actions/methods also be moved to ArdourUI instead of
PublicEditor?
2017-01-12 18:22:56 +01:00
386a1ed96e Separate is an Editor action (like Delete), not a Region action. 2016-12-19 14:08:23 -06:00
fced0887aa Fix for non-cxx11 enabled builds 2016-12-13 16:50:41 +10:00
89623923bd Change Zoom to Selection action (Z key) to zoom on both axes
Add Zoom to Selection (Horizontal) action to access previous behavior.

Remove Editor::temporal_zoom_region as it was duplicate code and broken for
both_axes

Should Resolve: #7112
2016-12-13 12:25:03 +10:00
3cfd48f48d fix typo in 914224f 2016-12-11 04:36:29 +01:00
914224f808 Add editor actions to set tempo and meter 2016-12-10 21:30:30 +01:00
a7d19f8fe5 Rename Duplicate Range action to Duplicate and assign existing Alt+d key binding
This will work the same as the existing binding with a Region Selection and
will also duplicate ranges in range selection mode.

Also add multi-duplicate editor action and use that for the default
multi-duplicate action, which will work the same in Object Selection/Grab Mode
but also supports Multi Duplicate of Range Selections....well it would if
that functionality worked correctly.

The duplicate and duplicate-multi region actions still have to exist to be used
in the Region menu as they should only be sensitive if there is a Region
selection which would not be the case if the editor actions were used.

Resolves: #7153
2016-12-06 14:05:07 +10:00
2606b81d04 Editor up/down arrow keys: snap to track (not 60px) 2016-10-15 04:13:30 +02:00
7f31a40932 add "quantize" action for control surface access 2016-09-27 14:59:31 -05:00
07bb5ff347 move kbd focus reset method into ARDOUR_UI where it (probably) belongs 2016-09-06 16:17:08 -04:00
ff4e9cc1df do not set the focus widget to be a toplevel window in Editor::reset_focus.
See comments in code for the reason why
2016-09-06 15:39:50 -04:00
400f38c721 single action punch in
Consecutive execution (e.g. from a control surface button) engages punch in, then punch out, then clears both.
Patch by Nathan Stewart
2016-08-27 19:57:40 -04:00
Nathan Stewart
5b4584ad94 Add "Marker Toggle" #5193 2016-08-13 16:07:16 +02:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
nick_m
89ea747943 Make bbt ruler visible in default session. 2016-07-10 02:18:37 +10:00
da0bd3d8a5 fix region action sensitivity issues.
Desensitize all region actions initially, and toggle that state
appropriately when region selection changes
2016-07-08 08:44:21 -04:00
20d85384c1 there is no remote model choice anymore - ordering is determined by the GUI 2016-06-06 12:04:49 -04:00
nick_m
050035e787 Actions - make set-tempo-from-edit-range sensitive to time selection. 2016-06-03 03:16:50 +10:00
4cd6d52013 make Escape (cancel drag or selection) work in mixer as well as editor 2016-05-31 15:30:44 -04:00
4d74b5e420 action script GUI details (sensitivity + tooltip) 2016-05-14 15:16:23 +02:00