#include "ardour/session_handle.h"
#include "ardour_dialog.h"
+#include "ardour_button.h"
#include "editing.h"
#include "ui_config.h"
#include "window_proxy.h"
+#include "enums.h"
+#include "visibility_group.h"
class About;
class AddRouteDialog;
class Route;
class RouteGroup;
class Location;
+ class ProcessThread;
}
class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
AudioClock* primary_clock;
AudioClock* secondary_clock;
- AudioClock* preroll_clock;
- AudioClock* postroll_clock;
TimeInfoBox* time_info_box;
void add_window_proxy (WindowProxyBase *);
void remove_window_proxy (WindowProxyBase *);
+ void get_process_buffers ();
+ void drop_process_buffers ();
+
protected:
friend class PublicEditor;
void toggle_mixer_window ();
void toggle_mixer_on_top ();
- Gtk::ToggleButton preroll_button;
- Gtk::ToggleButton postroll_button;
-
int setup_windows ();
void setup_transport ();
void setup_clock ();
void set_transport_controllable_state (const XMLNode&);
XMLNode& get_transport_controllable_state ();
- BindableButton roll_button;
- BindableButton stop_button;
- BindableButton goto_start_button;
- BindableButton goto_end_button;
- BindableButton auto_loop_button;
- BindableButton play_selection_button;
- BindableButton rec_button;
- BindableToggleButton join_play_range_button;
+ ArdourButton roll_button;
+ ArdourButton stop_button;
+ ArdourButton goto_start_button;
+ ArdourButton goto_end_button;
+ ArdourButton auto_loop_button;
+ ArdourButton play_selection_button;
+ ArdourButton rec_button;
+ ArdourButton join_play_range_button;
void toggle_external_sync ();
void toggle_time_master ();
ShuttleControl* shuttle_box;
- Gtkmm2ext::StatefulToggleButton auto_return_button;
- Gtkmm2ext::StatefulToggleButton auto_play_button;
- Gtkmm2ext::StatefulToggleButton auto_input_button;
- Gtkmm2ext::StatefulToggleButton click_button;
+ ArdourButton auto_return_button;
+ ArdourButton auto_play_button;
+ ArdourButton auto_input_button;
+ ArdourButton click_button;
Gtkmm2ext::StatefulToggleButton time_master_button;
Gtkmm2ext::StatefulToggleButton sync_button;
int ambiguous_file (std::string file, std::string path, std::vector<std::string> hits);
bool click_button_clicked (GdkEventButton *);
+
+ VisibilityGroup _status_bar_visibility;
+
+ /** A ProcessThread so that we have some thread-local buffers for use by
+ * PluginEqGui::impulse_analysis ().
+ */
+ ARDOUR::ProcessThread* _process_thread;
+
+ void feedback_detected ();
};
#endif /* __ardour_gui_h__ */