summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-08-19 20:34:48 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-08-19 20:34:48 +0000
commitb9745837eda971495b8aa0b91988c8ee3adef109 (patch)
treeaa294309c3c348e35708a12b43032918c33ffadb /src/live_effects/parameter/path.h
parentRemove the clipping path emitted before the 'sh' operator since that same pat... (diff)
downloadinkscape-b9745837eda971495b8aa0b91988c8ee3adef109.tar.gz
inkscape-b9745837eda971495b8aa0b91988c8ee3adef109.zip
Add default value stuff for LPE parameters
(bzr r3536)
Diffstat (limited to 'src/live_effects/parameter/path.h')
-rw-r--r--src/live_effects/parameter/path.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h
index 18ffe5321..0b0d5f633 100644
--- a/src/live_effects/parameter/path.h
+++ b/src/live_effects/parameter/path.h
@@ -30,7 +30,7 @@ public:
const Glib::ustring& key,
Inkscape::UI::Widget::Registry* wr,
Effect* effect,
- const gchar * defvalue = "M0,0 L1,1");
+ const gchar * default_value = "M0,0 L1,1");
~PathParam();
Gtk::Widget * param_getWidget();
@@ -38,6 +38,8 @@ public:
bool param_readSVGValue(const gchar * strvalue);
gchar * param_writeSVGValue() const;
+ void param_set_default();
+
sigc::signal <void> signal_path_pasted;
private:
@@ -51,6 +53,8 @@ private:
void on_edit_button_click();
void on_paste_button_click();
+
+ gchar * defvalue;
};