Code

fix compile
[inkscape.git] / src / ui / dialog / livepatheffect-editor.h
index e2c7da3220bc6bb2421dcc38ea6bc68245e1cfaa..be636ba2a90d9aa42b89fae6c3149a4acd160276 100644 (file)
@@ -49,6 +49,7 @@ public:
 
 private:
     sigc::connection selection_changed_connection;
+    sigc::connection selection_modified_connection;
 
     void set_sensitize_all(bool sensitive);
 
@@ -56,7 +57,7 @@ private:
     void showText(Glib::ustring const &str);
 
    // void add_entry(const char* name );
-    void effect_list_update(SPLPEItem *lpeitem);
+    void effect_list_reload(SPLPEItem *lpeitem);
 
     // callback methods for buttons on grids page.
     void onApply();
@@ -67,16 +68,19 @@ private:
 
     class ModelColumns : public Gtk::TreeModel::ColumnRecord
     {
-         public:
-         ModelColumns()
-         {
+      public:
+        ModelColumns()
+        {
             add(col_name);
             add(lperef);
-         }
+            add(col_visible);
+        }
+        virtual ~ModelColumns() {}
 
-         Gtk::TreeModelColumn<Glib::ustring> col_name;
-         Gtk::TreeModelColumn<LivePathEffect::LPEObjectReference *> lperef;
-     };
+        Gtk::TreeModelColumn<Glib::ustring> col_name;
+        Gtk::TreeModelColumn<LivePathEffect::LPEObjectReference *> lperef;
+        Gtk::TreeModelColumn<bool> col_visible;
+    };
 
     Inkscape::UI::Widget::ComboBoxEnum<LivePathEffect::EffectType> combo_effecttype;
     
@@ -94,7 +98,9 @@ private:
     Gtk::TreeView effectlist_view;
     Glib::RefPtr<Gtk::ListStore> effectlist_store;
     Glib::RefPtr<Gtk::TreeSelection> effectlist_selection;
-    
+
+    void on_visibility_toggled( Glib::ustring const& str );
+
     Gtk::Toolbar toolbar;
     Gtk::ToolButton button_up;
     Gtk::ToolButton button_down;