add plural forms for pt to gtk2_ardour/po/pt.po
[ardour.git] / gtk2_ardour / led.h
index e8514d60c053017e2121bb7664204ebe338dcb41..ef5ae7b68df8c5ac708b2a0ecd433b410ff028b5 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <stdint.h>
 
-#include "cairo_widget.h"
+#include "gtkmm2ext/cairo_widget.h"
 
 class LED : public CairoWidget
 {
@@ -30,27 +30,21 @@ class LED : public CairoWidget
        LED ();
        virtual ~LED ();
 
-       void set_active (bool yn);
-       bool active () const { return _active; }
-        void set_visual_state (int32_t s);
-        int32_t visual_state() const { return _visual_state; }
-        void set_diameter (float);
+       void set_diameter (float);
 
   protected:
-       void render (cairo_t *);
-        void on_size_request (Gtk::Requisition* req);
-        void on_realize ();
+       void render (cairo_t *, cairo_rectangle_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 ();
+       float _diameter;
+       float _red;
+       float _green;
+       float _blue;
+       bool  _fixed_diameter;
+
+       void set_colors_from_style ();
 };
 
 #endif /* __gtk2_ardour_led_h__ */