mackie: radically shrink down the profile editor
[ardour.git] / libs / surfaces / mackie / meter.h
index 9ca5656664242052c5b4029a239ea68f93732af3..17972fb480f98d8e4a8586881479f7b67f0a3c27 100644 (file)
@@ -34,17 +34,21 @@ class Meter : public Control
 public:
        Meter (int id, std::string name, Group & group)
                : Control  (id, name, group)
+               , _enabled (false)
                , overload_on (false) {}
-       
+
+
        void send_update (Surface&, float dB);
+       bool enabled () const { return _enabled; }
 
        MidiByteArray zero();
 
        static Control* factory (Surface&, int id, const char*, Group&);
-  
+
        void notify_metering_state_changed(Surface& surface, bool transport_is_rolling, bool metering_active);
 
   private:
+       bool _enabled;
        bool overload_on;
 };