set ARDOUR_SURFACES_PATH for a bundle, just like ARDOUR_PANNER_PATH
[ardour.git] / gtk2_ardour / led.h
index 69ff7a3ead09a63b8b050c400181a8c3d12451fd..06ac7454dfb301bc9d7494cd0040ee2b0ffcf173 100644 (file)
@@ -32,16 +32,23 @@ class LED : public CairoWidget
         
         void set_visual_state (int32_t s);
         int32_t visual_state() const { return _visual_state; }
+        void set_diameter (float);
 
   protected:
        void render (cairo_t *);
-        
+        void on_size_request (Gtk::Requisition* req);
+        void on_realize ();
+
   private:
         int32_t _visual_state;
         bool  _active;
+        float _diameter;
+        bool  _fixed_diameter;
         float _red;
         float _green;
         float _blue;
+
+        void set_colors_from_style ();
 };
 
 #endif /* __gtk2_ardour_led_h__ */