/*
- * Copyright (C) 2006 Paul Davis
+ * Copyright (C) 2006 Paul Davis
* Copyright (C) 2007 Michael Taht
*
* This program is free software; you can redistribute it and/or modify
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ *
* */
#include <tranzport_common.h>
using namespace sigc;
using namespace PBD;
-#include "i18n.h"
+#include "pbd/i18n.h"
#include <pbd/abstract_ui.cc>
{
prev_track ();
// not really the right layer for this
- if(display_mode == DisplayBigMeter) {
+ if(display_mode == DisplayBigMeter) {
if (route_table[0] != 0) {
notify(route_get_name (0).substr (0, 15).c_str());
}
void
TranzportControlProtocol::button_event_trackright_press (bool shifted)
{
- next_track ();
+ next_track ();
// not really the right layer for this
- if(display_mode == DisplayBigMeter) {
+ if(display_mode == DisplayBigMeter) {
if (route_table[0] != 0) {
notify(route_get_name (0).substr (0, 15).c_str());
}
void button_event_mute (bool pressed, bool shifted)
{
static int was_pressed = 0;
- if((!pressed && !was_pressed) || pressed) {
+ if((!pressed && !was_pressed) || pressed) {
was_pressed = 1;
- }
+ }
was_pressed = 0;
}