X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Ftranzport%2Fwheel_modes.cc;h=1882ad534ceda7f46f288701cd51af930e2bd08b;hb=e2f33cdc8bca71f11036ba22acb17551d6deb5a7;hp=6a4e11322261aa9083df2ac33957a0fef9b1dc7f;hpb=e5258d4ed18a358f9812acd971336272508f7038;p=ardour.git diff --git a/libs/surfaces/tranzport/wheel_modes.cc b/libs/surfaces/tranzport/wheel_modes.cc index 6a4e113222..1882ad534c 100644 --- a/libs/surfaces/tranzport/wheel_modes.cc +++ b/libs/surfaces/tranzport/wheel_modes.cc @@ -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 @@ -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 @@ -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()); - } + } }