correctly create Tracks, not Busses
[ardour.git] / libs / surfaces / tranzport / wheel_modes.cc
index 06b3ae03b3a0cc48242951490a36f18e8059f0a0..1882ad534ceda7f46f288701cd51af930e2bd08b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *   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
@@ -15,7 +15,7 @@
  *   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>
 
@@ -101,9 +100,9 @@ TranzportControlProtocol::show_wheel_mode ()
        //    if ? greater. dont
 
        if(session->transport_speed() != 0) {
-               show_mini_meter(); 
+               show_mini_meter();
        } else {
-               
+
                switch (wheel_mode) {
                case WheelTimeline:
                        text = "Time";
@@ -115,25 +114,25 @@ TranzportControlProtocol::show_wheel_mode ()
                        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());
-       } 
+       }
 }