Tuned some color pickers to reduce GUI sizes

This commit is contained in:
Mario Voigt 2020-08-07 20:39:56 +02:00
parent ba2c6a6763
commit daa1e85c5b
4 changed files with 39 additions and 47 deletions

View File

@ -17,7 +17,7 @@
<param name="p_divs" type="int" min="1" max="1000" gui-text="Perspective angle divisions">10</param> <param name="p_divs" type="int" min="1" max="1000" gui-text="Perspective angle divisions">10</param>
<param name="border_th" type="float" min="0" max="1000" gui-text="Border Thickness [px]">3</param> <param name="border_th" type="float" min="0" max="1000" gui-text="Border Thickness [px]">3</param>
<param name="div_th" type="float" min="0" max="1000" gui-text="Major grid division Thickness [px]">2</param> <param name="div_th" type="float" min="0" max="1000" gui-text="Major grid division Thickness [px]">2</param>
<param name="div_color" type="color" gui-text="Major grid division color">black</param> <param name="div_color" type="color" appearance="colorbutton" gui-text="Major grid division color">black</param>
<effect> <effect>
<object-type>all</object-type> <object-type>all</object-type>
<effects-menu> <effects-menu>

View File

@ -25,20 +25,12 @@
<param name="puzzle_size" type="int" min="1" max="1000" gui-text="Puzzle Width(Height)">6</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> <param name="puzzle_gap" type="int" min="1" max="100" gui-text="Puzzle Gap">1</param>
</page> </page>
<page name="tab_textcolor" gui-text="Text Color"> <page name="colors" gui-text="Colors">
<param name="color_text" type="color" gui-text="Text color ">0</param> <param name="color_text" type="color" appearance="colorbutton" gui-text="Text color ">0</param>
</page> <param name="color_bkgnd" type="color" appearance="colorbutton" gui-text="Background color">-1</param>
<page name="tab_background" gui-text="Background"> <param name="color_puzzle" type="color" appearance="colorbutton" gui-text="Puzzle Border color">0</param>
<param name="color_bkgnd" type="color" gui-text="Background color">-1</param> <param name="color_boxes" type="color" appearance="colorbutton" gui-text="Box Border color ">0</param>
</page> <param name="color_cells" type="color" appearance="colorbutton" gui-text="Cell Border color">-791621617</param>
<page name="tab_border" gui-text="Border">
<param name="color_puzzle" type="color" gui-text="Puzzle Border color">0</param>
</page>
<page name="tab_boxcolor" gui-text="Box Color">
<param name="color_boxes" type="color" gui-text="Box Border color ">0</param>
</page>
<page name="tab_celllines" gui-text="Cell Lines">
<param name="color_cells" type="color" gui-text="Cell Border color">-791621617</param>
</page> </page>
</param> </param>
<effect> <effect>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Sheet Metal Conus</_name> <name>Sheet Metal Conus</name>
<id>fablabchemnitz.de.sheet_metal_conus</id> <id>fablabchemnitz.de.sheet_metal_conus</id>
<param name="units" _gui-text="Units" type="optiongroup" appearance="minimal"> <param name="units" gui-text="Units" type="optiongroup" appearance="combo">
<option value="mm">mm</option> <option value="mm">mm</option>
<option value="cm">cm</option> <option value="cm">cm</option>
<option value="in">in</option> <option value="in">in</option>
@ -13,16 +13,16 @@
<param name="diaCut" type="float" precision="3" min="0" max="10000000000" gui-text="Cut diameter:">100.0</param> <param name="diaCut" type="float" precision="3" min="0" max="10000000000" gui-text="Cut diameter:">100.0</param>
<param name="heightCone" type="float" precision="3" min="0" max="10000000000" gui-text="Cone Height:">200.0</param> <param name="heightCone" type="float" precision="3" min="0" max="10000000000" gui-text="Cone Height:">200.0</param>
<param name="strokeWidth" type="float" precision="2" min="0.001" max="10000000000" gui-text="Line thickness (in units): ">0.4</param> <param name="strokeWidth" type="float" precision="2" min="0.001" max="10000000000" gui-text="Line thickness (in units): ">0.4</param>
<param name="verbose" type="boolean" gui-text="Draw dimensions.">false</param> <param name="verbose" type="bool" gui-text="Draw dimensions.">false</param>
<param name="name" type="description" xml:space="preserve">Constructs a flat pattern projection (sheet cutting layout) <param name="name" type="description" xml:space="preserve">Constructs a flat pattern projection (sheet cutting layout)
that can be rolled or bent into a cone or frustum (truncated cone). that can be rolled or bent into a cone or frustum (truncated cone).
If Cut diameter=0 then cone will not be truncated.</param> If Cut diameter=0 then cone will not be truncated.</param>
<param name="strokeColour" type="color" gui-text="Line colour: ">0</param> <param name="strokeColour" type="color" appearance="colorbutton" gui-text="Line colour: ">0</param>
<effect> <effect>
<object-type>all</object-type> <object-type>all</object-type>
<effects-menu> <effects-menu>
<submenu _name="FabLab Chemnitz"> <submenu name="FabLab Chemnitz">
<submenu _name="Shape/Pattern from Generator"/> <submenu name="Shape/Pattern from Generator"/>
</submenu> </submenu>
</effects-menu> </effects-menu>
</effect> </effect>

