/*
- * 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 <iostream>
#include <poll.h>
#endif
-#include <pbd/pthread_utils.h>
+#include "pbd/pthread_utils.h"
-#include <ardour/route.h>
-#include <ardour/audio_track.h>
-#include <ardour/session.h>
-#include <ardour/tempo.h>
-#include <ardour/location.h>
-#include <ardour/dB.h>
+#include "ardour/route.h"
+#include "ardour/audio_track.h"
+#include "ardour/tempo.h"
+#include "ardour/location.h"
+#include "ardour/dB.h"
-#include <tranzport_control_protocol.h>
+#include "tranzport_control_protocol.h"
using namespace ARDOUR;
using namespace std;
using namespace sigc;
using namespace PBD;
-#include "i18n.h"
+#include "pbd/i18n.h"
#include <pbd/abstract_ui.cc>
// if ? greater. dont
if(session->transport_speed() != 0) {
- show_mini_meter();
+ show_mini_meter();
} else {
-
+
switch (wheel_mode) {
case WheelTimeline:
text = "Time";
text = "Shtl";
break;
}
-
+
switch (wheel_shift_mode) {
case WheelShiftGain:
text += ":Gain";
break;
-
+
case WheelShiftPan:
text += ":Pan ";
break;
-
+
case WheelShiftMaster:
text += ":Mstr";
break;
-
+
case WheelShiftMarker:
text += ":Mrkr";
break;
}
-
+
print (1, 0, text.c_str());
- }
+ }
}