a-fluidsynth: implement LV2_BANKPATCH__notify
[ardour.git] / gtk2_ardour / led.h
index 089c35b7a853ac5f09fb8663555f3804600a1f8b..fd29f9439fdfeef3df4204e851a3570e04fa32c3 100644 (file)
 
 class LED : public CairoWidget
 {
-  public:
+public:
        LED ();
        virtual ~LED ();
 
        void set_diameter (float);
 
-  protected:
-       void render (cairo_t *);
+protected:
+       void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*);
        void on_size_request (Gtk::Requisition* req);
        void on_realize ();
 
-  private:
+private:
        float _diameter;
        float _red;
        float _green;