summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.h
AgeCommit message (Collapse)Author
2016-11-13basic Mac VST Cocoa UI supportRobin Gareus
2016-08-20Make knobs size requests dynamicJulien "_FrnchFrgg_" RIVAUD
At the point of creation, the automate_button size request is wrong since it has not the correct style yet. Instead of trying ugly hacks to fix that, connect to the knob's size_request signal and get the button's requisition only when needed. If the system font changes to one that has different extents (even if the point size is the same), the UI will thus correctly update.
2016-08-17Align the currently selected automation state on dropdownJulien "_FrnchFrgg_" RIVAUD
By passing the current text of the automation button we can make the dropdown menu align with the current mode. This will only work for full-size automation buttons, not when use-knob is true, but in that case it feels wrong to popup on top of the button anyway. Also make the menu show on mouse down like a real dropdown.
2016-08-05add a "Pin Management" button to the plugin UI-headerRobin Gareus
2016-07-29GenericUI: Update all input controls on preset loadJulien "_FrnchFrgg_" RIVAUD
The existing code relies on AutomationControls for getting parameter changes and update the UI accordingly. One case where this doesn't yet work is preset loading, where ARDOUR::Plugin is responsible for actually loading the preset but doesn't notify the changes to AutomationControls. Since the input_controls vector now contains all ControlUI's that rely on AutomationControls to get updates, just listen to Plugin::PresetLoaded() and trigger an update of all elements in input_controls. This is temporary until a better solution is devised to make AutomationControls aware of preset loading.
2016-07-28GenericUI: only connect one PropertyChanged callbackJulien "_FrnchFrgg_" RIVAUD
The code connected the callback to the PropertyChanged signal from the plugin once per filepath control created. Should the plugin have several files to open, this would be at best wasteful and at worst racy. Connect the callback a single time, since the same callback handles all property updates that we're interested in. Also rename the methods, members and typedefs so that it's clear what the code is trying to do.
2016-07-28GenericUI: replace ComboBoxText by ArdourDropdownJulien "_FrnchFrgg_" RIVAUD
2016-07-16adjust plugin-UI height when toggling expandersRobin Gareus
2016-07-08towards a generic plugin grid layoutRobin Gareus
2016-07-08first step to separate generic-gui layoutRobin Gareus
2016-07-04Replace Gtk::ToggleButton with ArdourButton in Generic Plugin GUIRobin Gareus
2015-10-20Clean up generic and LV2 plugin GUI to deal with ↵Paul Davis
ParameterChanged(Externally) alteration
2015-10-20Revert "rename ParameterChanged signal in Plugin to ↵Paul Davis
ParameterChangedExternally to reflect its intent, and clean up the result." This reverts commit 336b2eb9a4a8634bae84a15e952d20335aa28c12.
2015-10-20rename ParameterChanged signal in Plugin to ParameterChangedExternally to ↵Paul Davis
reflect its intent, and clean up the result. The signal exists to notify listeners that something outside of the host's control (e.g. a plugin's own GUI for AU or VST) has modified a plugin parameter. Previous code had strange feedback loops and ambiguous semantics. Significant modification of LV2 GUI updating was required. Still to be tested for feedback loop issues: AudioUnits
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-05-04prepare plugin reset (#6297)Robin Gareus
2015-03-07Use Ardour widgets consistently in plugin UI.David Robillard
Several reasons: * This previously looked horribly inconsistent. * The Gtk selector was broken for plugins with many presets, making it impossible to select presets. For whatever reason, the use of a menu fixes this bug. * Towards a hierarchical menu for banked presets.
2015-02-21fix embedded plugin UI keyboard handlingRobin Gareus
When the GUI is opened the first time all is fine, focus is on the embedded widget. However once a user presses one of the preset buttons (Add, Save,...) there is no possibility to return focus to the embedded widget. Ardour always 'sees' it as focus=GtkButton and passes the event to the editor.
2014-11-28Remove redundant calls to start/end_touch.David Robillard
The controllers do this automatically.
2014-11-18Plugin Automation All: Fix bug where Switches weren't being changed.Jeremy Carter
2014-11-14fix up some suboptimal and crash-prone aspects of ↵Paul Davis
7c263f3bc4f3bddd8094c9baecf584503012acc8 from Jeremy Carter
2014-11-11Added Write All, Play All, etc. automation buttons to generic plugin UIJeremy Carter
2014-11-02Fix crash when showing UI for plugins with output control ports.David Robillard
2014-11-02Automation of LV2 plugin properties.David Robillard
Work towards ParameterDescriptor being used more universally to describe control characteristics.
2014-11-02Move ParameterDescriptor from Plugin to its own header.David Robillard
This fixes circular dependency issues that arise when using ParameterDescriptor more widely.
2014-11-02Decouple ControlUI from port index.David Robillard
2014-10-31More generic RT-safe implementation of LV2 properties.David Robillard
2014-10-31prototype [LV2]patch-change support for generic plugin UIs.Robin Gareus
2013-10-22honor LV2 units:midiNote: display Note name instead of integer3.5.14Robin Gareus
2013-05-02remove unused virtual event handlers from PluginUIWindowPaul Davis
2013-05-02make PluginUIWindow inherit from ArdourWindow not GtkWindowPaul Davis
2012-06-06kludgy hack/fix for plugin windows reappearing at (0,0) after re-activating ↵Paul Davis
ardour as app on OS X. having spent an entire day investigating the issue, this seems like an expedient though sad fix git-svn-id: svn://localhost/ardour2/branches/3.0@12573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-20Add "Description" pane to generic plugin UI for LV2 plugins with ↵David Robillard
documentation (rdfs:comment property). A Gtk::Entry might be better here, making Gtk::Label wrap based on size is tedious... git-svn-id: svn://localhost/ardour2/branches/3.0@12043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-25Update to latest LV2 atom extension.David Robillard
Implement proper support for fixed size LV2 plugin UIs. git-svn-id: svn://localhost/ardour2/branches/3.0@11757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21Use a AutoSpin rather than a combo box for inputCarl Hetherington
parameters marked up as scalePoint with fewer labels than there are possible values for the parameter (should fix #2612). git-svn-id: svn://localhost/ardour2/branches/3.0@11744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-21Rename combo_map variable to scale_points.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23Don't fix size of preset combo any more. Comment whatCarl Hetherington
widgets the PlugUIBase makes available for subclasses. Give up on trying to report when a VST plugin's settings have been modified from a preset, since I think it is impossible to do cleanly (you set the preset, then at some point after that the plugin tells you that values have changed using the same mechanism that it uses to report normal user-initiated changes). git-svn-id: svn://localhost/ardour2/branches/3.0@10798 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23Merge some linux/windows VST GUI code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-21Rename windows VST stuff with a Windows prefix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.David Robillard
Fixes #4364. I havn't fully tested every single dialog and window (heck, I don't even know how to get at half of them), and there may be some packing niggles, but this is the bulk of the work. The Gnome 3 kiddies can close their dialogs now, anyway :) git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-10more ardour-button-ization; fix transparency of selection rects; use ↵Paul Davis
"correct" cursors when entering and leaving selection rect handles; color tweaks for a few buttons git-svn-id: svn://localhost/ardour2/branches/3.0@10527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-18changes for OS X support: change waf config define to COREAUDIO_SUPPORT, ↵Paul Davis
remove PluginInsert call to IO::PortCountChanged, remove use of explicit Carbon linkage, fix up AudioUnit internals to actually work (Cocoa GUIs still currently broken) git-svn-id: svn://localhost/ardour2/branches/3.0@10224 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-20(native) Linux VST support from LinuxDSPPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-07Set up ControlUI::combo_map correctly to fix drop-down boxesCarl Hetherington
in generated plugin UIs (#4221). Based on work by jeremybub. git-svn-id: svn://localhost/ardour2/branches/3.0@10064 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-18Add 'controls' item to plugin insert context menu to always show Ardour ↵David Robillard
generated controls for plugin, even if the plugin has a GUI. In particular, this gives you UI access to presets and the other handy stuff ardour sticks at the top, for inherently broken external UIs which don't allow Ardour to add such things. Fix crash related to scale points when showing plugin UIs. Fix packing of scrolled generic plugin UI so the controls expand (rather than leaving a ton of wasted empty space and using unnecessary scroll bars). git-svn-id: svn://localhost/ardour2/branches/3.0@9551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14Generic scale points API.David Robillard
Hide scale points implementation inside specific Plugin subclass. Don't needlessley/slowly get scale points twice for each port while building UI. Remove dependence on specific plugin types from GenericPluginUI. git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19fixes to avoid dreadfull thread races and deletion crashes related to the ↵Paul Davis
pluin EQ GUI git-svn-id: svn://localhost/ardour2/branches/3.0@9378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04Slightly grubby fix to restore plugin output meters (#3926).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-15Clean up and hopefully fix handling of logarithmic plugin parameters (fixes ↵Carl Hetherington
#3769). git-svn-id: svn://localhost/ardour2/branches/3.0@8850 d708f5d6-7413-0410-9779-e7cbd77b26cf