summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.cc
AgeCommit message (Collapse)Author
2015-04-02Window focus handling fixes.nick_m
Many windows were not getting key events. Use magic focus infrastructure (built for widgets) to deliver key events via window focus in/out.
2015-03-23consolidate plugin freebie messages, fix #6151Robin 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.
2015-02-21hook up focus_button for LV2 GUIsRobin Gareus
2014-08-28fix plugin bypass button actionBen Loftis
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-04-18fix VST GUI swallowing for windowsRobin Gareus
2014-02-04merge (w/fix) with masterPaul Davis
2014-02-03fix typo ndef, NDEBUGRobin Gareus
2014-02-03don't display debug message in no-debug buildsRobin Gareus
2013-10-14Merge branch 'master' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/ardour_ui.cc
2013-10-14changes that will help fix a crash related to plugin window visibility. some ↵Paul Davis
work still to be done
2013-10-12do not use delete_when_idle() to delete a plugin UI because an entirely ↵Paul Davis
separate mechanism exists for that
2013-09-12incomplete merge of master into windows (requires upcoming changes to master ↵Paul Davis
to be complete)
2013-08-07major redesign of MIDI port heirarchy and management (part 2)Paul Davis
2013-07-11Don't require liblrdf on windowsPaul Davis
This removes dependence on liblrdf, libraptor and libxslt
2013-07-07window delete/hide is managed by WMProxy (amend to cb6f16ac)Robin Gareus
2013-06-13Generalize no-plugin-state from AudioUnits to all pluginsPaul Davis
Replace AU_STATE_SUPPORT compile-time define with NO_PLUGIN_STATE and make it prevent plugin state setting, preset loading, preset saving and plugin state saving. Blocks on these actions exist partially in the backend and partially in the GUI (this latter class are not absolute, and should OSC or MIDI be able to drive Plugin::save_preset() the block could be circumvented). Set NO_PLUGIN_STATE if --freebie is used at waf-configure time
2013-05-02remove unused virtual event handlers from PluginUIWindowPaul Davis
2013-05-02remove all of Gtk::Window::set_position (WIN_POS_MOUSE) for anything ↵Paul Davis
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-02make PluginUIWindow inherit from ArdourWindow not GtkWindowPaul Davis
2013-04-30cleanup AU GUI support, which was broken because prefheight and prefwidth ↵Paul Davis
were left unset after a cleanup attempt some months ago. add a few more tweaks based on current 2.x code and some tricks found elsewhere that dont' change behaviour but are just better
2013-02-05replace final(?) incidences of program name (ardour, Ardour) with ↵Paul Davis
PROGRAM_NAME (thanks to edgar for tracking them all down) git-svn-id: svn://localhost/ardour2/branches/3.0@14050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-05another plural fix from Mr Prokoudine.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18fix compiler warningRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-18Disable vulgar keep-above for plugin UIs.David Robillard
I vaguely recall it being mentioned that this was a kludge for OSX. Maybe not and somebody will complain. Oh well, this behaviour is incredibly obnoxious in some environments, and makes plugins that open dialogs (e.g. open file dialogs) completely unusable, and just generally wrong and evil. I have to try. git-svn-id: svn://localhost/ardour2/branches/3.0@13521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-22keep latency dialog for plugins above the plugin GUIPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21sshhhPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19patch from colinf that adds an 'empty' preset to the preset drop-down list, ↵Paul Davis
so that plugins can be set back to the 'no preset' state rather than being stuck in the state of 'preset loaded and modified'. This should apply to all plugin types, though I've only tried it on LV2 and LADSPA. git-svn-id: svn://localhost/ardour2/branches/3.0@12787 d708f5d6-7413-0410-9779-e7cbd77b26cf
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-05-16no need for an explicit disconnectPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12300 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-02-07remove additional "mid" color from ArdourButton; replace Active/Mid widget ↵Paul Davis
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-01-31patch from colinf to fix the width of generic plugin editorsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-02build changes from robin gareus for OS X, changing AU support to be used ↵Paul Davis
appropriately rather than GTKOSX git-svn-id: svn://localhost/ardour2/branches/3.0@10869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23Fix warning.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10802 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-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-03Remove LV2 support via SLV2 (Lilv only now).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@10184 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-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-15Support compilation with (old) SLV2, or (new) Lilv and (optionally) Suil.David Robillard
Fix ticket #0004041. git-svn-id: svn://localhost/ardour2/branches/3.0@9516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-05-14Use LV2_SUPPORT define instead of HAVE_SLV2.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19remove some debugging outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9380 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