* bugfix from http://tracker.ardour.org/view.php?id=2155 thanks to kristian: fix...
[ardour.git] / gtk2_ardour / gain_meter.h
index 969757313c2e76145a67485e94655e915adac513..d15d8dfd59453e753d618ea4265942473fdd7aa9 100644 (file)
@@ -75,6 +75,8 @@ class GainMeter : public Gtk::VBox
        void set_meter_strip_name (const char * name);
        void set_fader_name (const char * name);
 
+       void clear_meters ();
+
   private:
 
        friend class MixerStrip;
@@ -116,7 +118,7 @@ class GainMeter : public Gtk::VBox
        std::string short_astyle_string (ARDOUR::AutoStyle);
        std::string _astyle_string (ARDOUR::AutoStyle, bool);
 
-       Width                       _width;
+       Width _width;
 
        static std::map<std::string,Glib::RefPtr<Gdk::Pixmap> > metric_pixmaps;
        static Glib::RefPtr<Gdk::Pixmap> render_metrics (Gtk::Widget&);
@@ -129,9 +131,9 @@ class GainMeter : public Gtk::VBox
 
        struct MeterInfo {
            Gtkmm2ext::FastMeter *meter;
-           gint16          width;
-               int                             length;
-           bool            packed;
+           gint16                width;
+               int                   length;
+           bool                  packed;
            
            MeterInfo() { 
                    meter = 0;
@@ -191,6 +193,9 @@ class GainMeter : public Gtk::VBox
 
        void on_theme_changed ();
        bool style_changed;
+       bool dpi_changed;
+       bool color_changed;
+       void color_handler(bool);
 };
 
 #endif /* __ardour_gtk_gain_meter_h__ */