Improved mask also work on erase. Improved shaders for layer opacity, now when drawing doesn't change opacity. Improved layers panel layout to be similar to PS. Added layer blending option and visibility. Added custom icons to checkboxes and fixed the combobox items.
This commit is contained in:
@@ -35,15 +35,14 @@
|
||||
|
||||
<!--layer template-->
|
||||
<layout id="tpl-layer">
|
||||
<border height="30" border-color="1" thickness="1" color=".4" dir="row" margin="1 0 1 0">
|
||||
<node width="30" pad="1">
|
||||
<checkbox id="cb"></checkbox>
|
||||
</node>
|
||||
<node width="1" grow="1" justify="center" pad="5">
|
||||
<text id="label" text="Layer0" font-face="arial" font-size="11"/>
|
||||
</node>
|
||||
<node color=".4" width="100" pad="5">
|
||||
<slider-h id="sl-opacity" value="1"/>
|
||||
<border height="30" border-color="1" thickness="1" color=".4" dir="col" margin="1 0 1 0">
|
||||
<node dir="row" height="30">
|
||||
<node width="30" pad="1">
|
||||
<checkbox id="cb" icon="data/ui/check-layer-visibility.png"></checkbox>
|
||||
</node>
|
||||
<node width="1" grow="1" justify="center" pad="5">
|
||||
<text id="label" font-face="arial" font-size="11"/>
|
||||
</node>
|
||||
</node>
|
||||
</border>
|
||||
</layout>
|
||||
@@ -54,6 +53,17 @@
|
||||
<border height="30" color=".5" align="center" justify="center" margin="0 0 0 0">
|
||||
<text text="Layers" font-face="arial" font-size="11" color="1 1 1 1"/>
|
||||
</border>
|
||||
|
||||
<border height="35" color=".5" dir="row" align="center" flood-events="1" pad="0 0 5 0">
|
||||
<checkbox id="alpha-lock" icon="data/ui/check-lock-transparency.png" width="30" margin="0 5 0 5"></checkbox>
|
||||
<combobox id="blend-mode" width="100" height="30" margin="0 5 0 0" combo-list="Normal,-,Multiply,Screen,-,Color Dodge,Overlay" default="0"/>
|
||||
<slider-h id="opacity" value="1" grow="1" width="1" margin="0 5 0 0"/>
|
||||
</border>
|
||||
|
||||
<border id="layers-container" pad="5" color=".4" dir="col" flood-events="1">
|
||||
<!--layers list-->
|
||||
</border>
|
||||
|
||||
<border height="40" color=".5" dir="row" align="center" flood-events="1">
|
||||
<button-custom id="btn-add" thickness="1" color="0 0" border-color=".0" shrink="1" margin="0 2 0 5">
|
||||
<icon width="30" icon="add"/>
|
||||
@@ -69,9 +79,6 @@
|
||||
<icon width="30" icon="bin_closed"/>
|
||||
</button-custom>
|
||||
</border>
|
||||
<border id="layers-container" pad="5" color=".4" dir="col" flood-events="1">
|
||||
<!--layers list-->
|
||||
</border>
|
||||
</node>
|
||||
</layout>
|
||||
|
||||
@@ -1116,7 +1123,7 @@ Here's a list of what's available in this release.
|
||||
<!--Brushes-->
|
||||
<!--<panel-brush id="panel-brush"/>-->
|
||||
<!--Layers-->
|
||||
<!--<panel-layer id="panel-layer"/>-->
|
||||
<panel-layer id="panel-layer"/>
|
||||
<!--Colors-->
|
||||
<!--<panel-color id="panel-color"/>-->
|
||||
<!--Grids-->
|
||||
|
||||
BIN
data/ui/check-layer-visibility.png
Normal file
BIN
data/ui/check-layer-visibility.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
data/ui/check-lock-transparency.png
Normal file
BIN
data/ui/check-lock-transparency.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 892 B |
BIN
data/ui/check-test.png
Normal file
BIN
data/ui/check-test.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user