diff options
Diffstat (limited to 'src/extension/paramfloat.h')
| -rw-r--r-- | src/extension/paramfloat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extension/paramfloat.h b/src/extension/paramfloat.h index ab9d61177..fb8f8d5f8 100644 --- a/src/extension/paramfloat.h +++ b/src/extension/paramfloat.h @@ -22,6 +22,7 @@ private: float _value; float _min; float _max; + int _precision; public: ParamFloat (const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml); /** \brief Returns \c _value */ @@ -29,6 +30,7 @@ public: float set (float in, SPDocument * doc, Inkscape::XML::Node * node); float max (void) { return _max; } float min (void) { return _min; } + float precision (void) { return _precision; } Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal); Glib::ustring * string (void); }; |
