summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d73ff87)
raw | patch | inline | side by side (parent: d73ff87)
author | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 5 Jun 2008 09:01:40 +0000 (09:01 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Thu, 5 Jun 2008 09:01:40 +0000 (09:01 +0000) |
index 96859938cdda4d2936ceb9b3f7e789a5daf69558..505a70493941dba13ede403b3d1f026d56d40573 100644 (file)
}
gchar *
-BoolParam::param_writeSVGValue() const
+BoolParam::param_getSVGValue() const
{
gchar * str = g_strdup(value ? "true" : "false");
return str;
index e4aaabaa20bc131c302bca7b39e0aafd6cfb6231..4496740e00ac028cce73a01db9d576ed4c8a4071 100644 (file)
virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips);
virtual bool param_readSVGValue(const gchar * strvalue);
- virtual gchar * param_writeSVGValue() const;
+ virtual gchar * param_getSVGValue() const;
void param_setValue(bool newvalue);
virtual void param_set_default();
index a3df91d641403e9f1cf5753714836402408ad0c0..72543fd92cfea84de7d49294444bc85340c66730 100644 (file)
return true;
};
- gchar * param_writeSVGValue() const {
+ gchar * param_getSVGValue() const {
gchar * str = g_strdup( enumdataconv->get_key(value).c_str() );
return str;
};
index 527f2fdd925ccf37bbc707d4c0454b44a0d7a61a..ebb24cc3090e49e13a2739d211c346621a30b032 100644 (file)
}
gchar *
-ScalarParam::param_writeSVGValue() const
+ScalarParam::param_getSVGValue() const
{
Inkscape::SVGOStringStream os;
os << value;
index 58f4635aada2f8f4bbc219f40b1e7bb5c21de764..d3afec3af4ffd625c3ac42a03a05ae573de66a00 100644 (file)
virtual ~Parameter() {};
virtual bool param_readSVGValue(const gchar * strvalue) = 0; // returns true if new value is valid / accepted.
- virtual gchar * param_writeSVGValue() const = 0;
+ virtual gchar * param_getSVGValue() const = 0;
virtual void param_set_default() = 0;
virtual ParamType paramType() { return SCALAR_PARAM; }
virtual bool param_readSVGValue(const gchar * strvalue);
- virtual gchar * param_writeSVGValue() const;
+ virtual gchar * param_getSVGValue() const;
virtual void param_set_default();
void param_set_value(gdouble val);
index 9e7be732e4ed95a50368672bba68564d3ec09ca7..376e61beefbe94b618e2b6779e89ee955c2ad970 100644 (file)
}
gchar *
-PathParam::param_writeSVGValue() const
+PathParam::param_getSVGValue() const
{
if (href) {
return href;
index b543e610cdb9cee5d993324b4a9be9207be6737f..64c2de55cfb81e9a0804a6d81a2982116e681365 100644 (file)
virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips);
bool param_readSVGValue(const gchar * strvalue);
- gchar * param_writeSVGValue() const;
+ gchar * param_getSVGValue() const;
void param_set_default();
void param_set_and_write_default();
index 28d5dae704d9a85e7f75fa52752e1c114c1c282c..49a47660f3dac67df6ddaeabfe8933f3e627194c 100644 (file)
}
gchar *
-PointParam::param_writeSVGValue() const
+PointParam::param_getSVGValue() const
{
Inkscape::SVGOStringStream os;
os << *dynamic_cast<Geom::Point const *>( this );
index 7a630dc0c3caadf0cc182049d010e1321db94234..d963d835ad0d23262d26377602667c726a4a44d9 100644 (file)
virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips);
bool param_readSVGValue(const gchar * strvalue);
- gchar * param_writeSVGValue() const;
+ gchar * param_getSVGValue() const;
void param_setValue(Geom::Point newpoint);
void param_set_default();
index a5aa014a2759ecd41ae01fb121cb923f8d553a50..889e5375b9fc872b36857e76f1221ba65b0944a2 100644 (file)
}
gchar *
-RandomParam::param_writeSVGValue() const
+RandomParam::param_getSVGValue() const
{
Inkscape::SVGOStringStream os;
os << value << ';' << startseed;
index 5a9f8de6242c1ae65b6be849d0a75f60ad6f2ec9..49b1140617689119bf694e21e0dd4c10dafe06ee 100644 (file)
virtual ParamType paramType() { return RANDOM_PARAM; }
virtual bool param_readSVGValue(const gchar * strvalue);
- virtual gchar * param_writeSVGValue() const;
+ virtual gchar * param_getSVGValue() const;
virtual void param_set_default();
virtual Gtk::Widget * param_newWidget(Gtk::Tooltips * tooltips);