diff options
| author | Ted Gould <ted@gould.cx> | 2007-09-13 04:31:40 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-09-13 04:31:40 +0000 |
| commit | 37313b49352eafc3bf7aa8a8288a2064b1f896d2 (patch) | |
| tree | a794104689572bc25f43da80329526571a141bd2 /src/extension/paramcolor.h | |
| parent | change from <io.h> to <unistd.h> to define close (diff) | |
| download | inkscape-37313b49352eafc3bf7aa8a8288a2064b1f896d2.tar.gz inkscape-37313b49352eafc3bf7aa8a8288a2064b1f896d2.zip | |
r16564@tres: ted | 2007-09-12 20:45:12 -0700
Final GSoC patch from Chris. I took too long to include it :(
(bzr r3740)
Diffstat (limited to 'src/extension/paramcolor.h')
| -rw-r--r-- | src/extension/paramcolor.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/extension/paramcolor.h b/src/extension/paramcolor.h index c109df04f..fc9d939cd 100644 --- a/src/extension/paramcolor.h +++ b/src/extension/paramcolor.h @@ -18,13 +18,13 @@ namespace Extension { class ParamColor : public Parameter { private: - SPColor* _value; + guint32 _value; public: ParamColor(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml); ~ParamColor(void); /** \brief Returns \c _value, with a \i const to protect it. */ - SPColor* get (const SPDocument * doc, const Inkscape::XML::Node * node) { return _value; } - SPColor* set (SPColor* in, SPDocument * doc, Inkscape::XML::Node * node); + guint32 get (const SPDocument * doc, const Inkscape::XML::Node * node) { return _value; } + guint32 set (guint32 in, SPDocument * doc, Inkscape::XML::Node * node); Gtk::Widget * get_widget(SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal); Glib::ustring * string (void); sigc::signal<void> * _changeSignal; @@ -34,14 +34,3 @@ public: } /* namespace Inkscape */ #endif /* __INK_EXTENSION_PARAMCOLOR_H__ */ - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : |
