Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/controlttrotary.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           controlttrotary.h  -  description
00003                              -------------------
00004     copyright            : (C) 2002 by Tue and Ken Haste Andersen
00005     email                :
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef CONTROLTTROTARY_H
00018 #define CONTROLTTROTARY_H
00019 
00020 #include "configobject.h"
00021 #include "controlobject.h"
00022 
00026 class ControlTTRotary : public ControlObject
00027 {
00028     Q_OBJECT
00029 public:
00030     ControlTTRotary(ConfigKey key);
00031     
00032     double getValueFromWidget(double dValue);
00033     double getValueToWidget(double dValue);
00034     
00035     protected:
00036     void setValueFromMidi(MidiCategory c, double v);
00037 };
00038 
00039 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines