Line
Link Here
|
0 |
-- a/src/speakereditor.cc 2004-06-22 16:33:48.000000000 -0500 |
0 |
++ b/src/speakereditor.cc 2016-02-03 13:24:51.126527093 -0600 |
Lines 147-173
Link Here
|
147 |
m_ScrolledWindow.set_shadow_type(Gtk::SHADOW_ETCHED_IN); |
147 |
m_ScrolledWindow.set_shadow_type(Gtk::SHADOW_ETCHED_IN); |
148 |
m_ScrolledWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); |
148 |
m_ScrolledWindow.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); |
149 |
|
149 |
|
150 |
m_IdStringEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 0)); |
150 |
m_IdStringEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 0)); |
151 |
m_QtsEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 1)); |
151 |
m_QtsEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 1)); |
152 |
m_FsEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 2)); |
152 |
m_FsEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 2)); |
153 |
m_VasEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 3)); |
153 |
m_VasEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 3)); |
154 |
m_RdcEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 4)); |
154 |
m_RdcEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 4)); |
155 |
m_LvcEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 5)); |
155 |
m_LvcEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 5)); |
156 |
m_QmsEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 6)); |
156 |
m_QmsEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 6)); |
157 |
m_QesEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 7)); |
157 |
m_QesEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 7)); |
158 |
m_ImpEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 8)); |
158 |
m_ImpEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 8)); |
159 |
m_SensEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 9)); |
159 |
m_SensEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 9)); |
160 |
m_MmdEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 13)); |
160 |
m_MmdEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 13)); |
161 |
m_AdEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 14)); |
161 |
m_AdEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 14)); |
162 |
m_BlEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 15)); |
162 |
m_BlEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 15)); |
163 |
m_RmsEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 16)); |
163 |
m_RmsEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 16)); |
164 |
m_CmsEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 17)); |
164 |
m_CmsEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 17)); |
165 |
m_FreqRespFileEntry.signal_changed().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 18)); |
165 |
m_FreqRespFileEntry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 18)); |
166 |
m_FreqRespFileEntry.set_sensitive(false); |
166 |
m_FreqRespFileEntry.set_sensitive(false); |
167 |
|
167 |
|
168 |
m_BassCheckButton.signal_toggled().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 10)); |
168 |
m_BassCheckButton.signal_toggled().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 10)); |
169 |
m_MidrangeCheckButton.signal_toggled().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 11)); |
169 |
m_MidrangeCheckButton.signal_toggled().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 11)); |
170 |
m_TweeterCheckButton.signal_toggled().connect(bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 12)); |
170 |
m_TweeterCheckButton.signal_toggled().connect(sigc::bind<int>(mem_fun(*this, &Speaker_ListStore::on_entry_changed), 12)); |
171 |
|
171 |
|
172 |
m_EditFreqRespButton.signal_clicked().connect( mem_fun(*this, &Speaker_ListStore::on_edit_freq_resp) ); |
172 |
m_EditFreqRespButton.signal_clicked().connect( mem_fun(*this, &Speaker_ListStore::on_edit_freq_resp) ); |
173 |
m_BrowseFreqRespButton.signal_clicked().connect( mem_fun(*this, &Speaker_ListStore::on_browse_freq_resp) ); |
173 |
m_BrowseFreqRespButton.signal_clicked().connect( mem_fun(*this, &Speaker_ListStore::on_browse_freq_resp) ); |
174 |
-- a/src/boxeditor.cc 2004-06-22 16:33:48.000000000 -0500 |
174 |
++ b/src/boxeditor.cc 2016-02-03 13:25:24.649550992 -0600 |
Lines 94-109
Link Here
|
94 |
m_bass_speaker_combo.get_entry()->set_editable(false); |
94 |
m_bass_speaker_combo.get_entry()->set_editable(false); |
95 |
m_bass_speaker_combo.get_entry()->signal_changed().connect(mem_fun(*this, &BoxEditor::on_combo_entry_changed)); |
95 |
m_bass_speaker_combo.get_entry()->signal_changed().connect(mem_fun(*this, &BoxEditor::on_combo_entry_changed)); |
96 |
|
96 |
|
97 |
m_id_string_entry.signal_changed().connect(bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), ID_STRING_ENTRY_CHANGED)); |
97 |
m_id_string_entry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), ID_STRING_ENTRY_CHANGED)); |
98 |
m_vb1_entry.signal_changed().connect(bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), VB1_ENTRY_CHANGED)); |
98 |
m_vb1_entry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), VB1_ENTRY_CHANGED)); |
99 |
m_fb1_entry.signal_changed().connect(bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), FB1_ENTRY_CHANGED)); |
99 |
m_fb1_entry.signal_changed().connect(sigc::bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), FB1_ENTRY_CHANGED)); |
100 |
|
100 |
|
101 |
signal_speakerlist_loaded.connect(mem_fun(*this, &BoxEditor::on_speaker_list_loaded)); |
101 |
signal_speakerlist_loaded.connect(mem_fun(*this, &BoxEditor::on_speaker_list_loaded)); |
102 |
|
102 |
|
103 |
/* Setup option menu */ |
103 |
/* Setup option menu */ |
104 |
Gtk::Menu::MenuList& menulist = m_option_menu.items(); |
104 |
Gtk::Menu::MenuList& menulist = m_option_menu.items(); |
105 |
menulist.push_back( Gtk::Menu_Helpers::MenuElem(_("Sealed"), bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), SEALED_SELECTED) ) ); |
105 |
menulist.push_back( Gtk::Menu_Helpers::MenuElem(_("Sealed"), sigc::bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), SEALED_SELECTED) ) ); |
106 |
menulist.push_back( Gtk::Menu_Helpers::MenuElem(_("Ported"), bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), PORTED_SELECTED) ) ); |
106 |
menulist.push_back( Gtk::Menu_Helpers::MenuElem(_("Ported"), sigc::bind<int>(mem_fun(*this, &BoxEditor::on_box_data_changed), PORTED_SELECTED) ) ); |
107 |
m_box_type_optionmenu.set_menu(m_option_menu); |
107 |
m_box_type_optionmenu.set_menu(m_option_menu); |
108 |
|
108 |
|
109 |
signal_box_selected.connect(mem_fun(*this, &BoxEditor::on_box_selected)); |
109 |
signal_box_selected.connect(mem_fun(*this, &BoxEditor::on_box_selected)); |
110 |
-- a/src/settingsdialog.cc 2004-06-22 16:33:48.000000000 -0500 |
110 |
++ b/src/settingsdialog.cc 2016-02-03 13:30:19.230163765 -0600 |
Lines 156-186
Link Here
|
156 |
m_scale_crossover_image_parts.set_active(g_settings.getValueBool("ScaleCrossoverImageParts")); |
156 |
m_scale_crossover_image_parts.set_active(g_settings.getValueBool("ScaleCrossoverImageParts")); |
157 |
|
157 |
|
158 |
/* Setup configuration option change handlers */ |
158 |
/* Setup configuration option change handlers */ |
159 |
m_save_mainwindow_size.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
159 |
m_save_mainwindow_size.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
160 |
GSpeakers::SAVE_MAIN_WINDOW_SIZE)); |
160 |
GSpeakers::SAVE_MAIN_WINDOW_SIZE)); |
161 |
m_save_mainwindow_position.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
161 |
m_save_mainwindow_position.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
162 |
GSpeakers::SAVE_MAIN_WINDOW_SIZE)); |
162 |
GSpeakers::SAVE_MAIN_WINDOW_SIZE)); |
163 |
|
163 |
|
164 |
m_autoupdate_filter_plots.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
164 |
m_autoupdate_filter_plots.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
165 |
GSpeakers::AUTO_UPDATE_CROSSOVER_PLOT)); |
165 |
GSpeakers::AUTO_UPDATE_CROSSOVER_PLOT)); |
166 |
m_draw_driver_imp_plot.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
166 |
m_draw_driver_imp_plot.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
167 |
GSpeakers::DRAW_DRIVER_IMP_PLOT)); |
167 |
GSpeakers::DRAW_DRIVER_IMP_PLOT)); |
168 |
m_draw_driver_freq_resp_plot.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
168 |
m_draw_driver_freq_resp_plot.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
169 |
GSpeakers::DRAW_DRIVER_FREQ_RESP_PLOT)); |
169 |
GSpeakers::DRAW_DRIVER_FREQ_RESP_PLOT)); |
170 |
m_disable_filter_amp.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
170 |
m_disable_filter_amp.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
171 |
GSpeakers::DISABLE_FILTER_AMP)); |
171 |
GSpeakers::DISABLE_FILTER_AMP)); |
172 |
m_scale_crossover_image_parts.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
172 |
m_scale_crossover_image_parts.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
173 |
GSpeakers::SCALE_FILER_PARTS)); |
173 |
GSpeakers::SCALE_FILER_PARTS)); |
174 |
m_spice_path_entry.signal_changed().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
174 |
m_spice_path_entry.signal_changed().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
175 |
GSpeakers::SPICE_PATH)); |
175 |
GSpeakers::SPICE_PATH)); |
176 |
m_spice_use_ngspice.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
176 |
m_spice_use_ngspice.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
177 |
GSpeakers::SPICE_TYPE)); |
177 |
GSpeakers::SPICE_TYPE)); |
178 |
m_spice_use_berkley.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
178 |
m_spice_use_berkley.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
179 |
GSpeakers::SPICE_TYPE)); |
179 |
GSpeakers::SPICE_TYPE)); |
180 |
m_spice_use_gnucap.signal_clicked().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
180 |
m_spice_use_gnucap.signal_clicked().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
181 |
GSpeakers::SPICE_TYPE)); |
181 |
GSpeakers::SPICE_TYPE)); |
182 |
|
182 |
|
183 |
m_toolbar_style.signal_changed().connect(bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
183 |
m_toolbar_style.signal_changed().connect(sigc::bind<GSpeakers::Settings>(mem_fun(*this, &SettingsDialog::on_config_option_change), |
184 |
GSpeakers::TOOLBAR_STYLE)); |
184 |
GSpeakers::TOOLBAR_STYLE)); |
185 |
|
185 |
|
186 |
} |
186 |
} |
Lines 269-275
Link Here
|
269 |
#endif |
269 |
#endif |
270 |
m_file_selection = new Gtk::FileSelection(_("Select SPICE executable...")); |
270 |
m_file_selection = new Gtk::FileSelection(_("Select SPICE executable...")); |
271 |
m_file_selection->get_ok_button()->signal_clicked().connect( |
271 |
m_file_selection->get_ok_button()->signal_clicked().connect( |
272 |
bind<Gtk::FileSelection *>(mem_fun(*this, &SettingsDialog::on_file_ok), m_file_selection) ); |
272 |
sigc::bind<Gtk::FileSelection *>(mem_fun(*this, &SettingsDialog::on_file_ok), m_file_selection) ); |
273 |
m_file_selection->run(); |
273 |
m_file_selection->run(); |
274 |
m_file_selection->hide(); |
274 |
m_file_selection->hide(); |
275 |
delete m_file_selection; |
275 |
delete m_file_selection; |
276 |
-- a/src/freqrespeditor.cc 2016-02-03 13:27:57.898136003 -0600 |
276 |
++ b/src/freqrespeditor.cc 2016-02-03 13:29:06.397503303 -0600 |
Lines 122-128
Link Here
|
122 |
f2 = g_ascii_strtod(substr_ptr, NULL); |
122 |
f2 = g_ascii_strtod(substr_ptr, NULL); |
123 |
|
123 |
|
124 |
dbmag_entries[i]->set_text(GSpeakers::double_to_ustring((double)f2, 2, 1)); |
124 |
dbmag_entries[i]->set_text(GSpeakers::double_to_ustring((double)f2, 2, 1)); |
125 |
dbmag_entries[i]->signal_changed().connect(bind<bool>(mem_fun(m_save_button, &Gtk::Button::set_sensitive), true)); |
125 |
dbmag_entries[i]->signal_changed().connect(sigc::bind<bool>(mem_fun(m_save_button, &Gtk::Button::set_sensitive), true)); |
126 |
|
126 |
|
127 |
delete buffer; |
127 |
delete buffer; |
128 |
} |
128 |
} |
Lines 148-154
Link Here
|
148 |
delete buffer; |
148 |
delete buffer; |
149 |
of.close(); |
149 |
of.close(); |
150 |
for (int i = 0; i < 30; i++) { |
150 |
for (int i = 0; i < 30; i++) { |
151 |
dbmag_entries[i]->signal_changed().connect(bind<bool>(mem_fun(m_save_button, &Gtk::Button::set_sensitive), true)); |
151 |
dbmag_entries[i]->signal_changed().connect(sigc::bind<bool>(mem_fun(m_save_button, &Gtk::Button::set_sensitive), true)); |
152 |
} |
152 |
} |
153 |
|
153 |
|
154 |
} else { |
154 |
} else { |
155 |
-- a/src/crossoverpaned.cc 2004-06-22 16:33:48.000000000 -0500 |
155 |
++ b/src/crossoverpaned.cc 2016-02-03 13:35:16.600748274 -0600 |
Lines 86-111
Link Here
|
86 |
//sub_menulist.push_back( Gtk::Menu_Helpers::SeparatorElem() ); |
86 |
//sub_menulist.push_back( Gtk::Menu_Helpers::SeparatorElem() ); |
87 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _lowpass crossover"), |
87 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _lowpass crossover"), |
88 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
88 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
89 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_LOWPASS) ) ); |
89 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_LOWPASS) ) ); |
90 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _subsonic crossover"), |
90 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _subsonic crossover"), |
91 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
91 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
92 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action) , CROSSOVER_TYPE_SUBSONIC) ) ); |
92 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action) , CROSSOVER_TYPE_SUBSONIC) ) ); |
93 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _highpass crossover"), |
93 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _highpass crossover"), |
94 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
94 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
95 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_HIGHPASS) ) ); |
95 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_HIGHPASS) ) ); |
96 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _2-way crossover"), |
96 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _2-way crossover"), |
97 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
97 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
98 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_TWOWAY) ) ); |
98 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_TWOWAY) ) ); |
99 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New 2._5-way crossover"), |
99 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New 2._5-way crossover"), |
100 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
100 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
101 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), |
101 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), |
102 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _3-way crossover"), |
102 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _3-way crossover"), |
103 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
103 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
104 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_THREEWAY) ) ); |
104 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_THREEWAY) ) ); |
105 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _4-way crossover"), |
105 |
sub_menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _4-way crossover"), |
106 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
106 |
GSpeakers::image_widget("stock_new_crossover_16.png"), |
107 |
bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_FOURWAY) ) ); |
107 |
sigc::bind<int>(mem_fun(*this, &CrossoverPaned::on_new_crossover_menu_action), CROSSOVER_TYPE_FOURWAY) ) ); |
108 |
menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("_New Crossover"), GSpeakers::image_widget("stock_new_crossover_16.png"), |
108 |
menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("_New Crossover"), GSpeakers::image_widget("stock_new_crossover_16.png"), |
109 |
*new_crossover_submenu) ); |
109 |
*new_crossover_submenu) ); |
110 |
menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _Copy"), GSpeakers::image_widget("stock_new_crossover_copy_16.png"), |
110 |
menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem(_("New _Copy"), GSpeakers::image_widget("stock_new_crossover_copy_16.png"), |