mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
fix some layering/display problems with AU GUIs (requires new patches for GDK/Quartz)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3107 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0c1ee94d5d
commit
eeaee1ff41
5 changed files with 8 additions and 8 deletions
|
|
@ -341,7 +341,6 @@ AUPluginUI::get_nswindow ()
|
|||
void
|
||||
AUPluginUI::activate ()
|
||||
{
|
||||
cerr << "AUPluginUI:: activate!\n";
|
||||
return;
|
||||
if (carbon_window && cocoa_parent) {
|
||||
cerr << "APP activated, activate carbon window " << insert->name() << endl;
|
||||
|
|
|
|||
|
|
@ -132,6 +132,13 @@ PluginUIWindow::~PluginUIWindow ()
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
PluginUIWindow::on_map ()
|
||||
{
|
||||
Window::on_map ();
|
||||
set_keep_above (true);
|
||||
}
|
||||
|
||||
void
|
||||
PluginUIWindow::on_show ()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ class PluginUIWindow : public Gtk::Window
|
|||
bool on_key_release_event (GdkEventKey*);
|
||||
void on_show ();
|
||||
void on_hide ();
|
||||
|
||||
void on_map ();
|
||||
private:
|
||||
PlugUIBase* _pluginui;
|
||||
Gtk::VBox vbox;
|
||||
|
|
|
|||
|
|
@ -1090,8 +1090,6 @@ RedirectBox::edit_redirect (boost::shared_ptr<Redirect> redirect)
|
|||
|
||||
plugin_ui = new PluginUIWindow (plugin_insert);
|
||||
|
||||
// plugin_ui->set_keep_above (true);
|
||||
|
||||
WindowTitle title(Glib::get_application_name());
|
||||
title += generate_redirect_title (plugin_insert);
|
||||
plugin_ui->set_title (title.get_string());
|
||||
|
|
|
|||
|
|
@ -130,8 +130,6 @@ AUPlugin::discover_parameters ()
|
|||
{
|
||||
/* discover writable parameters */
|
||||
|
||||
cerr << "get param info, there are " << global_elements << " global elements\n";
|
||||
|
||||
AudioUnitScope scopes[] = {
|
||||
kAudioUnitScope_Global,
|
||||
kAudioUnitScope_Output,
|
||||
|
|
@ -144,8 +142,6 @@ AUPlugin::discover_parameters ()
|
|||
|
||||
AUParamInfo param_info (unit->AU(), false, false, scopes[i]);
|
||||
|
||||
cerr << "discovered " << param_info.NumParams() << " parameters in scope " << i << endl;
|
||||
|
||||
for (uint32_t i = 0; i < param_info.NumParams(); ++i) {
|
||||
|
||||
AUParameterDescriptor d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue