Commit Graph

534 Commits

Author SHA1 Message Date
Robin Gareus 389cacab11 Processor box interaction:
Allow to toggle inline display with tertiary + double-click.
also fix tooltip and fix inconsistent modifiers on inline display.
2016-10-18 22:26:23 +02:00
Robin Gareus a4ad0a90d1 GUI to allow aux-send feedback loops 2016-10-14 16:07:30 +02:00
Paul Davis b339cde446 remove debug output from last commit 2016-08-21 21:44:33 -04:00
Paul Davis ed5091d7ae editing plugin with generic GUI has a tooltip saying it uses the primary modifier. Make it so 2016-08-21 21:42:16 -04:00
Robin Gareus ba815a903b add a ToDo note for after string-freeze 2016-07-24 13:33:09 +02:00
Robin Gareus 901f8caf22 add a plugin-death connection
at application exit, there may otherwise be a race condition,
queue draw could be scheduled for a widget that's no longer present.
2016-07-18 23:52:40 +02:00
Robin Gareus a450024c56 add some strategic lua gc steps. 2016-07-18 23:52:40 +02:00
Julien "_FrnchFrgg_" RIVAUD 786cb746d0 Better choice for ports on external send creation
Ardour tried to make an educated guess at the initial number of outputs
for a new send. It used the channel configuration of the master bus, if
it existed, else the channel configuration of the route itself.

That guess is good in most cases, but in the case of a track/bus without
audio channels, creating a send with audio doesn't make sense. In that
case, also use the route outputs as a base for the send configuration.
2016-07-16 02:29:58 +02:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus c49ac91b01 add mouse interaction to inline display 2016-07-12 14:38:28 +02:00
Robin Gareus 412fcafda0 Plugin GUI activate/enable update (prefer enable) 2016-07-05 23:30:21 +02:00
Robin Gareus 08d7485e85 fix inline display when cairo_surface_has_snapshots 2016-07-02 23:36:34 +02:00
Robin Gareus 843b6b90b0 fix switching from generic to custom plugin UI 2016-06-05 23:55:08 +02:00
Paul Davis 301000c94e make new action to bind BackSpace to in processors box 2016-06-02 14:46:35 -04:00
Robin Gareus cfee8ac852 fix UI wire display to not coalesce views for non-linear i/o. 2016-05-24 18:18:26 +02:00
Robin Gareus 725665ac46 lua inline display error reporting 2016-05-20 23:15:58 +02:00
Robin Gareus f108664785 remove wrongly copy/pasted code 2016-05-10 20:54:11 +02:00
Robin Gareus b15ed28f79 separate Preset + Favorite DnD Targets
Sidebar is a source of "Favorites" and a destination for Presets.
2016-05-06 14:55:36 +02:00
Paul Davis 17ace643e4 OMNIBUS COMMIT: prefer const XMLNode::property method (and provide a real one) 2016-05-04 23:09:45 -04:00
Robin Gareus a725fde23d enable luaproc presets 2016-04-29 18:34:41 +02:00
Robin Gareus 1888104f8d remove "Lua DSP Proc" context meuu 2016-04-29 02:57:51 +02:00
Robin Gareus 62937ea1a6 special case send panning for MB
since the route does not use Ardour pannersi"link panners" here only
affects send <> send linking.
2016-04-20 21:28:03 +02:00
Robin Gareus 0b4b0b19bc don't show plugin GUI when renaming tracks/busses
ProcessorBox::route_property_changed() iterates over existing windows
and hit a "show_all".
2016-04-19 18:24:35 +02:00
Robin Gareus c9dedc567d fix midi-bypass drawing. 2016-04-19 17:31:00 +02:00
Robin Gareus af733a9a65 small is beautiful
...but I need new glasses
to tweak thru-via drawing for <=100% GUI scaling
2016-04-19 13:31:41 +02:00
Robin Gareus 98ab33e85e more wire drawing..
* use via-style circles for thru
* widen the spacing
* show gnd -> thru connections
2016-04-19 13:21:09 +02:00
Robin Gareus dd750722c5 more sidechain send GUI details:
* don't list exising normal sends (separate mono connections)
* tooltip inidicate autoremoval
2016-04-18 01:01:49 +02:00
Robin Gareus d3acba6be4 fix initial panner control for new Sends 2016-04-18 00:52:24 +02:00
Robin Gareus 64fdadecb6 fix port icon visibility for coalesced wire view 2016-04-17 21:50:29 +02:00
Robin Gareus ccbf56827d pretty send and sidechain names 2016-04-17 21:50:26 +02:00
Robin Gareus 8fc19d6c67 use temporary sends for sidechain inputs 2016-04-17 14:10:13 +02:00
Robin Gareus ddc4824d92 fix logic error for output routing wire display 2016-04-16 22:15:34 +02:00
Robin Gareus 9ad98885cb another take on mixer strip wire drawing
mini modulars are fun.
2016-04-16 21:28:37 +02:00
Robin Gareus ec09c1ad63 shorten and clarify context-menu entry. 2016-04-15 23:09:14 +02:00
Robin Gareus 7cbf7f370b special case side-chain when copying plugin-state (fix crash, dup IO) 2016-04-13 18:53:54 +02:00
Robin Gareus da6aae826d somewhat improved "thru" and sidechain routing display 2016-04-12 18:38:28 +02:00
Robin Gareus 1bf84f3ca3 fix editor/mixer initial display (show_all) 2016-04-09 00:33:56 +02:00
Robin Gareus 8c81808db7 GUI part of count/n_total API rename 2016-04-08 18:16:23 +02:00
Robin Gareus 3868c5b4a4 GUI support for plugin port bypass connections 2016-04-07 18:36:04 +02:00
Robin Gareus ffbcd9d9ec lexical NO-OP 2016-04-04 15:14:41 +02:00
Robin Gareus 90c8fdb12f mixer-strip wires: take midi-bypass/trhu into account 2016-04-04 14:58:46 +02:00
Robin Gareus e087237f3c s/Management/Connections/ 2016-04-04 13:56:34 +02:00
Robin Gareus 1feb50b2b2 Display output mapping (last processor before pan) in mixerstrip 2016-04-04 01:27:33 +02:00
Robin Gareus 4cedc07b3e add GUI to configure/connect sidechain 2016-04-03 05:21:40 +02:00
Robin Gareus f827168b67 update mixer-strip display - indicate sidechain 2016-04-03 05:16:59 +02:00
Robin Gareus d1580ba924 update mixer-strip routing display 2016-04-02 14:51:32 +02:00
Robin Gareus c44fb3e662 fix some thinkos with audio/midi port counting.
(there's more to come w/multiple midi ports grouped left)
2016-04-02 03:20:43 +02:00
Robin Gareus fa79e9a616 interactive GUI to manage plugins pins 2016-04-01 22:57:56 +02:00
Robin Gareus ee4e3e7737 update mixer-strip routing display 2016-03-31 20:44:39 +02:00
Robin Gareus 8acf782bd2 reduce header dependencies (part 2/2) 2016-03-28 19:14:56 +02:00
Robin Gareus 840c0599bf fix empty plugin window when switching generic to custom and back.
possibly since 0106047fd2 - show_all() was removed from show_own_window()
2016-03-27 21:40:57 +02:00
Robin Gareus 62d2d22b44 get started with Pin Manager - currently display-only. 2016-03-27 21:35:42 +02:00
Robin Gareus a8943538ea Hide lua script selector before showing lua parameter dialog. 2016-03-23 17:00:10 +01:00
Robin Gareus ea354226c1 catch lua exceptions. 2016-03-21 21:39:11 +01:00
Robin Gareus 877325ea6e special case LuaProc Inline Display UI: direct cairo context 2016-03-18 21:33:45 +01:00
Paul Davis c07bca3a62 fix capitalization of sections of key editor 2016-03-15 21:25:07 -04:00
Robin Gareus fed51adfa0 relax inline display height constraint 2016-03-16 01:24:32 +01:00
Paul Davis 09e193c097 give ProcessorBox its own bindings 2016-03-15 12:41:22 -04:00
Paul Davis 7460bbefb6 after showing a ProcessorBox context menu, resensitize all actions that it may have made insensitive
This allows them to be invoked via other means (e.g. bindings)
2016-03-15 12:41:21 -04:00
Robin Gareus 204e50bf89 migrate plugin-ui settings to ui-config 2016-03-15 15:15:23 +01:00
Robin Gareus c8d25f37bc remove superfluous ceil() 2016-03-15 11:55:44 +01:00
Robin Gareus 76df2d6e36 fix a Wsign-compare 2016-03-15 00:27:13 +01:00
Robin Gareus cb4f15ff43 implementation for "prefer inline over GUI" 2016-03-15 00:27:03 +01:00
Robin Gareus 7539bab670 inline-display, scrollbars and fixed aspect ratio = fun 2016-03-14 22:32:21 +01:00
Robin Gareus 594d0d8672 GUI update for non-cairo Plugin Inline Display 2016-03-14 16:45:27 +01:00
Robin Gareus 9af5d17708 add GUI support for Plugin Mixer Inline Display 2016-03-14 11:48:22 +01:00
Robin Gareus db333a1eed allow to copy processor state (drag processor on another of same type) 2016-03-11 22:00:12 +01:00
Robin Gareus 28017b4751 Add GUI to instantiate Lua DSP Processors 2016-02-23 15:41:41 +01:00
Paul Davis 56770ff0af change GTKOSX macro constant to use __APPLE__ instead 2016-02-22 15:31:25 -05:00
Paul Davis 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
Paul Davis bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
Paul Davis 09f9020897 action maps now have names 2016-02-22 15:31:24 -05:00
Paul Davis f6721344bd merge once again with master 2016-02-22 15:31:24 -05:00
Paul Davis 949163f806 more changes to Bindings, Keyboard APIs 2016-02-22 15:31:24 -05:00
Paul Davis 67e19c177f radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
We need this because we need binding information/objects before all
Actions have been defined.
2016-02-22 15:31:24 -05:00
Paul Davis 00933950b7 small rationalization of naming and code for managing plugin GUI visibility 2016-02-22 15:31:23 -05:00
Paul Davis a13a8da8ac switch all action registration/binding code over to new API.
This removes the ability to change bindings via menus.

Still to come: saving modified bindings, and reworking the key editor
2016-02-22 15:31:23 -05:00
Paul Davis 9010262bed first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
Paul Davis d1033819bd change ownership of the AutomationControl used by Amp.
It used to be owned by Amp. Now it is owned by Amp's owner
2016-01-18 12:11:08 -05:00
Paul Davis 9e3299f97d change Controllable::set_value() API to include grouped control consideration.
This also removes Route::group_gain_control() and associated machinery.
Not yet tested with Mackie or other surfaces. More work to done to
start using the group capabilities, and also potentially to add
or derive more controls as RouteAutomationControls
2016-01-02 04:58:30 -05:00
Robin Gareus 38f199e355 Processors: separate drag-sources and drop-targets 2016-01-01 13:28:47 +01:00
Robin Gareus bcaae13e3e set DnD targets per processor
This prevents DnD of non-processors to the sidebar
2015-12-30 12:25:09 +01:00
Robin Gareus 9283e97435 refine add preset/favorite dialog
dedicated "Add to Favorites only" mode.
2015-12-28 17:23:45 +01:00
Robin Gareus 4758de37cd allow creating plugin-presets by dragging a plugin to the sidebar 2015-12-28 04:11:45 +01:00
Robin Gareus e762fe36be refactor Processor-Box plugin drag/drop: allow presets 2015-12-25 17:13:00 +01:00
Robin Gareus 80028d7c82 don't automatically open plugin-GUI when using drag/drop 2015-12-24 01:45:16 +01:00
Robin Gareus a7b236561c ProcessorBox: allow to receive PluginInfoPtr drops 2015-12-22 04:24:20 +01:00
Robin Gareus d5c275e78e update ProcessorBox API for new DnDVbox constructor. 2015-12-22 04:15:04 +01:00
Robin Gareus 0d9f15dd80 GUI part of monitor-section constraints. 2015-12-21 14:38:28 +01:00
Robin Gareus 4dca26a6e7 use new open-gui-after-adding-plugin config variable 2015-12-08 13:44:20 +01:00
Ben Loftis 602839ffea use platform-specific modifier name for tooltip 2015-11-20 15:24:47 -06:00
Robin Gareus 7923a0e679 immediately show plugin GUI if only one plugin is instantiated 2015-11-20 11:14:36 +01:00
André Nusser 83b5bdbe95 Ctrl+shift functionality (toggle all) for plugin leds.
The Fader led has special behavior and is only toggled when clicked
explicitly.
2015-10-19 14:36:06 -04:00
Robin Gareus 696b89b71a rework 8b80fe0, use std::string, not char* 2015-10-15 11:24:15 +02:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis 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
Robin Gareus d25e1cb635 add a hidden option to show hidden processors
simplify debugging solo, monitor-processors, etc
2015-10-04 19:40:46 +02:00
Robin Gareus cba31db6fe processor-box: explicitly check for "Amp" (Fader) 2015-09-21 13:14:29 +02:00
Tim Mayberry 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
Tim Mayberry 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
Tim Mayberry 45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
Robin Gareus 53d51ac406 fix processor paste location - fixes #6536 2015-08-25 01:09:41 +02:00
Robin Gareus 11f51497f3 provisional processor control-box tweaks - possible fix for #6519
ControlBoxes are created/destroyed regularly (plugin re-order,
track selection -> Editor Mixer,...).

Properly disconnect the timer signal in the dtor and skip updateing the
tooltip unnecessarily (duplicate calls, Changed & Timer).

This should really be undone, the timer needs to be removed and Changed() used throughout.
2015-08-19 14:27:14 +02:00
Robin Gareus 9f3bf09a7c rework processor box: handle n/a plugins 2015-08-16 00:03:39 +02:00
Robin Gareus eddf50185b prepare UI for missing plugins 2015-08-15 23:29:53 +02:00
Robin Gareus 29b06768d5 handle some wire edge-cases & explanation 2015-08-09 08:37:28 +02:00
Robin Gareus 2e8e23fac3 update routing wires display 2015-08-04 18:42:27 +02:00
Robin Gareus a021da9a9d oops. 2015-07-29 03:34:27 +02:00
Robin Gareus 36f6aa9356 work-around OSX loadlocale thread safety.
This is not a real fix; just a stop-gap for the worst offender.

iostream on OSX is not thread safe.
Sadly no crash report so far managed to catch the 2nd thread in action.
looks like the GUI thread is preempted, 2nd thread succeeds, and the 
crash occurs later).

