Code

Add a zoom correction option to preferences (used when zooming to 1:1 etc. to display...
[inkscape.git] / src / ui / dialog / livepatheffect-editor.h
index a1d4479abd6c06a36df481077db6c144b93dfbde..a924ed6e9507d9fe01d5aedc306d7bd1acdebc09 100644 (file)
@@ -55,9 +55,10 @@ private:
 
     void showParams(LivePathEffect::Effect* effect);
     void showText(Glib::ustring const &str);
+    void selectInList(LivePathEffect::Effect* effect);
 
    // 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();
@@ -73,13 +74,17 @@ private:
         {
             add(col_name);
             add(lperef);
+            add(col_visible);
         }
         virtual ~ModelColumns() {}
 
         Gtk::TreeModelColumn<Glib::ustring> col_name;
         Gtk::TreeModelColumn<LivePathEffect::LPEObjectReference *> lperef;
+        Gtk::TreeModelColumn<bool> col_visible;
     };
 
+    bool lpe_list_locked;
+
     Inkscape::UI::Widget::ComboBoxEnum<LivePathEffect::EffectType> combo_effecttype;
     
     Gtk::Widget * effectwidget;
@@ -96,7 +101,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;