mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
a) remove polarity button, add polarity menu item, move functionality into RouteUI
b) correct switcheroo in function of active/visible columns for edit groups git-svn-id: svn://localhost/trunk/ardour2@431 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9051e4231c
commit
a779700bc0
5 changed files with 45 additions and 44 deletions
|
|
@ -773,6 +773,27 @@ RouteUI::route_active_changed ()
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
RouteUI::toggle_polarity ()
|
||||
{
|
||||
if (polarity_menu_item) {
|
||||
|
||||
bool x;
|
||||
|
||||
ENSURE_GUI_THREAD(mem_fun (*this, &RouteUI::toggle_polarity));
|
||||
|
||||
if ((x = polarity_menu_item->get_active()) != _route.phase_invert()) {
|
||||
_route.set_phase_invert (x, this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
RouteUI::polarity_changed ()
|
||||
{
|
||||
/* no signal for this yet */
|
||||
}
|
||||
|
||||
void
|
||||
RouteUI::solo_safe_toggle(void* src, Gtk::CheckMenuItem* check)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue