diff options
| author | Ted Gould <ted@gould.cx> | 2008-09-25 04:27:18 +0000 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2008-09-25 04:27:18 +0000 |
| commit | c1b561191ad1d561c352681cb94dc192a1ab0d6a (patch) | |
| tree | ed6bc0f3b629a25febd2c6d7e59fe458e88686d9 /src/extension/implementation/script.h | |
| parent | [i18n] Added use of plural forms. (diff) | |
| download | inkscape-c1b561191ad1d561c352681cb94dc192a1ab0d6a.tar.gz inkscape-c1b561191ad1d561c352681cb94dc192a1ab0d6a.zip | |
Sorry, I got off on a branch and ended up with a bunch of things. I'm just going to flatten and merge... Here's the list.
* Added a focus mode activated by Shift+F11. The goal of this mode is to
remove all toolbars for a short period so that you maximize screen area.
Useful on small screens. Also when you know lots of shortcuts.
* Created what I'm calling "Quick Zoom." The idea here is to have a modal
zoom for touching up something with fine detail and then returning to what
you're doing. This is activated with the letter "Q" on the keyboard. When
you release it, you return back to where you were. This will zoom in on
selected objects, or if you're in the node tool selected nodes.
* Added .svg on the temporary files in extensions. This'll make many of
them happier. This only works on recent versions of GLib, but shouldn't
break older ones more than they already are.
* Moved the Inkscape configuration directory on Linux from ~/.inkscape
to ~/.config/Inkscape. This is the new way to do things with the cross
desktop naming spec. I'm unsure whether we should be putting crash dumps
in .config or .cache though.
* Removed 'tools_switch_current' because every usage of it already had a
pointer to where it needed to go. Removes usage of globals.
* Made it so that dialogs will be transparent when not focused. This is
an alternate to having the docked, and one that I like better as I feel it
gives me more screen area. You can adjust how much transparency and the
speed of the animation in the preferences dialog. (Note: this requires
GTK+ 2.12 and a compositor, but gracefully degrades if you don't have
either)
(bzr r6882)
Diffstat (limited to 'src/extension/implementation/script.h')
| -rw-r--r-- | src/extension/implementation/script.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/extension/implementation/script.h b/src/extension/implementation/script.h index 226a6beb2..4620375f9 100644 --- a/src/extension/implementation/script.h +++ b/src/extension/implementation/script.h @@ -199,6 +199,20 @@ private: const std::list<std::string> &in_params, const Glib::ustring &filein, file_listener &fileout); + + void pump_events (void); + + /** \brief A definition of an interpreter, which can be specified + in the INX file, but we need to know what to call */ + struct interpreter_t { + gchar const *identity; /**< The ID that is in the INX file */ + gchar const *prefstring; /**< The preferences key that can override the default */ + gchar const *defaultval; /**< The default value if there are no preferences */ + }; + static interpreter_t const interpreterTab[]; + + Glib::ustring resolveInterpreterExecutable(const Glib::ustring &interpNameArg); + }; // class Script |
