This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz_render_sudoku.inx
2020-08-15 04:12:30 +02:00

47 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Sudoku</name>
<id>fablabchemnitz.de.sudoku</id>
<param name="tab" type="notebook">
<page name="tab_puzzle" gui-text="Puzzle">
<param name="difficulty" type="optiongroup" appearance="combo" gui-text="Difficulty">
<option value="mixed">Mixed</option>
<option value="simple">Simple</option>
<option value="easy">Easy</option>
<option value="intermediate">Intermediate</option>
<option value="expert">Expert</option>
</param>
<param name="desc_unit" type="description">Layout parameters:</param>
<param name="rows" type="int" min="1" max="6" gui-text="Rows">1</param>
<param name="cols" type="int" min="1" max="6" gui-text="Cols">1</param>
<param name="desc_unit" type="description">Puzzle Dimensions:</param>
<param name="units" gui-text="Units" type="optiongroup" appearance="combo">
<option value="px">px</option>
<option value="pt">pt</option>
<option value="in">in</option>
<option value="cm">cm</option>
<option value="mm">mm</option>
</param>
<param name="puzzle_size" type="int" min="1" max="1000" gui-text="Puzzle Width(Height)">6</param>
<param name="puzzle_gap" type="int" min="1" max="100" gui-text="Puzzle Gap">1</param>
</page>
<page name="colors" gui-text="Colors">
<param name="color_text" type="color" appearance="colorbutton" gui-text="Text color ">0</param>
<param name="color_bkgnd" type="color" appearance="colorbutton" gui-text="Background color">-1</param>
<param name="color_puzzle" type="color" appearance="colorbutton" gui-text="Puzzle Border color">0</param>
<param name="color_boxes" type="color" appearance="colorbutton" gui-text="Box Border color ">0</param>
<param name="color_cells" type="color" appearance="colorbutton" gui-text="Cell Border color">-791621617</param>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Shape/Pattern from Generator"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">fablabchemnitz_render_sudoku.py</command>
</script>
</inkscape-extension>