current_feedback.set_text(string_compose("%1", fbvalue));
}
-void
-OSC_GUI::push_feedback ()
-{
- cp.set_defaultfeedback (fbvalue);
- save_user ();
-}
-
void
OSC_GUI::calculate_strip_types ()
{
current_strip_types.set_text(string_compose("%1", stvalue));
}
-void
-OSC_GUI::push_strip_types ()
-{
- cp.set_defaultstrip (stvalue);
- save_user ();
-}
-
void
OSC_GUI::set_bitsets ()
{
}
calculate_strip_types ();
calculate_feedback ();
- push_strip_types ();
- push_feedback ();
+ cp.set_defaultstrip (stvalue);
+ cp.set_defaultfeedback (fbvalue);
+ save_user ();
}
void
if (preset_busy) {
return;
}
- preset_combo.set_active (2);
std::string fullpath = user_preset_directory();
if (g_mkdir_with_parents (fullpath.c_str(), 0755) < 0) {
if (!tree.write (fullpath)) {
error << string_compose ("MCP profile not saved to %1", fullpath) << endmsg;
}
+ preset_combo.set_active (2);
}
// Strip types calculator
uint32_t def_strip;
void calculate_strip_types ();
- void push_strip_types ();
Gtk::Label current_strip_types;
Gtk::CheckButton audio_tracks;
Gtk::CheckButton midi_tracks;
// feedback calculator
uint32_t def_feedback;
void calculate_feedback ();
- void push_feedback ();
Gtk::Label current_feedback;
Gtk::CheckButton strip_buttons_button;
Gtk::CheckButton strip_control_button;