X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_ui.h;h=d570dc79bb2d3abef156da56e60b4b78aa226a93;hb=df28a71252f4593c65ec03611586dfc8a62a834f;hp=a0f6d5f783d82b2ae1d91d63224be6b2b6c309dd;hpb=33bee4128841ef5d3fb04a42d7c9623beb126e9c;p=ardour.git diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index a0f6d5f783..d570dc79bb 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -74,8 +74,6 @@ #include "add_route_dialog.h" #include "ardour_dialog.h" #include "ardour_window.h" -#include "dsp_load_indicator.h" -#include "disk_space_indicator.h" #include "editing.h" #include "enums.h" #include "mini_timeline.h" @@ -98,11 +96,13 @@ #include "keyeditor.h" #include "location_ui.h" #include "lua_script_manager.h" +#include "plugin_dspload_window.h" #include "rc_option_editor.h" #include "route_dialogs.h" #include "route_params_ui.h" #include "session_option_editor.h" #include "speaker_dialog.h" +#include "transport_masters_dialog.h" #else class About; class AddRouteDialog; @@ -121,6 +121,8 @@ class SessionOptionEditor; class SpeakerDialog; class GlobalPortMatrixWindow; class IdleOMeter; +class PluginDSPLoadWindow; +class TransportMastersWindow; #endif class VideoTimeLine; @@ -163,6 +165,8 @@ namespace ArdourWidgets { class Tabbable; } +#define MAX_LUA_ACTION_SCRIPTS 12 + class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr, public TransportControlProvider { public: @@ -232,6 +236,11 @@ public: void toggle_monitor_section_visibility (); void toggle_keep_tearoffs(); + void toggle_vca_pane(); +#ifdef MIXBUS + void toggle_mixbus_pane(); +#endif + void reset_focus (Gtk::Widget*); static PublicEditor* _instance; @@ -291,7 +300,8 @@ public: void flush_videotimeline_cache (bool localcacheonly=false); void export_video (bool range = false); - void session_add_audio_route (bool, int32_t, int32_t, ARDOUR::TrackMode, ARDOUR::RouteGroup *, uint32_t, std::string const &, bool, ARDOUR::PresentationInfo::order_t order); + void session_add_audio_route (bool, int32_t, int32_t, ARDOUR::TrackMode, ARDOUR::RouteGroup *, + uint32_t, std::string const &, bool, ARDOUR::PresentationInfo::order_t order); void session_add_mixed_track (const ARDOUR::ChanCount&, const ARDOUR::ChanCount&, ARDOUR::RouteGroup*, uint32_t, std::string const &, bool strict_io, @@ -306,6 +316,8 @@ public: ARDOUR::PluginInfoPtr, ARDOUR::Plugin::PresetRecord*, ARDOUR::PresentationInfo::order_t order); + void session_add_foldback_bus (uint32_t, std::string const &); + void display_insufficient_ports_message (); void attach_to_engine (); @@ -490,8 +502,7 @@ private: ShuttleControl shuttle_box; MiniTimeline mini_timeline; TimeInfoBox* time_info_box; - DspLoadIndicator dsp_load_indicator; - DiskSpaceIndicator disk_space_indicator; + ArdourWidgets::ArdourVSpacer meterbox_spacer; ArdourWidgets::ArdourVSpacer meterbox_spacer2; @@ -505,7 +516,7 @@ private: ArdourWidgets::ArdourButton feedback_alert_button; ArdourWidgets::ArdourButton error_alert_button; - ArdourWidgets::ArdourButton action_script_call_btn[10]; + ArdourWidgets::ArdourButton action_script_call_btn[MAX_LUA_ACTION_SCRIPTS]; Gtk::Table action_script_table; Gtk::VBox alert_box; @@ -564,24 +575,19 @@ private: Gtk::Label wall_clock_label; gint update_wall_clock (); - Gtk::Label disk_space_label; + Gtk::Label disk_space_label; void update_disk_space (); + void format_disk_space_label (float); Gtk::Label timecode_format_label; void update_timecode_format (); - Gtk::Label cpu_load_label; + Gtk::Label dsp_load_label; void update_cpu_load (); - Gtk::Label xrun_label; - void update_xrun_count (); - Gtk::Label peak_thread_work_label; void update_peak_thread_work (); - Gtk::Label buffer_load_label; - void update_buffer_load (); - Gtk::Label sample_rate_label; void update_sample_rate (ARDOUR::samplecnt_t); @@ -683,6 +689,8 @@ private: WM::Proxy export_video_dialog; WM::Proxy lua_script_window; WM::Proxy idleometer; + WM::Proxy plugin_dsp_load_window; + WM::Proxy transport_masters_window; /* Windows/Dialogs that require a creator method */ @@ -786,6 +794,7 @@ private: void audioengine_setup (); + void display_message (const char* prefix, gint prefix_len, Glib::RefPtr, Glib::RefPtr, const char* msg); Gtk::Label status_bar_label; bool status_bar_button_press (GdkEventButton*);