clean up GUI scaling
[ardour.git] / gtk2_ardour / processor_box.h
index 8caee04006cbe317dd706889a4901d721f17a824..28c9af7d9d0838cd55ddf0385922b74924b943ba 100644 (file)
@@ -91,9 +91,6 @@ class ProcessorWindowProxy : public WM::ProxyBase
     void toggle();
     void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; }
 
-    bool marked;
-    bool valid () const;
-
     void set_state (const XMLNode&);
     XMLNode& get_state () const;
 
@@ -163,7 +160,6 @@ private:
        ProcessorBox* _parent;
        boost::shared_ptr<ARDOUR::Processor> _processor;
        Width _width;
-       Gtk::StateType _visual_state;
        PBD::ScopedConnection active_connection;
        PBD::ScopedConnection name_connection;
        PBD::ScopedConnection config_connection;
@@ -214,11 +210,7 @@ private:
 
        class PortIcon : public Gtk::DrawingArea {
        public:
-               PortIcon(bool input) {
-                       _input = input;
-                       _ports = ARDOUR::ChanCount(ARDOUR::DataType::AUDIO, 1);
-                       set_size_request (-1, 2);
-               }
+               PortIcon(bool input);
                void set_ports(ARDOUR::ChanCount const ports) { _ports = ports; }
        private:
                bool on_expose_event (GdkEventExpose *);
@@ -443,8 +435,8 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
        void route_property_changed (const PBD::PropertyChange&);
        std::string generate_processor_title (boost::shared_ptr<ARDOUR::PluginInsert> pi);
 
-        typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies;
-        ProcessorWindowProxies _processor_window_info;
+        //typedef std::list<ProcessorWindowProxy*> ProcessorWindowProxies;
+        //ProcessorWindowProxies _processor_window_info;
 
         ProcessorWindowProxy* find_window_proxy (boost::shared_ptr<ARDOUR::Processor>) const;