summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/commands_scale_symbols.xml18
-rw-r--r--templates/object_commands_toggle_visibility.xml17
2 files changed, 35 insertions, 0 deletions
diff --git a/templates/commands_scale_symbols.xml b/templates/commands_scale_symbols.xml
new file mode 100644
index 00000000..1d789543
--- /dev/null
+++ b/templates/commands_scale_symbols.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Scale Command Symbols</name>
+ <id>org.inkstitch.commands_scale_symbols</id>
+ <param name="extension" type="string" gui-hidden="true">commands_scale_symbols</param>
+ <param name="size" type="float" precision="1" min="0" max="2" gui-text="Size" appearance="full">1.0</param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch" translatable="no">
+ <submenu name="Commands" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>
diff --git a/templates/object_commands_toggle_visibility.xml b/templates/object_commands_toggle_visibility.xml
new file mode 100644
index 00000000..084b731e
--- /dev/null
+++ b/templates/object_commands_toggle_visibility.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Display|Hide Object Commands</name>
+ <id>org.inkstitch.object_commands_toggle_visibility</id>
+ <param name="extension" type="string" gui-hidden="true">object_commands_toggle_visibility</param>
+ <effect>
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch" translatable="no">
+ <submenu name="Commands" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>