added bucket options tool

This commit is contained in:
2019-06-22 18:13:55 +02:00
parent 228263c70f
commit 7699f10cfd
9 changed files with 91 additions and 2 deletions

View File

@@ -1619,6 +1619,16 @@ Here's a list of what's available in this release.
</border>
</layout>
<layout id="tpl-tool-bucket">
<node dir="row">
<image path="data/ui/bucket.png" width="46" height="46"/>
<border color=".3 .3 .3 1" pad="5 10 5 10" dir="row" align="center">
<text text="Threshold" margin="0 10 0 0"/>
<slider-h id="threshold" width="100" height="30"/>
</border>
</node>
</layout>
<!--main-->
<layout id="main">
<canvas id="paint-canvas" positioning="absolute" width="100%" height="100%" grow="1"/>
@@ -1758,6 +1768,11 @@ Here's a list of what's available in this release.
</node>
</border>
</node>
<!--tools options-->
<border id="tools-container" color="0 0 0 0.3" dir="row" justify="center" mouse-capture="true">
</border>
<node dir="row" height="200" grow="1">
<!--quick bar-->
<node justify="center" align="center" dir="col" rtl="ltr">