View File

@ -1,42 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>Streaks</_name> <name>Streaks</name>
<id>fablabchemnitz.de.streaks</id> <id>fablabchemnitz.de.streaks</id>
<param type="notebook" name="Nmain"> <param type="notebook" name="Nmain">
<page name="top" _gui-text="Color"> <page name="top" gui-text="Color">
<_param name="h" type="description">Fills a box with a texture <param name="h" type="description">Fills a box with a texture
made of vertical line segments.</_param> made of vertical line segments.</param>
<param name="strokeColour" type="color" gui-text="Line colour: ">0</param> <param name="strokeColour" type="color" appearance="colorbutton" gui-text="Line colour: ">0</param>
<_param name="help" type="description" xml:space="preserve"> <param name="help" type="description" xml:space="preserve">
----------- -----------
</_param> </param>
<param name="strokeWidth" type="int" gui-text="Line width: ">2</param> <param name="strokeWidth" type="int" gui-text="Line width: ">2</param>
</page> </page>
<page name="main" _gui-text="Main"> <page name="main" gui-text="Main">
<param max="256" name="blur" type="int" _gui-text="Blur">2</param> <param max="256" name="blur" type="int" gui-text="Blur">2</param>
<param max="1000" name="linno" type="int" _gui-text="# of columns">50</param> <param max="1000" name="linno" type="int" gui-text="# of columns">50</param>
<param name="xrand" type="boolean" _gui-text="Lines randomized">true</param> <param name="xrand" type="bool" gui-text="Lines randomized">true</param>
<_param name="help" type="description" xml:space="preserve">-----------</_param> <param name="help" type="description" xml:space="preserve">-----------</param>
<param name="pagep" type="boolean" _gui-text="Default box to page size?">true</param> <param name="pagep" type="bool" gui-text="Default box to page size?">true</param>
<param max="10000" name="cusx" type="int" _gui-text="Custom size x">500</param> <param max="10000" name="cusx" type="int" gui-text="Custom size x">500</param>
<param max="10000" name="cusy" type="int" _gui-text="Custom size y">500</param> <param max="10000" name="cusy" type="int" gui-text="Custom size y">500</param>
</page> </page>
<page name="vert" _gui-text="Each column"> <page name="vert" gui-text="Each column">
<param min="1" max="256" name="segLen" type="int" _gui-text="# of segments">8</param> <param min="1" max="256" name="segLen" type="int" gui-text="# of segments">8</param>
<param name="yrand" type="boolean" _gui-text="Lengths randomized">true</param> <param name="yrand" type="bool" gui-text="Lengths randomized">true</param>
<param name="dashp" type="boolean" _gui-text="Use dashes?">true</param> <param name="dashp" type="bool" gui-text="Use dashes?">true</param>
<param name="blankp" type="boolean" _gui-text="Use blanks?">true</param> <param name="blankp" type="bool" gui-text="Use blanks?">true</param>
<param name="dotp" type="boolean" _gui-text="Use dots?">true</param> <param name="dotp" type="bool" gui-text="Use dots?">true</param>
<param max="1000" name="dots" type="int" _gui-text="Dots per height">100</param> <param max="1000" name="dots" type="int" gui-text="Dots per height">100</param>
<_param name="h" type="description">This sets the size of a dot relative to <param name="h" type="description">This sets the size of a dot relative to
the total height. Higher is shorter.</_param> the total height. Higher is shorter.</param>
</page> </page>
</param> </param>
<effect> <effect>
<object-type>all</object-type> <object-type>all</object-type>
<effects-menu> <effects-menu>
<submenu _name="FabLab Chemnitz"> <submenu name="FabLab Chemnitz">
<submenu _name="Shape/Pattern from Generator"/> <submenu name="Shape/Pattern from Generator"/>
</submenu> </submenu>
</effects-menu> </effects-menu>
</effect> </effect>