class ConnectionEditor;
class KeyEditor;
class LocationUIWindow;
+class MainClock;
class Mixer_UI;
class PublicEditor;
class RCOptionEditor;
ARDOUR::Session* the_session() { return _session; }
- bool will_create_new_session_automatically() const {
- return _will_create_new_session_automatically;
- }
-
- void set_will_create_new_session_automatically (bool yn) {
- _will_create_new_session_automatically = yn;
- }
-
int get_session_parameters (bool quit_on_cancel, bool should_be_new = false, std::string load_template = "");
int build_session_from_nsd (const std::string& session_name, const std::string& session_path);
bool ask_about_loading_existing_session (const std::string& session_path);
void save_ardour_state ();
gboolean configure_handler (GdkEventConfigure* conf);
- void do_transport_locate (framepos_t, bool);
void halt_on_xrun_message ();
void xrun_handler (framepos_t);
void create_xrun_marker (framepos_t);
GUIObjectState* gui_object_state;
- AudioClock* primary_clock;
- AudioClock* secondary_clock;
+ MainClock* primary_clock;
+ MainClock* secondary_clock;
void focus_on_clock ();
TimeInfoBox* time_info_box;
session_add_midi_route (true, route_group, how_many, name_template, instrument);
}
+ void session_add_mixed_track (const ARDOUR::ChanCount& input, const ARDOUR::ChanCount& output, ARDOUR::RouteGroup* route_group, uint32_t how_many, std::string const & name_template,
+ ARDOUR::PluginInfoPtr instrument);
+
/*void session_add_midi_bus () {
session_add_midi_route (false);
}*/
void maximise_editing_space ();
void restore_editing_space ();
+ void update_tearoff_visibility ();
+
void setup_profile ();
- void setup_theme ();
void setup_tooltips ();
void set_shuttle_fract (double);
protected:
friend class PublicEditor;
- void toggle_clocking ();
void toggle_auto_play ();
void toggle_auto_input ();
void toggle_punch ();
ARDOUR::AudioEngine *engine;
Gtk::Tooltips _tooltips;
- void goto_editor_window ();
- void goto_mixer_window ();
- void toggle_mixer_window ();
- void toggle_mixer_on_top ();
+ void goto_editor_window ();
+ void goto_mixer_window ();
+ void toggle_mixer_window ();
+ void toggle_mixer_on_top ();
int setup_windows ();
void setup_transport ();
static ARDOUR_UI *theArdourUI;
- void backend_audio_error (bool we_set_params, Gtk::Window* toplevel = 0);
void startup ();
void shutdown ();
Gtk::Label disk_space_label;
void update_disk_space ();
+ Gtk::Label timecode_format_label;
+ void update_timecode_format ();
+
Gtk::Label cpu_load_label;
void update_cpu_load ();
sigc::connection point_oh_five_second_connection;
sigc::connection point_zero_one_second_connection;
- gint session_menu (GdkEventButton *);
-
- bool _will_create_new_session_automatically;
-
void open_session ();
void open_recent_session ();
void save_template ();
void set_transport_sensitivity (bool);
- void remove_last_capture ();
-
void transport_goto_zero ();
void transport_goto_start ();
void transport_goto_end ();
void transport_goto_wallclock ();
void transport_stop ();
- void transport_stop_and_forget_capture ();
void transport_record (bool roll);
void transport_roll ();
void transport_play_selection();
About* about;
Splash* splash;
+
void pop_back_splash (Gtk::Window&);
/* cleanup */
Gtk::ToggleButton error_log_button;
void loading_message (const std::string& msg);
- void end_loading_messages ();
void toggle_translations ();