correctly create Tracks, not Busses
[ardour.git] / libs / surfaces / tranzport / wheel_modes.cc
index 6a4e11322261aa9083df2ac33957a0fef9b1dc7f..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>
@@ -37,7 +37,6 @@
 
 #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"
@@ -49,7 +48,7 @@ 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());
-       } 
+       }
 }