GenericUI: rationalize Autostate button sizing
[ardour.git] / gtk2_ardour / plugin_ui.h
index 4075c94eb7cb66bab67629288c62a7e1ec674485..3b374298acc8ab9ef94f3186f8a864d28d8dfcd1 100644 (file)
@@ -237,6 +237,7 @@ private:
                bool                                    update_pending;
                bool                                    ignore_change;
 
+
                /* output */
 
                Gtk::EventBox* display;
@@ -252,8 +253,12 @@ private:
                /* layout */
                Gtk::Table* knobtable;
                int x0, x1, y0, y1;
+
+               bool short_autostate; // modify with set_short_autostate below
        };
 
+       void set_short_autostate(ControlUI* cui, bool value);
+
        std::vector<ControlUI*>   input_controls; // workaround for preset load
        std::vector<ControlUI*>   input_controls_with_automation;
        std::vector<ControlUI*>   output_controls;