diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-10-16 13:31:20 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-10-16 13:44:36 -0400 |
commit | 8097b8c762e1543d6abbecfeb91b3f64ba36ec1f (patch) | |
tree | 1c11b9b8f617c04458ecce6999ec4ffa2efd3825 /gtk2_ardour/ardour_ui.h | |
parent | 697097219158bd159cc459529500d4700c32604e (diff) |
add action and menu entry for "reattach all tearoffs".
So far only does the transport tearoff
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index cc00b0a16b..51bc6dd117 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -112,10 +112,6 @@ class NSM_Client; class LevelMeterHBox; class GUIObjectState; -namespace Gtkmm2ext { - class TearOff; -} - namespace ARDOUR { class ControlProtocolInfo; class IO; @@ -126,6 +122,10 @@ namespace ARDOUR { class ProcessThread; } +namespace Gtkmm2ext { + class TearOff; +} + class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr { public: @@ -380,10 +380,11 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr std::list<MidiTracer*> _midi_tracer_windows; - /* Transport Control */ - void detach_tearoff (Gtk::Box* parent, Gtk::Widget* contents); void reattach_tearoff (Gtk::Box* parent, Gtk::Widget* contents, int32_t order); + void reattach_all_tearoffs (); + + /* Transport Control */ Gtkmm2ext::TearOff* transport_tearoff; Gtk::Frame transport_frame; |