projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix crash during session deletion as monitor section tries to update
[ardour.git]
/
gtk2_ardour
/
au_pluginui.h
diff --git
a/gtk2_ardour/au_pluginui.h
b/gtk2_ardour/au_pluginui.h
index cbf83d5d92e7f4f4834a43bd7371da8f85a4dffe..41b3116e515955038f0d6673fc35686d23b5aa3d 100644
(file)
--- a/
gtk2_ardour/au_pluginui.h
+++ b/
gtk2_ardour/au_pluginui.h
@@
-34,7
+34,15
@@
#undef require
#undef verify
#undef require
#undef verify
+#ifdef YES
+#undef YES
+#endif
+#ifdef NO
+#undef NO
+#endif
+
#include <gtkmm/box.h>
#include <gtkmm/box.h>
+#include <gtkmm/eventbox.h>
#include <gtkmm/combobox.h>
#include <gtkmm/button.h>
#include <gtkmm/label.h>
#include <gtkmm/combobox.h>
#include <gtkmm/button.h>
#include <gtkmm/label.h>
@@
-74,11
+82,11
@@
class AUPluginUI : public PlugUIBase, public Gtk::VBox
bool non_gtk_gui() const { return true; }
void lower_box_realized ();
bool non_gtk_gui() const { return true; }
void lower_box_realized ();
+ bool lower_box_visibility_notify (GdkEventVisibility*);
+
void cocoa_view_resized ();
void on_realize ();
void cocoa_view_resized ();
void on_realize ();
- bool on_map_event (GdkEventAny*);
- bool on_focus_in_event (GdkEventFocus*);
- bool on_focus_out_event (GdkEventFocus*);
+ void grab_focus();
void forward_key_event (GdkEventKey*);
bool on_window_show (const std::string& /*title*/);
void forward_key_event (GdkEventKey*);
bool on_window_show (const std::string& /*title*/);
@@
-93,7
+101,7
@@
class AUPluginUI : public PlugUIBase, public Gtk::VBox
int prefwidth;
Gtk::HBox top_box;
int prefwidth;
Gtk::HBox top_box;
- Gtk::
H
Box low_box;
+ Gtk::
Event
Box low_box;
Gtk::VBox vpacker;
Gtk::Label automation_mode_label;
Gtk::ComboBoxText automation_mode_selector;
Gtk::VBox vpacker;
Gtk::Label automation_mode_label;
Gtk::ComboBoxText automation_mode_selector;
@@
-105,6
+113,7
@@
class AUPluginUI : public PlugUIBase, public Gtk::VBox
NSWindow* cocoa_window;
NSView* au_view;
NSWindow* cocoa_window;
NSView* au_view;
+ NSRect last_au_frame;
/* Carbon */
/* Carbon */