diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2006-11-24 21:17:33 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2006-11-24 21:17:33 +0000 |
| commit | 33db5c037b8f71858e03f585af059982178c8c86 (patch) | |
| tree | 05c5de14eee55b91f2592520bc2313d8752dc87b /src/extension/parameter.cpp | |
| parent | Add "strip" to <link> so you can do it if linking is successful (diff) | |
| download | inkscape-33db5c037b8f71858e03f585af059982178c8c86.tar.gz inkscape-33db5c037b8f71858e03f585af059982178c8c86.zip | |
NEW: radiobuttons for extensions. See radiobutton_example.inx how to use them (they are very similar to enums)
(bzr r2031)
Diffstat (limited to 'src/extension/parameter.cpp')
| -rw-r--r-- | src/extension/parameter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extension/parameter.cpp b/src/extension/parameter.cpp index 70f66c416..7dba1b507 100644 --- a/src/extension/parameter.cpp +++ b/src/extension/parameter.cpp @@ -33,6 +33,7 @@ #include "parameter.h" #include "paramnotebook.h" #include "paramenum.h" +#include "paramradiobutton.h" /** \brief The root directory in the preferences database for extension related parameters. */ @@ -316,6 +317,8 @@ Parameter::make (Inkscape::XML::Node * in_repr, Inkscape::Extension::Extension * param = new ParamComboBox(name, guitext, desc, scope, in_ext, in_repr); } else if (!strcmp(type, "notebook")) { param = new ParamNotebook(name, guitext, desc, scope, in_ext, in_repr); + } else if (!strcmp(type, "optiongroup")) { + param = new ParamRadioButton(name, guitext, desc, scope, in_ext, in_repr); } /* Note: param could equal NULL */ |
