1 |
/* |
/* |
2 |
* Copyright (C) 2006, 2007 Andreas Persson |
* Copyright (C) 2006 - 2008 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
351 |
m_RegionChooser.signal_region_changed_signal().connect( |
m_RegionChooser.signal_region_changed_signal().connect( |
352 |
region_changed_signal.make_slot()); |
region_changed_signal.make_slot()); |
353 |
|
|
354 |
|
note_on_signal.connect( |
355 |
|
sigc::mem_fun(m_RegionChooser, &RegionChooser::on_note_on_event)); |
356 |
|
note_off_signal.connect( |
357 |
|
sigc::mem_fun(m_RegionChooser, &RegionChooser::on_note_off_event)); |
358 |
|
|
359 |
dimreg_all_regions.signal_toggled().connect( |
dimreg_all_regions.signal_toggled().connect( |
360 |
sigc::mem_fun(*this, &MainWindow::update_dimregs)); |
sigc::mem_fun(*this, &MainWindow::update_dimregs)); |
361 |
dimreg_all_dimregs.signal_toggled().connect( |
dimreg_all_dimregs.signal_toggled().connect( |
1742 |
sigc::signal<void, gig::DimensionRegion*>& MainWindow::signal_dimreg_changed() { |
sigc::signal<void, gig::DimensionRegion*>& MainWindow::signal_dimreg_changed() { |
1743 |
return dimreg_changed_signal; |
return dimreg_changed_signal; |
1744 |
} |
} |
1745 |
|
|
1746 |
|
sigc::signal<void, int/*key*/, int/*velocity*/>& MainWindow::signal_note_on() { |
1747 |
|
return note_on_signal; |
1748 |
|
} |
1749 |
|
|
1750 |
|
sigc::signal<void, int/*key*/, int/*velocity*/>& MainWindow::signal_note_off() { |
1751 |
|
return note_off_signal; |
1752 |
|
} |