diff options
| author | Ted Gould <ted@gould.cx> | 2007-06-27 06:25:23 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-06-27 06:25:23 +0000 |
| commit | 22dad424b4835fc8c994741bbebf76ff16f6e3ec (patch) | |
| tree | de047ec347529b1e81e67829365fc87bcca8480e /src/extension/implementation | |
| parent | (bzr r3124) (diff) | |
| download | inkscape-22dad424b4835fc8c994741bbebf76ff16f6e3ec.tar.gz inkscape-22dad424b4835fc8c994741bbebf76ff16f6e3ec.zip | |
r15480@tres: ted | 2007-05-20 23:51:34 -0700
The basics are all working, no call back from the preferences yet.
That's the next step. But the dialogs appear correctly, and it works in
the background.
(bzr r3125)
Diffstat (limited to 'src/extension/implementation')
| -rw-r--r-- | src/extension/implementation/implementation.cpp | 2 | ||||
| -rw-r--r-- | src/extension/implementation/implementation.h | 2 | ||||
| -rw-r--r-- | src/extension/implementation/script.cpp | 4 | ||||
| -rw-r--r-- | src/extension/implementation/script.h | 3 |
4 files changed, 6 insertions, 5 deletions
diff --git a/src/extension/implementation/implementation.cpp b/src/extension/implementation/implementation.cpp index d01f52cb4..e28dbcba6 100644 --- a/src/extension/implementation/implementation.cpp +++ b/src/extension/implementation/implementation.cpp @@ -72,7 +72,7 @@ Implementation::save(Inkscape::Extension::Output *module, SPDocument *doc, gchar } /* Implementation::save */ Gtk::Widget * -Implementation::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *view) { +Implementation::prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View *view, Glib::SignalProxy0<void> * changeSignal) { return module->autogui(NULL, NULL); } /* Implementation::prefs_effect */ diff --git a/src/extension/implementation/implementation.h b/src/extension/implementation/implementation.h index fbe84249c..cfffecad9 100644 --- a/src/extension/implementation/implementation.h +++ b/src/extension/implementation/implementation.h @@ -63,7 +63,7 @@ public: /* ----- Effect functions ----- */ /** Find out information about the file. */ - virtual Gtk::Widget * prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view); + virtual Gtk::Widget * prefs_effect(Inkscape::Extension::Effect *module, Inkscape::UI::View::View * view, Glib::SignalProxy0<void> * changeSignal); /* TODO: need to figure out what we need here */ virtual void effect(Inkscape::Extension::Effect *module, diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index b5e995b65..857c36bc3 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -549,9 +549,9 @@ Script::prefs_output(Inkscape::Extension::Output *module) */ Gtk::Widget * Script::prefs_effect(Inkscape::Extension::Effect *module, - Inkscape::UI::View::View *view) + Inkscape::UI::View::View *view, + Glib::SignalProxy0<void> * changeSignal) { - SPDocument * current_document = view->doc(); using Inkscape::Util::GSListConstIterator; diff --git a/src/extension/implementation/script.h b/src/extension/implementation/script.h index bac1f7ccb..155abf735 100644 --- a/src/extension/implementation/script.h +++ b/src/extension/implementation/script.h @@ -89,7 +89,8 @@ public: * */ virtual Gtk::Widget *prefs_effect(Inkscape::Extension::Effect *module, - Inkscape::UI::View::View * view); + Inkscape::UI::View::View * view, + Glib::SignalProxy0<void> * changeSignal); /** * |
