X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fsurfaces%2Ftranzport%2Fwheel_modes.cc;h=1882ad534ceda7f46f288701cd51af930e2bd08b;hb=e2f33cdc8bca71f11036ba22acb17551d6deb5a7;hp=06b3ae03b3a0cc48242951490a36f18e8059f0a0;hpb=449aab3c465bbbf66d221fac3d7ea559f1720357;p=ardour.git diff --git a/libs/surfaces/tranzport/wheel_modes.cc b/libs/surfaces/tranzport/wheel_modes.cc index 06b3ae03b3..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 @@ -33,23 +33,22 @@ #include #endif -#include +#include "pbd/pthread_utils.h" -#include -#include -#include -#include -#include -#include +#include "ardour/route.h" +#include "ardour/audio_track.h" +#include "ardour/tempo.h" +#include "ardour/location.h" +#include "ardour/dB.h" -#include +#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 @@ -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()); - } + } }