#include <gtkmm/liststore.h>
#include <gtkmm/combobox.h>
+#include "ardour/utils.h"
+
class EngineControl;
class ArdourStartup : public Gtk::Assistant {
int output_limit_count() const;
bool connect_outs_to_master() const;
- bool connect_outs_to_physical() const ;
-
+ bool connect_outs_to_physical() const;
+
+ bool applying () const {
+ return _applying;
+ }
+
private:
- bool applying;
+ bool _applying;
bool config_modified;
bool new_user;
bool new_only;
Gtk::VBox ic_vbox;
Gtk::RadioButton ic_new_session_button;
Gtk::RadioButton ic_existing_session_button;
+ bool initial_choice_activated(GdkEventButton *);
/* monitoring choices */
void setup_session_page ();
Gtk::VBox session_vbox;
Gtk::HBox session_hbox;
-
+
/* recent sessions */
-
+
void setup_existing_session_page ();
-
+
struct RecentSessionsSorter {
bool operator() (std::pair<std::string,std::string> a, std::pair<std::string,std::string> b) const {
return cmp_nocase(a.first, b.first) == -1;
void recent_row_activated (const Gtk::TreePath& path, Gtk::TreeViewColumn* col);
/* audio setup page */
-
+
void setup_audio_page ();
EngineControl* engine_dialog;
Gtk::FileChooserButton session_template_chooser;
struct SessionTemplateColumns : public Gtk::TreeModel::ColumnRecord {
- SessionTemplateColumns () {
+ SessionTemplateColumns () {
add (name);
add (path);
}
Gtk::CheckButton _create_master_bus;
Gtk::SpinButton _master_bus_channel_count;
-
+
Gtk::CheckButton _create_control_bus;
Gtk::SpinButton _control_bus_channel_count;
Gtk::CheckButton _limit_input_ports;
Gtk::SpinButton _input_limit_count;
- Gtk::CheckButton _connect_outputs;
+ Gtk::CheckButton _connect_outputs;
Gtk::CheckButton _limit_output_ports;
Gtk::SpinButton _output_limit_count;
gint session_options_page_index;
void move_along_now ();
-
+
};
#endif /* __gtk2_ardour_startup_h__ */