2005-09-25 14:42:24 -04:00
/*
2022-01-25 17:19:20 -05:00
* Copyright ( C ) 2022 Robin Gareus < robin @ gareus . org >
2019-08-02 17:26:43 -04:00
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation ; either version 2 of the License , or
* ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License along
* with this program ; if not , write to the Free Software Foundation , Inc . ,
* 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA .
*/
2005-09-25 14:42:24 -04:00
2014-09-07 14:11:28 -04:00
# include "editor_routes.h"
2005-09-25 14:42:24 -04:00
2016-07-14 14:44:52 -04:00
# include "pbd/i18n.h"
2005-09-25 14:42:24 -04:00
2022-01-25 17:19:20 -05:00
EditorRoutes : : EditorRoutes ( )
2005-09-25 14:42:24 -04:00
{
2022-01-25 17:19:20 -05:00
init ( ) ;
2005-09-25 14:42:24 -04:00
}
void
2022-01-25 17:19:20 -05:00
EditorRoutes : : init ( )
2005-09-25 14:42:24 -04:00
{
2022-01-25 17:19:20 -05:00
setup_col ( append_toggle ( _columns . visible , _columns . noop_true , sigc : : mem_fun ( * this , & EditorRoutes : : on_tv_visible_changed ) ) , S_ ( " Visible|V " ) , _ ( " Track/Bus visible ? " ) ) ;
2022-01-31 20:54:55 -05:00
setup_col ( append_toggle ( _columns . trigger , _columns . is_track , sigc : : mem_fun ( * this , & EditorRoutes : : on_tv_trigger_changed ) ) , S_ ( " Cues|C " ) , _ ( " Visible on Cues window ? " ) ) ;
2022-01-25 17:19:20 -05:00
setup_col ( append_toggle ( _columns . active , _columns . activatable , sigc : : mem_fun ( * this , & EditorRoutes : : on_tv_active_changed ) ) , S_ ( " Active|A " ) , _ ( " Track/Bus active ? " ) ) ;
2015-09-28 16:14:04 -04:00
2022-01-25 17:19:20 -05:00
append_col_input_active ( ) ;
append_col_rec_enable ( ) ;
append_col_rec_safe ( ) ;
append_col_mute ( ) ;
append_col_solo ( ) ;
2009-11-29 07:47:59 -05:00
}