13
0
Commit Graph

315 Commits

Author SHA1 Message Date
b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
52d97c8cfb update interface for processor-box faders step/page
see also 4d4c20b8c
2014-12-01 00:33:11 +01:00
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
ea5876b836 Remove dead code. 2014-11-25 02:11:44 -05:00
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
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
aac3ca5521 initialize some uninitialized vars - closes #5974 2014-10-08 19:16:21 +02:00
ceff2e3a62 plugin widgets were written to use Internal values, so use that for now 2014-09-18 17:25:11 -05:00
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
540a12119b prepare Slider API cleanup 2014-09-02 02:53:05 +02:00
39e2223fee yet another ArdourButton action tweak 2014-08-28 15:29:18 -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
df2a8fccc7 disallow selection of the fader and meter processor entries 2014-07-28 10:08:26 -05: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
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
f6aaa1660b en/disable internal send+returns with tracks en/disable. 2014-06-23 00:48:47 +02:00
bef4483611 Use round() instead of rintf() when building with MSVC 2014-01-30 18:37:36 +00:00
e0b2764b91 Oops - the previous namespace qualifier was also needed in gtk2_ardour/processor_box.cc 2014-01-30 18:28:12 +00:00
2ba58dfe65 Merge branch 'master' into cairocanvas 2014-01-29 16:08:52 -05:00
249ee47296 fix routing display for mono synths and midi-tracks w/o synth 2014-01-26 01:21:28 +01:00
cf806123ca merge (with conflict fixes) with master (even against rgareus' recommendation) 2014-01-14 10:56:17 -05:00
e45151b89c first stab at send+route panner link 2014-01-13 23:21:30 +01:00
113f28b6fe independent panning for external sends 2014-01-13 09:39:50 -05:00
7e1e7e7629 add independent panner for internal (Aux) sends 2014-01-13 09:39:50 -05:00
bc88203ef5 independent panning for external sends 2014-01-13 10:50:49 +01:00
0559c1babb add independent panner for internal (Aux) sends 2014-01-13 10:48:37 +01:00
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
99ed84c429 display info about replicated processors 2014-01-10 12:12:06 +01:00
62d5b617d3 processor routing: use small boxes (instead of circles) for ports 2014-01-09 19:18:19 +01:00
cec3116a8a fix processor-box wire-display in editor-mixer -- work around gtk_show_all() 2014-01-06 23:00:41 +01:00
9dec072438 processor-box: remove label-cruft and properly label 'Send' & 'Return' 2014-01-05 21:05:48 +01:00
e89e06ded2 processor-box: remove cruft 2014-01-05 16:02:40 +01:00
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
30d7f03b5a processor-box wiring - re-use colors from ingen/patchage 2014-01-05 14:04:33 +01:00
34d8c762c8 update processor control toggle button style 2014-01-05 13:13:28 +01:00
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
8c7cae0d8f add padding to in-line plugin controls 2014-01-04 19:03:47 +01:00
c4de104822 fix tooltip on processor button widget 2014-01-04 18:48:28 +01:00
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
2644aaddb1 visualize port connections in mixer/processor when in < out 2014-01-01 15:34:06 +01:00
fe464bf1dd remove cruft 2013-12-30 16:58:28 +01:00
7e857b2264 visualize # of channels in processor-box splitting icon 2013-12-30 15:55:17 +01:00
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
e466ce40ad Merge branch 'master' into windows+cc
Conflicts (hopefully resolved):
	gtk2_ardour/ardour_ui.cc
2013-10-14 19:31:22 +01:00
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
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
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
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
bb826f4bee incomplete merge of master into windows (requires upcoming changes to master to be complete) 2013-09-12 11:28:50 -04:00
8060198f75 change names of actions groups that include "jack" 2013-09-04 12:49:52 -04:00
6a436fd826 fix merge conflict from master 2013-07-31 20:11:15 -04:00
e294e78fef re-nice rendering of channel-splitting icon 2013-07-22 18:41:32 +02:00
649cf189e8 update processor-name (short|long) when mixer-strip width changes 2013-07-19 10:37:49 +02:00
650964f320 Merge branch 'master' into windows 2013-07-17 08:05:59 -04:00
920154702f fix re-drawing of splitting icon 2013-07-16 22:18:51 +02:00
c08b336292 Fix ambiguous type CheckMenuItem that is also defined via windows.h 2013-07-11 15:32:31 -04:00
b649f0a21b handle aux-send processor-box action
fixes http://tracker.ardour.org/view.php?id=5574
2013-07-11 11:36:38 +02:00
f7a27e17db fix display of external Send UI 2013-06-07 17:50:13 -04:00
94b6b4a7d2 fix crash when trying to show "controls" of processor w/o controls. 2013-06-07 00:40:47 +02:00
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
bce37837d3 fix context-menu entry sensitivity for plugins w/o custom GUI 2013-06-06 18:05:10 +02:00
4341d675dc remember plugin-UI type (custom/basic) with session.
amend to 3.1-81-g1acf8bd
2013-05-21 21:23:10 +02:00
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
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
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
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
7df1654947 make PluginUIWindow inherit from ArdourWindow not GtkWindow 2013-05-02 10:11:57 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
Carl Hetherington
24a2688765 Remove old line.
git-svn-id: svn://localhost/ardour2/branches/3.0@12662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 21:21:44 +00:00
Carl Hetherington
f4ed14a83b Factor out 'persistent' tooltip code from the panner
interface and use it for processor box sliders (#4461).


git-svn-id: svn://localhost/ardour2/branches/3.0@12661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 21:21:10 +00:00
Carl Hetherington
c40437430a Make send automation work (#4734).
git-svn-id: svn://localhost/ardour2/branches/3.0@12650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-11 10:42:30 +00:00
Carl Hetherington
aba03a3aa6 Remove erroneous refusal to create aux sends on MIDI tracks, which may have audio streams that can be sent to busses.
git-svn-id: svn://localhost/ardour2/branches/3.0@12609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-08 14:29:14 +00:00
Carl Hetherington
a936e96693 Don't allow aux sends from MIDI tracks for the time
being (#4866).


git-svn-id: svn://localhost/ardour2/branches/3.0@12549 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-03 14:19:44 +00:00
Carl Hetherington
e39a8fc968 Make faders visually desensitised when their tracks are in automation-play.
git-svn-id: svn://localhost/ardour2/branches/3.0@12518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01 00:41:28 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
4235e9a1a2 a variety of mostly unused parameter errors from OS X Lion's compiler
git-svn-id: svn://localhost/ardour2/branches/3.0@12148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-02 20:29:46 +00:00
ec1ef5d6b5 remove the apparently unnecessary "ui_bind()" macro from entire source base
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-25 12:58:19 +00:00
Carl Hetherington
ed12f85c88 Add tooltips to plugin controls in the processor box
(#4697).


git-svn-id: svn://localhost/ardour2/branches/3.0@11741 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21 14:13:48 +00:00
78abd0538b use improved copying send/return/port insert fix in GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@11692 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-15 02:31:30 +00:00
359e4c8656 use new design for processor drag-n-drop
git-svn-id: svn://localhost/ardour2/branches/3.0@11671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-13 20:15:50 +00:00
Carl Hetherington
c74c4d3803 Remove a few unused methods from ProcessorBox.
git-svn-id: svn://localhost/ardour2/branches/3.0@11617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07 14:40:14 +00:00
b08d13706f remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-07 17:43:55 +00:00
Carl Hetherington
35a4144e45 Add aux sends at the position that the menu was opened, rather than always pre-fader (#4660).
git-svn-id: svn://localhost/ardour2/branches/3.0@11387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-30 18:09:54 +00:00
Carl Hetherington
b3b28e82b5 Slightly hacky-fix for misbehaviour when drag-and-dropping processors onto the blank entry (#4668).
git-svn-id: svn://localhost/ardour2/branches/3.0@11385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-29 22:51:36 +00:00
Carl Hetherington
b447024c32 Add option to use plugin GUIs or Ardour generic ones.
git-svn-id: svn://localhost/ardour2/branches/3.0@11298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-22 10:18:37 +00:00
Carl Hetherington
c95b34642f Use a button in the processor box for toggle parameters.
git-svn-id: svn://localhost/ardour2/branches/3.0@11297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 22:54:36 +00:00
Carl Hetherington
a1ecad4cfe Restore option to open a plugin editor built by Ardour,
rather than by the plugin; I erroneously removed this
option in a previous commit.


git-svn-id: svn://localhost/ardour2/branches/3.0@11295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21 22:10:07 +00:00