see also https://discussions.apple.com/thread/3479591

crash in
   s << c->internal_to_user (c->get_value ());

ardour-4.1.335(5000,0x7fff777f5300) malloc: *** error for object 0x7fe2f3e06170: pointer being freed was not allocated
1   libsystem_c.dylib       abort + 129
2   libsystem_malloc.dylib  free + 428
3   libsystem_c.dylib       __numeric_load_locale + 544
4   libsystem_c.dylib       loadlocale + 216
5   libstdc++.6.dylib       std::__convert_from_v(int* const&, char*, int, char const*, ...) + 193
6   libstdc++.6.dylib       std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const + 193
7   libstdc++.6.dylib       std::ostream& std::ostream::_M_insert<double>(double) + 221
8   ardour-4.1.335          ProcessorEntry::Control::set_tooltip() + 854 (processor_box.cc:578)
9   ardour-4.1.335          ProcessorEntry::Control::control_changed() + 446 (processor_box.cc:637)
10  ibpbd.dylib             PBD::StandardTimer::on_elapsed()
2015-07-28 20:54:43 +02:00
Robin Gareus 4c608b6e04 assign new IDs to plugin copies on paste.
when copying a plugin the state is transferred by serializing
XML and setting state from XML. This state includes the unique ID.

This ID needs to be identical at first in order to load
the state from <session-dir>/plugins/<ID>/*
2015-07-10 22:09:18 +02:00
Robin Gareus 03248249c8 remove LED from custom meter point processors
... since they can't be disabled. fixes 6333
2015-05-18 16:30:02 +02:00
John Emmas 8b5474b9e1 For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented 2015-04-24 19:11:10 +01:00
Robin Gareus b38ab89d92 clean up GUI scaling 2015-04-22 21:40:43 +02:00
Robin Gareus add248f0cb scale inline slider girth. 2015-04-22 21:40:42 +02:00
Robin Gareus 8731f9ed8f scaleable routing icons & wires 2015-04-22 21:40:42 +02:00
Paul Davis aab777b490 add braces 2015-04-13 22:25:55 -04:00
Robin Gareus 9f25af7eec processor control: update control-element tooltip 2015-03-29 17:11:08 +02:00
Robin Gareus b34f26a7d0 retain Send control visibility state, fixes #6210 2015-03-25 11:10:58 +01:00
Ben Loftis b1f9b644fc desensitize redirect-menu Send and Control items when they are not applicable 2015-02-11 11:13:24 -06:00
Tim Mayberry b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
Robin Gareus 52d97c8cfb update interface for processor-box faders step/page
see also 4d4c20b8c
2014-12-01 00:33:11 +01:00
Robin Gareus 58663db374 change ownership of processor window-proxy
fixes crashes:
* If the Editor-Mixer shows a channel with a plugin that
has been edited in the Mixer, double-clicking the plugin 
will try to bring up a 2nd instance of the plugin-UI.
* When closing Ardour both the Mixer and the Editor-Mixer try to delete the underlying plugin, resulting in a double free.
2014-11-29 10:06:25 +01:00
David Robillard ea5876b836 Remove dead code. 2014-11-25 02:11:44 -05:00
Robin Gareus 049c11de58 Slider Controller API Change
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.

(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
2014-11-01 18:22:29 +01:00
Robin Gareus 52f44dc4da convert interface <> internal values for all automation
fixes Send-Fader, Gain-Automation and various Plugin-Slider ranges
2014-11-01 07:27:35 +01:00
Robin Gareus aac3ca5521 initialize some uninitialized vars - closes #5974 2014-10-08 19:16:21 +02:00
Ben Loftis ceff2e3a62 plugin widgets were written to use Internal values, so use that for now 2014-09-18 17:25:11 -05:00
Robin Gareus a07dc44b4d remove pixel based Button LED diameter setting
Diameter is calculated depending on font-scaling.
Besides, all explicit calls simply set the default
value, anyway. If some API is needed in the future,
it should set the diameter in [em].
2014-09-06 02:08:59 +02:00
Robin Gareus 540a12119b prepare Slider API cleanup 2014-09-02 02:53:05 +02:00
Ben Loftis 39e2223fee yet another ArdourButton action tweak 2014-08-28 15:29:18 -05:00
Ben Loftis 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
Ben Loftis df2a8fccc7 disallow selection of the fader and meter processor entries 2014-07-28 10:08:26 -05:00
Ben Loftis 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
Ben Loftis 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
Robin Gareus a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Robin Gareus f6aaa1660b en/disable internal send+returns with tracks en/disable. 2014-06-23 00:48:47 +02:00
John Emmas bef4483611 Use round() instead of rintf() when building with MSVC 2014-01-30 18:37:36 +00:00
John Emmas e0b2764b91 Oops - the previous namespace qualifier was also needed in gtk2_ardour/processor_box.cc 2014-01-30 18:28:12 +00:00
Paul Davis 2ba58dfe65 Merge branch 'master' into cairocanvas 2014-01-29 16:08:52 -05:00
Robin Gareus 249ee47296 fix routing display for mono synths and midi-tracks w/o synth 2014-01-26 01:21:28 +01:00
Paul Davis cf806123ca merge (with conflict fixes) with master (even against rgareus' recommendation) 2014-01-14 10:56:17 -05:00
Robin Gareus e45151b89c first stab at send+route panner link 2014-01-13 23:21:30 +01:00
Robin Gareus 113f28b6fe independent panning for external sends 2014-01-13 09:39:50 -05:00
Robin Gareus 7e1e7e7629 add independent panner for internal (Aux) sends 2014-01-13 09:39:50 -05:00
Robin Gareus bc88203ef5 independent panning for external sends 2014-01-13 10:50:49 +01:00
Robin Gareus 0559c1babb add independent panner for internal (Aux) sends 2014-01-13 10:48:37 +01:00
Paul Davis 3020b224fa Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there 2014-01-10 16:07:57 -05:00
Robin Gareus 99ed84c429 display info about replicated processors 2014-01-10 12:12:06 +01:00
Robin Gareus 62d5b617d3 processor routing: use small boxes (instead of circles) for ports 2014-01-09 19:18:19 +01:00
Robin Gareus cec3116a8a fix processor-box wire-display in editor-mixer -- work around gtk_show_all() 2014-01-06 23:00:41 +01:00
Robin Gareus 9dec072438 processor-box: remove label-cruft and properly label 'Send' & 'Return' 2014-01-05 21:05:48 +01:00
Robin Gareus e89e06ded2 processor-box: remove cruft 2014-01-05 16:02:40 +01:00
Robin Gareus df32d30819 more processor-routing tweaks: compact view
* hide 'input' ports if mapping matches
 -> display half circles
* show ports for top-most processor (allos insertion point)
* reduce line-size to 1.0 and routing-box height to 7 (cairo .5 px align)
2014-01-05 15:50:13 +01:00
Robin Gareus 30d7f03b5a processor-box wiring - re-use colors from ingen/patchage 2014-01-05 14:04:33 +01:00
Robin Gareus 34d8c762c8 update processor control toggle button style 2014-01-05 13:13:28 +01:00
Robin Gareus d89573f8e7 update slider rendering & set style for faders
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
2014-01-05 13:07:31 +01:00
Robin Gareus 8c7cae0d8f add padding to in-line plugin controls 2014-01-04 19:03:47 +01:00
Robin Gareus c4de104822 fix tooltip on processor button widget 2014-01-04 18:48:28 +01:00
Robin Gareus 2b5a04d3f4 continued work on processor-routing visualization
major re-design.
 * change splitting-icon into routing-icon
 * add it to all processors (not only plugin-inserts)
 * subscribe to ChanCount configuration changes
 * add 'wiring' to BlankProcessorEntry pre-fader placeholder
 * visualize routing for non-matching port-counts

currently still wire+color design with #if'ed debug messages
and optional #ifdef wires for matching connections.
2014-01-04 05:54:20 +01:00
Robin Gareus 2644aaddb1 visualize port connections in mixer/processor when in < out 2014-01-01 15:34:06 +01:00
Robin Gareus fe464bf1dd remove cruft 2013-12-30 16:58:28 +01:00
Robin Gareus 7e857b2264 visualize # of channels in processor-box splitting icon 2013-12-30 15:55:17 +01:00
Robin Gareus 5cbd4ce759 fix crash @ session-restore of plugins windows
The question is: why is _owner not set [yet], when the
window is restored. This rather smells like a race condition.
2013-11-22 18:22:55 +01:00
John Emmas e466ce40ad Merge branch 'master' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/ardour_ui.cc
2013-10-14 19:31:22 +01:00
Paul Davis a901f28c62 use processor owner to set GUIs opened by a ProcessorBox, not current route name
Since the GUIs remain open across changes in track selection for the editor mixer now, the current route name
is not always correct as the owner/location of the Processor.
2013-10-14 11:14:38 -04:00
Paul Davis a244075fb3 changes that will help fix a crash related to plugin window visibility. some work still to be done 2013-10-14 09:54:38 -04:00
John Emmas 300b484cf6 Merge branch 'master' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/ardour_ui.cc
	gtk2_ardour/ardour_ui.h
	gtk2_ardour/ardour_ui_options.cc
2013-10-06 11:56:03 +01:00
Paul Davis 20fa19e69e more excision of "JACK" from labels, menu items, etc.
NOTE: users will lose the sample rate/latency display in the status bar display. Not yet sure what to do about this
2013-09-17 22:25:21 -04:00
Paul Davis bb826f4bee incomplete merge of master into windows (requires upcoming changes to master to be complete) 2013-09-12 11:28:50 -04:00
Paul Davis 8060198f75 change names of actions groups that include "jack" 2013-09-04 12:49:52 -04:00
Paul Davis 6a436fd826 fix merge conflict from master 2013-07-31 20:11:15 -04:00
Robin Gareus e294e78fef re-nice rendering of channel-splitting icon 2013-07-22 18:41:32 +02:00
Robin Gareus 649cf189e8 update processor-name (short|long) when mixer-strip width changes 2013-07-19 10:37:49 +02:00
Paul Davis 650964f320 Merge branch 'master' into windows 2013-07-17 08:05:59 -04:00
Robin Gareus 920154702f fix re-drawing of splitting icon 2013-07-16 22:18:51 +02:00
Paul Davis c08b336292 Fix ambiguous type CheckMenuItem that is also defined via windows.h 2013-07-11 15:32:31 -04:00
Robin Gareus b649f0a21b handle aux-send processor-box action
fixes http://tracker.ardour.org/view.php?id=5574
2013-07-11 11:36:38 +02:00
Paul Davis f7a27e17db fix display of external Send UI 2013-06-07 17:50:13 -04:00
Robin Gareus 94b6b4a7d2 fix crash when trying to show "controls" of processor w/o controls. 2013-06-07 00:40:47 +02:00
Robin Gareus b91b920b9b proper plugin-UI interaction/semantics
Always show plugin's own UI (if available) on double-click
Alt+double-click -> show 'generic controls'.
Context-menu offers both choices.
Use Tooltip for to make it discoverable.
2013-06-06 23:55:08 +02:00
Robin Gareus bce37837d3 fix context-menu entry sensitivity for plugins w/o custom GUI 2013-06-06 18:05:10 +02:00
Robin Gareus 4341d675dc remember plugin-UI type (custom/basic) with session.
amend to 3.1-81-g1acf8bd
2013-05-21 21:23:10 +02:00
Robin Gareus 1acf8bdc67 Restore 'Edit with basic controls' plugin UI functionality.
Regression was introduced in 40944574c

Compared to before 40944574c it is no longer possible to have
both custom and basic open at the same time.
On the upside window stacking and raise-to-top works properly.
2013-05-19 02:28:36 +02:00
Paul Davis bedc7b170e change namespace/naming of WindowManager classes; register all ArdourDialog and ArdourWindow classes as ProxyTemporary windows so that transient-for can be set for all such windows 2013-05-07 22:09:16 -04:00
Paul Davis 40944574c6 the big rework of window management. probably not complete at thsi point, but this is mostly functional 2013-05-04 22:02:05 -04:00
Paul Davis 3973ce81b3 remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything deriving from ArdourDialog or ArdourWindow; move the set_position() call into those classes' constructors, so that they are called before the windows are realized, and thus it actually works 2013-05-02 18:13:35 -04:00
Paul Davis 7df1654947 make PluginUIWindow inherit from ArdourWindow not GtkWindow 2013-05-02 10:11:57 -04:00
Paul Davis 55d13d100d fix big fat mixer strips
git-svn-id: svn://localhost/ardour2/branches/3.0@13995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-25 01:36:46 +00:00
Paul Davis a97376dd80 fix up rather odd sizing model for ProcessorBox that affected Pixfaders used as controls
git-svn-id: svn://localhost/ardour2/branches/3.0@13994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-24 21:58:07 +00:00
Paul Davis fffb7d5d50 safety steps for tooltips on plugin/processor sliders
git-svn-id: svn://localhost/ardour2/branches/3.0@13951 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21 18:18:42 +00:00
Paul Davis 347c4f9779 fix crash when copy-n-pasting plugins, caused by work done to allow copy-n-paste of aux sends: non-send processors do not have a "role" node in their XML state
git-svn-id: svn://localhost/ardour2/branches/3.0@13879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18 17:35:34 +00:00
Paul Davis a52fb39969 fix up various issues with sizing now that we have the basic idea that pixfaders can dynamically resize themselves (#5273)
git-svn-id: svn://localhost/ardour2/branches/3.0@13867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 02:35:06 +00:00
Paul Davis 8f79c9c190 allow drag-n-drop/copy-n-paste of aux sends
git-svn-id: svn://localhost/ardour2/branches/3.0@13847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:42:30 +00:00
Paul Davis 9fcf40c94b substantive changes to pixfaders and derived classes. now fully dynamically sizable and have an added texture that currently just emulates the ardour2 belt pattern. mild color changes, not finalized yet.
git-svn-id: svn://localhost/ardour2/branches/3.0@13830 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-11 18:33:57 +00:00
Paul Davis b1029a3caf goodbye pixmaps and pixbufs (no longer) used by Gtkmm2ext::PixFader
git-svn-id: svn://localhost/ardour2/branches/3.0@13827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-10 15:25:11 +00:00
Paul Davis fd1414f666 remove group button visibility option from preferences dialog; tweak font scale slider to force integral scaling; reduce processor box sliders a bit more
git-svn-id: svn://localhost/ardour2/branches/3.0@13664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-14 14:22:16 +00:00
Paul Davis 740c5aebab shrink height of plugin control faders (in-strip)
git-svn-id: svn://localhost/ardour2/branches/3.0@13644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-12 01:36:44 +00:00
Ben Loftis 014540a096 tweak to plugin parameter sliders in mixer strips
git-svn-id: svn://localhost/ardour2/branches/3.0@13631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-10 20:08:36 +00:00
Paul Davis 98834c0532 remove a bunch of cerr output and/or convert to use error<<
git-svn-id: svn://localhost/ardour2/branches/3.0@13477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 15:11:07 +00:00
Paul Davis 3cd8138a41 convert from Glib:: to Glib::Threads for all thread-related API
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25 17:48:55 +00:00