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
cceb29f536
use new Track API
2017-09-18 11:40:53 -04:00
f9e7ffc601
no more per-track varispeed
2017-09-18 11:40:53 -04:00
a4a87f56e9
mega-commit to save state of first "it compilesand links" state for separated disk i/o changes.
...
THIS WILL NOT RUN. THIS REQUIRES MANY CHANGES
2017-09-18 11:40:52 -04:00
b5e1eb7538
Migrate PC dialog to RouteUI, midnam handing to RTAV.
...
This allows to to bring up the PC dialog from Editor/Editor-Mixer & Mixer
for both MIDI Tracks as well as MIDI Busses.
2017-09-09 18:25:36 +02:00
af103cf3c2
Remove old destructive API (non layered is a dynamic mode) 1/2
2017-08-18 20:59:52 +02:00
7009ff0300
Update Selection API to include all Stripables
2017-08-06 22:17:58 +02:00
Johannes Mueller
741c7229c7
Select the clicked route in the current mixer strip ( fixes #7429 )
...
Issue #7429 reports that that clicking a route of an already selected group
does not update the editor mixer strip selection. To fix this we call
Editor::set_selected_mixer_strip() at the end of
RouteTimeAxisView::selection_click();
The overhead of maybe calling it twice should be toleratable, as
::set_selected_mixer_strip() checks, if the route is already the current mixer
strip route before setting it.
2017-07-20 15:05:07 -04:00
601c317d70
Clean up library inheritance (colors.h, utils.h)
...
make libwidget independent of libcanvas.
Confine basics to pbd and gtkmm2ext.
2017-07-17 21:06:04 +02:00
1f5ebc5485
Remove ArdourPrompter wrapper
2017-07-17 21:06:04 +02:00
eb1e423b75
Remove <gtkmm.h> include from header files.
2017-07-17 21:06:04 +02:00
b5e9451bc7
Remove unused sources & includes
2017-07-17 21:06:04 +02:00
5c92613698
Separate Ardour UI widgets into dedicated library
2017-07-17 21:06:04 +02:00
68c106eab5
Fix VCA Automation Lane selection
...
This moves child-selection API up into TAV (Superclass of StripableTAV
which actually owns the children)
2017-07-07 14:47:36 +02:00
92fb6325e3
NO-OP: whitespace
2017-06-23 23:43:01 +02:00
d405b2dd6c
Mixbus GUI updates (VCA layout, no panners)
2017-06-23 23:43:01 +02:00
af6941ac34
Prepare VCA Automation Lanes -- refactor TAV
...
* add an abstract StripableTimeAxisView (Route TAV + VCA TAV)
* move common strip-methods into STAV
* Add Automation Lanes to VCA TAV
* Allow ATAV without Automatable for VCA Controls
2017-06-15 16:06:32 +02:00
2889a44a33
Use PBD::to_string from pbd/string_convert.h in RouteTimeAxis
...
Numeric formatting is equivalent as LC_NUMERIC=C in global C++ locale
2017-04-19 09:37:01 +10:00
b540817b5b
Use PBD::string_to<bool> in RouteTimeAxisView class
...
As they were converted from bool to string using PBD::to_string
2017-04-19 09:36:59 +10:00
edb9868e76
Remove conditional checks that are always true in RouteTimeAxisView class
2017-04-19 09:36:59 +10:00
8e07e4bd68
Use AxisView::get/set_gui_property API in RouteTimeAxisView class
2017-04-19 09:36:58 +10:00
77d07545c5
Don't show Group UI for the master-bus
2017-03-08 18:37:36 +01:00
bc79fc07ce
Remove redundant MIDI submenu. The items are now in the main menu.
2017-02-02 21:44:43 -06:00
d29f6bde5e
prevent suggestion that MIDI tracks can be set to stacked view
2017-01-29 15:03:29 +01:00
7688d22456
remove channel filter status and button from MIDI track header, access via context menu
2016-12-17 17:59:08 +00:00
8ba7e8f4ef
Hide/remove per-track record-mode in favor of global setting.
2016-12-17 02:43:42 +01:00
198b8f6b58
Fix reversed behaviour of Playlist -> New and New Copy
...
Resolves : #7146
Thanks again to elgoun for the patch
2016-11-28 10:59:32 +10:00
01f8ca831a
cont'd work to prevent duplicate playlist names
2016-11-25 14:24:29 +01:00
91ee1b6186
Don't allow duplicate playlist names
2016-11-24 22:11:19 +01:00
907c56234c
Add missing return
2016-08-18 16:32:38 +02:00
534ca81613
Make buttons in track headers behave more like Gtk::MenuToolButton
...
Make their popup menus show attached, and on mouse down, but keep the
context menu behavior on middle- and right-click for the group button
that reacted to those (probably an oversight but some users might have
got the habit of right-clicking).
This also makes the group deletion on Ctrl+click happen on mouse down
instead of mouse up which is not a great difference and avoids
complicating the code.
2016-08-18 13:24:00 +02:00
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
140258d8ab
remove reference "const int32_t&" -> const int32_t"
...
this simplifies lua-bindings and also let's the compiler worry about
constant primitive types.
2016-07-10 15:30:41 +02:00
nick_m
93c24e4433
Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor.
2016-07-10 02:18:36 +10:00
da7d7f9502
many changes associated with rationalizing selection flow
2016-07-06 13:39:10 -04:00
01812f53c3
use, or mostly use PresentationInfo for selection status of Routes.
...
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
2016-06-05 20:50:57 -04:00
1d5d98589a
catch up on change in definition of various AxisView {set,is}_selected() implementations
2016-06-05 16:33:02 -04:00
518f7f9892
RouteUI connects to Route's PropertyChange signal; derived types implement route_property_changed()
2016-06-05 16:33:02 -04:00
2161c5d507
use new RouteGroup property names
2016-06-05 16:33:01 -04:00
c31435b474
RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix initialization.
...
Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)
2016-06-05 16:33:01 -04:00
384d05dd35
change AxisView color API to be virtual and implement per-type variants
2016-06-05 16:33:01 -04:00
171b70927a
make AxisView::marked_for_display() be virtual so we can use the a Stripable's PresentationInfo hidden() status
2016-06-05 16:33:01 -04:00
e627a9681a
show existing automation lanes regardless if they were visible before.
...
Automation can be recorded with the automation time axis not being
visible.
2016-06-04 18:52:57 +02:00
260058a4a9
move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
...
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
8818e1887a
there is no explicit "Remote Control ID" control anymore - all done by ordering in the GUI
2016-06-02 19:19:22 -04:00
eee83c25a9
make all TimeAxisView derived types return PresentationInfo for sorting
2016-06-02 14:46:35 -04:00
0d999ea4ec
remove un-used name_hbox widget from TimeAxisView
2016-06-01 21:57:43 -04:00
428ed8ae1b
stop playing silly games with widget packing when editing a route name in the edito
...
Use a FloatingTextEntry instead. All clever functionality from previous
implementation has been retained.
2016-05-31 15:30:44 -04:00
653ae4acd6
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
...
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
6605b52c17
centralize rec-en sensitivity & prepare for rec-safe
2016-05-24 03:01:27 +02:00
17ace643e4
OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one)
2016-05-04 23:09:45 -04:00
106851b33a
add option to limit track-header meters to stereo
2016-05-04 17:36:40 +02:00
157b4b6b72
fix variable naming/scope issues
2016-02-22 15:31:24 -05:00
6991a07902
remove all trace of SAE from source code.
...
This had become incoherent over time, and posed a development hazard and burden going forward
2016-02-22 15:31:24 -05:00
dd32c05cda
GainMeter(Base) now has an explicit gain control given to it
2016-01-25 11:47:44 -05:00
André Nusser
7a846b7e6d
Make capitalization consistent and other minor spelling corrections.
2015-12-01 00:39:35 +01:00
6f955aa0bd
add Duplicate action to track and mixer context menus
2015-11-17 16:55:11 -06:00
be69dd279b
rework dbf28e3
(hidden parameters)
2015-10-28 21:25:01 +01:00
ebbe96aa08
note to self: at least test compilation before git push.
2015-10-28 19:00:59 +01:00
dbf28e320c
don't display hidden automation-controls.
2015-10-28 18:58:46 +01:00
696b89b71a
rework 8b80fe0
, use std::string, not char*
2015-10-15 11:24:15 +02:00
8b80fe04ad
Avoid calls to Glib::ustring << operator at all cost.
...
Glib::operator<<(std::ostream&, Glib::ustring const&) involves
loadlocale which is not thread-safe on OSX.
This fixes various seemingly random crashes on OSX.
2015-10-14 22:46:15 +02:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
1d42ed077e
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
...
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
nick_m
63269b3063
Automation selection fixes.
...
- display selected comtrol points in region gain lines
- display selected points in internal edit mode
- allow dragging of region gain lines in MouseContent mode
2015-06-21 05:27:45 +10:00
8dbd55236a
amend 3f5d17d
, clear changes to MIDI as well.
2015-05-28 14:41:17 +02:00
3f5d17dd24
Fix region paste (ctrl+v) undo.
2015-05-28 13:19:50 +02:00
af884b4174
meter-change: don’t update track-headers if not needed
2015-04-30 17:30:10 +02:00
abcc51d089
remove not-an-error error message.
2015-04-26 01:21:08 +02:00
52d67203a1
Trim Automation UI
2015-04-25 21:25:19 +02:00
15fc481776
make wording consistent
2015-04-06 20:14:24 -04:00
803853b4a4
rationalize incorrect design for removing tracks.
...
Still requires a way to make this work correctly from the mixer window
2015-04-06 17:56:23 -04:00
6d531b82e0
add context to single-letter translatable
2015-04-05 00:17:53 +02:00
d6574c9c40
remove duplicated calls to update solo/mute state from RouteUI descendants.
...
RouteUI::set_route() already does the right thing. Also remove RouteUI::mute_changed() since its
only role was to handle the mute change signal from a route, which boost::bind() makes unnecessary
since we can connect update_mute_display() directly.
2015-03-31 12:31:06 -04:00
75e0f5a023
remove GUI object state when tracks/busses are removed.
...
Not doing this results in accumulation of useless GUI object state which is never cleaned up.
Taken from work by Grygorii Zharun.
2015-03-30 15:27:23 -04:00
f1ce87a699
add API to select TAV height mode.
...
preparation for further Summary and Number of visible
track count fixes.
* “Only Self”: don’t resize child-views (old default)
* “Total Height”: distribute height equally among
all visible child [automation] lanes
* “Height per Lane”: given height should be applied
to all sub-views.
2015-03-19 21:47:34 +01:00
99054ea415
fix previous commit
2015-02-10 14:54:43 -06:00
b2e93b8fba
fix color and alpha of timestretch rect
2015-02-09 14:46:20 -05:00
nick_m
7a3662bc14
Fix missing selection undo for track header click and route list select.
2015-01-13 21:41:30 +11:00
9e0cd98ad4
fix select-all-regions-within (it used to select everything overlapped)
2015-01-09 12:21:10 -06:00
21ffb956e6
properly catch RTAV deletion.
...
fixes issue with editor-mixer retaining
a shared-pointer to the deleted route.
2015-01-08 00:41:59 +01:00
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
56ca52651e
fix up requested color names everywhere.
...
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14 16:15:38 -05:00
48a7a11974
initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
...
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-12-14 12:27:07 -05:00
89be7ae58c
Fix crash on quit when in a non-route time axis.
2014-12-06 22:43:06 -05:00
63082821d8
Support paste between automation lanes.
...
Also push the increasingly unwieldly paste parameters into a context object.
As with othe things, currently it is only possible to do "cross-type paste" by
explicitly selecting the target track. We will need to get automation region
view selection working to do better here, but at least for now it's possible to
get the data over.
2014-12-06 12:20:52 -05:00
0f72ea4a34
Factor out duplicated track automation code.
...
Mute automation for MIDI tracks.
2014-11-30 23:56:19 -05:00
2fa6caad95
Support cut/copy/paste of several regions and lines at once.
...
The idea here is to do the reasonable thing, and copy objects of some
type (e.g. MIDI region, gain line) to tracks with a matching type. The user
can override this with a track selection, which will be used straight-up.
Lost: ability to copy/paste lines across types, e.g. gain to pan. This is
often questionable, but sometimes useful, so we will need to implement some
sort of "greedy mode" to make it possible. Implementation simple, but not sure
what to do. Perhaps this should only be possible if one automation track is
explicitly (i.e. via track selection) involved, and the types are at least
compatible-ish?
2014-11-16 22:35:45 -05:00
31acd96384
Implement "multi-paste" for notes, regions, and automation.
...
The idea here is that pasting several times to the same location doesn't make
sense. Instead, the paste is appended past the last paste, snapped to the
grid. This make it simple to replicate a given section a number of times,
simply by copying once and pasting several times.
This behaviour only appears when successive pastes are done to the same
location (whatever the edit point is). When the paste point changes, the
"multi-paste" state is reset.
Boots 'n cats 'n boots 'n cats.
2014-11-14 20:04:19 -05:00
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
8a128b33d3
Automation of LV2 plugin properties.
...
Work towards ParameterDescriptor being used more universally to describe control characteristics.
2014-11-02 02:10:24 -05:00
ba4d1cd1c1
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
2014-10-21 22:58:58 -04:00
6bb573d81c
vertical pixel alignment of all TAV elements
2014-09-08 18:42:41 +02:00
1bb6fd752c
special case track-header buttons
2014-09-07 20:23:49 +02:00
4912409a8d
gtk style related fixes:
...
* remove some old/unused styles
* fix plugin-ui button (hover color when active)
* consistent style for route buttons
(and related ArdourButton updates)
2014-09-06 12:49:57 +02:00
ae1200716f
fix track-header vertical scrolling
...
Ignore vertical scroll events on horizontal
Automation Track Sliders. see also 70be12afaa
2014-09-06 12:46:28 +02:00
8fc6205e4e
set proper name (font) for number labels
2014-09-05 23:44:39 +02:00