summaryrefslogtreecommitdiff
path: root/gtk2_ardour/generic_pluginui.cc
AgeCommit message (Collapse)Author
2016-08-08GenericUI: better popup placement for automation modeJulien "_FrnchFrgg_" RIVAUD
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-29GenericUI: Show automation UI for dropdownsJulien "_FrnchFrgg_" RIVAUD
Also merge the ControlUI local layout of dropdows with the local layout of other control types (except FileButton).
2016-07-29GenericUI: disable super rapid timer for input controlsJulien "_FrnchFrgg_" RIVAUD
The super rapid timer was disconnected by GenericPluginUI::stop_updating but never connected again, so the generic UI worked often without getting periodic update triggers anyway. Try to disable the mechanism altogether, and see if there are updating glitches.
2016-07-29GenericUI: replace if() by assert()Julien "_FrnchFrgg_" RIVAUD
It makes no sense to check for the validity of mcontrol only for controller creation, since the remainder of the code assumes that the controller will have been created correctly. Replace that by an assert.
2016-07-28GenericUI: remove duplicate connection to signalJulien "_FrnchFrgg_" RIVAUD
Now that there isn't an early return anymore for Dropdowns, the common path takes care of connecting the display update code to the correct signal.
2016-07-28GenericUI: replace early return by an elseJulien "_FrnchFrgg_" RIVAUD
2016-07-28GenericUI: don't add all inputs to automation vectorJulien "_FrnchFrgg_" RIVAUD
That list is used to set the automation state of all automatable controls when the global automation state is changed with the buttons at the top of the generic UI window. The controls were added to the list regardless of the automatable status, and some controls were even added multiple times: once in build_control_ui() and once in build(). Since changing the state of non-automatable controls is wrong, only add the control UI in build_control_ui() which already has the knowledge of automatable or not.
2016-07-28GenericUI: add a sanity-check for FileChoosersJulien "_FrnchFrgg_" RIVAUD
Assert that all FileChooserButton created are for properties, because the remaining code assumes that it should setup things for a property.
2016-07-28GenericUI: move up filepath property handlingJulien "_FrnchFrgg_" RIVAUD
Since it is the only case that's completely different from others in that it only handles properties, and uses a different signal path for updates, don't put it in the middle, but as the first case to check for. Code move only, no behavior change (since it should be exclusive to all other cases anyway).
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-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-12more compact generic knob-ui layoutRobin Gareus
2016-07-11tweak generic plugin knob-widgetsRobin Gareus
remove label, use tooltip (saves space, more compact layout)
2016-07-08towards a generic plugin grid layoutRobin Gareus
2016-07-08first step to separate generic-gui layoutRobin Gareus
2016-07-05Plugin GUI activate/enable update (prefer enable)Robin Gareus
2016-07-04Prepare to use knobs in Generic Plugin UIRobin Gareus
2016-07-04Replace Gtk::ToggleButton with ArdourButton in Generic Plugin GUIRobin Gareus
2016-06-12don't show meter for integer/enum outputs in a generic plugin UIRobin Gareus
2016-06-05generic plugin UI: insensitive NotAutomatableRobin Gareus
2016-01-02change Controllable::set_value() API to include grouped control consideration.Paul Davis
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
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tipTim Mayberry
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-08-24allow file-browser in generic-plugin-GUI to expand.Robin Gareus
2015-06-02always round integer steps (regardless of enum)Robin Gareus
2015-05-04add plugin parameter reset button - closes #6297Robin 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-04remove duplicate callbackRobin Gareus
mcontrol->Changed is [also] subscribed to further below (input & output).
2015-01-01Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use ↵Tim Mayberry
PBD::Timers
2014-12-14fix up requested color names everywhere.Paul Davis
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14initial pass to replace all UIConfiguration::get_XXXXXX() calls with ↵Paul Davis
UIConfiguration::color(name). IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
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-11fixed automation *_all button crashJeremy 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-02Display gain and midiNote plugin parameters/properties nicely.David Robillard
Show fancy values on generic GUI controls, automation lane controls, and automation lane verbose cursor. Fix text display of midiNote values. Make bigstep of midiNote parameters 12 (one octave). Add ARDOUR::value_as_string() as a stateless one-stop-shop for value printing.
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-11-02Don't complain about properties with plugins that do not support them.David Robillard
2014-11-01convert interface <> internal values for all automationRobin Gareus
fixes Send-Fader, Gain-Automation and various Plugin-Slider ranges
2014-10-31More generic RT-safe implementation of LV2 properties.David Robillard
2014-10-31plug memory leakRobin Gareus