MCP: remove misleading and confusing and out of date comment
[ardour.git] / libs / surfaces / mackie / fader.h
1 #ifndef __ardour_mackie_control_protocol_fader_h__
2 #define __ardour_mackie_control_protocol_fader_h__
3
4 #include "controls.h"
5
6 namespace Mackie {
7
8 class Fader : public Control
9 {
10   public:
11         
12         Fader (int id, std::string name, Group & group)
13                 : Control (id, name, group)
14                 , position (0.0)
15         {
16         }
17
18         MidiByteArray set_position (float);
19         MidiByteArray zero() { return set_position (0.0); }
20         
21         MidiByteArray update_message ();
22
23         static Control* factory (Surface&, int id, const char*, Group&);
24         
25   private:
26         float position;
27 };
28
29 }
30
31 #endif