diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2011-03-25 15:09:55 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2011-03-25 15:09:55 +0000 |
| commit | 939f84facd2f8beb4f5a1601c09bf7b71f1274a0 (patch) | |
| tree | 45b38c9ce784ec1327204193b37ee0aab10d090c /src/extension/param/description.h | |
| parent | emf import. create dummy object CREATEDIBPATTERNBRUSHPT (Bug 382420) (diff) | |
| download | inkscape-939f84facd2f8beb4f5a1601c09bf7b71f1274a0.tar.gz inkscape-939f84facd2f8beb4f5a1601c09bf7b71f1274a0.zip | |
Extensions. Replacing the groupheader element with an appearance mode in the description element.
(bzr r10129)
Diffstat (limited to 'src/extension/param/description.h')
| -rw-r--r-- | src/extension/param/description.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/extension/param/description.h b/src/extension/param/description.h index c56b5c21d..c34e4ee38 100644 --- a/src/extension/param/description.h +++ b/src/extension/param/description.h @@ -18,13 +18,25 @@ namespace Extension { /** \brief A description parameter */ class ParamDescription : public Parameter { +public: + enum AppearanceMode { + DESC, HEADER + }; + ParamDescription(const gchar * name, + const gchar * guitext, + const gchar * desc, + const Parameter::_scope_t scope, + bool gui_hidden, + const gchar * gui_tip, + Inkscape::Extension::Extension * ext, + Inkscape::XML::Node * xml, + AppearanceMode mode); + Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal); private: /** \brief Internal value. */ gchar * _value; + AppearanceMode _mode; const gchar* _context; -public: - ParamDescription(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml); - Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal); }; } /* namespace Extension */ |
