...
 
Commits (1)
......@@ -3556,6 +3556,16 @@
<isCheckable>false</isCheckable>
<statusTip></statusTip>
</Action>
<Action name="move_layer_up_top">
<icon>arrowupblr</icon>
<text>Move Layer or Mask Up to Top</text>
<whatsThis></whatsThis>
<toolTip>Move Layer or Mask Up to Top</toolTip>
<iconText></iconText>
<shortcut>Ctrl+Shift+PgUp</shortcut>
<isCheckable>false</isCheckable>
<statusTip></statusTip>
</Action>
<Action name="move_layer_up">
<icon>arrowupblr</icon>
<text>Move Layer or Mask Up</text>
......@@ -3566,6 +3576,16 @@
<isCheckable>false</isCheckable>
<statusTip></statusTip>
</Action>
<Action name="move_layer_down_bottom">
<icon>arrowdown</icon>
<text>Move Layer or Mask Down to Bottom</text>
<whatsThis></whatsThis>
<toolTip>Move Layer or Mask Down to Bottom</toolTip>
<iconText></iconText>
<shortcut>Ctrl+Shift+PgDown</shortcut>
<isCheckable>false</isCheckable>
<statusTip></statusTip>
</Action>
<Action name="move_layer_down">
<icon>arrowdown</icon>
<text>Move Layer or Mask Down</text>
......
......@@ -4,7 +4,9 @@
<file>dark_addlayer.png</file>
<file>dark_addtofolder.png</file>
<file>dark_arrowdown.png</file>
<file>dark_arrowdownbottom.png</file>
<file>dark_arrowupblr.png</file>
<file>dark_arrowuptop.png</file>
<file>dark_deletelayer.png</file>
<file>dark_duplicatelayer.png</file>
<file>dark_properties.png</file>
......@@ -12,7 +14,9 @@
<file>light_addlayer.png</file>
<file>light_addtofolder.png</file>
<file>light_arrowdown.png</file>
<file>light_arrowdownbottom.png</file>
<file>light_arrowupblr.png</file>
<file>light_arrowuptop.png</file>
<file>light_deletelayer.png</file>
<file>light_duplicatelayer.png</file>
<file>light_properties.png</file>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 22 22.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="dark_arrowdownbottom.svg"
inkscape:export-filename="/home/razvan/Documents/projects/dev/phabricator-krita/krita/pics/layerbox/dark_arrowuptop.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs4">
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter5026">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood5028" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite5030" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur5032" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset5034" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite5036" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter6180">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6182" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6184" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur6186" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset6188" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6190" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter7302">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7304" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7306" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7308" />
<feOffset
dx="0"
dy="2"
result="offset"
id="feOffset7310" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7312" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter7350">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7352" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7354" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7356" />
<feOffset
dx="0"
dy="-2"
result="offset"
id="feOffset7358" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7360" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="13.417004"
inkscape:cy="10.77184"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="10000"
guidetolerance="10000"
inkscape:snap-perpendicular="true"
inkscape:snap-tangential="true"
inkscape:snap-path-clip="true"
inkscape:snap-path-mask="true"
gridtolerance="10000"
showguides="false">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="8"
snapvisiblegridlinesonly="false"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="1"
spacingy="1" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Andrei Rudenko</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Layer 1"
transform="translate(0,-10)">
<g
id="g88829">
<path
inkscape:connector-curvature="0"
id="rect4159"
d="m 3,17 v 1 1 h 1 v 1 h 1.0000001 v 1 H 6 v 1 h 1 v 1 h 1.0000001 v 1 H 9 v 1 h 1 v 1 h 2 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 -1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 H 11 10 V 22 H 9 V 21 H 8.0000001 V 20 H 7 V 19 H 6 V 18 H 5.0000001 v -1 z"
style="opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<rect
y="27"
x="3"
height="2"
width="16"
id="rect88825"
style="opacity:1;vector-effect:none;fill:#373737;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 32 32.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="dark_arrowuptop.svg"
inkscape:export-filename="C:\dribbble\krita icons\Collaborate\1_flat\layers\light_arrowdown.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45">
<defs
id="defs4">
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter5026">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood5028" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite5030" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur5032" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset5034" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite5036" />
</filter>
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter6180">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6182" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6184" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur6186" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset6188" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6190" />
</filter>
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter7302">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7304" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7306" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7308" />
<feOffset
dx="0"
dy="2"
result="offset"
id="feOffset7310" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7312" />
</filter>
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter7350">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7352" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7354" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7356" />
<feOffset
dx="0"
dy="-2"
result="offset"
id="feOffset7358" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7360" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="16"
inkscape:cx="14.464822"
inkscape:cy="13.970721"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="10000"
guidetolerance="10000"
inkscape:snap-perpendicular="true"
inkscape:snap-tangential="true"
inkscape:snap-path-clip="true"
inkscape:snap-path-mask="true"
gridtolerance="10000"
showguides="false">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="8"
snapvisiblegridlinesonly="false"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="2"
spacingy="2.0000001" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Andrei Rudenko</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Layer 1">
<g
id="g88796"
transform="matrix(1,0,0,-1,0,33.999999)">
<path
inkscape:connector-curvature="0"
id="rect4159"
d="m 0,3.9999994 v 2 2 h 2 v 2 h 2 v 1.9999996 h 2 v 2 h 2 v 2 h 2 v 2 h 2 v 2 h 2 v 2 h 4 v -2 h 2 v -2 h 2 v -2 h 2 v -2 h 2 v -2 h 2 V 9.9999994 h 2 v -2 h 2 v -2 -2 h -4 v 2 h -2 v 2 h -2 v 2 h -2 v 1.9999996 h -2 v 2 h -2 v 2 h -2 -2 v -2 h -2 v -2 H 10 V 9.9999994 H 8 v -2 H 6 v -2 H 4 v -2 z"
style="opacity:1;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<rect
y="26"
x="0"
height="4"
width="32"
id="rect88773"
style="opacity:1;vector-effect:none;fill:#373737;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" />
</g>
</g>
</svg>
......@@ -4,7 +4,9 @@
<file>dark_addlayer.svg</file>
<file>dark_addtofolder.svg</file>
<file>dark_arrowdown.svg</file>
<file>dark_arrowdownbottom.svg</file>
<file>dark_arrowupblr.svg</file>
<file>dark_arrowuptop.svg</file>
<file>dark_deletelayer.svg</file>
<file>dark_duplicatelayer.svg</file>
<file>dark_properties.svg</file>
......@@ -12,7 +14,9 @@
<file>light_addlayer.svg</file>
<file>light_addtofolder.svg</file>
<file>light_arrowdown.svg</file>
<file>light_arrowdownbottom.svg</file>
<file>light_arrowupblr.svg</file>
<file>light_arrowuptop.svg</file>
<file>light_deletelayer.svg</file>
<file>light_duplicatelayer.svg</file>
<file>light_properties.svg</file>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 22 22.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="light_arrowdownbottom.svg"
inkscape:export-filename="/home/razvan/Documents/projects/dev/phabricator-krita/krita/pics/layerbox/dark_arrowuptop.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs4">
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter5026">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood5028" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite5030" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur5032" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset5034" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite5036" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter6180">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6182" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6184" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur6186" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset6188" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6190" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter7302">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7304" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7306" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7308" />
<feOffset
dx="0"
dy="2"
result="offset"
id="feOffset7310" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7312" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter7350">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7352" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7354" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7356" />
<feOffset
dx="0"
dy="-2"
result="offset"
id="feOffset7358" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7360" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="13.823254"
inkscape:cy="10.45934"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="10000"
guidetolerance="10000"
inkscape:snap-perpendicular="true"
inkscape:snap-tangential="true"
inkscape:snap-path-clip="true"
inkscape:snap-path-mask="true"
gridtolerance="10000"
showguides="false">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="8"
snapvisiblegridlinesonly="false"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="1"
spacingy="1" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Andrei Rudenko</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Layer 1"
transform="translate(0,-10)">
<g
id="g88829"
style="fill:#cacaca;fill-opacity:1">
<path
inkscape:connector-curvature="0"
id="rect4159"
d="m 3,17 v 1 1 h 1 v 1 h 1.0000001 v 1 H 6 v 1 h 1 v 1 h 1.0000001 v 1 H 9 v 1 h 1 v 1 h 2 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 -1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 H 11 10 V 22 H 9 V 21 H 8.0000001 V 20 H 7 V 19 H 6 V 18 H 5.0000001 v -1 z"
style="opacity:1;fill:#cacaca;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<rect
y="27"
x="3"
height="2"
width="16"
id="rect88825"
style="opacity:1;vector-effect:none;fill:#cacaca;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
viewBox="0 0 22 22.000001"
id="svg2"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="light_arrowuptop.svg"
inkscape:export-filename="/home/razvan/Documents/projects/dev/phabricator-krita/krita/pics/layerbox/dark_arrowuptop.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs4">
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter5026">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood5028" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite5030" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur5032" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset5034" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite5036" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter6180">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6182" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6184" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur6186" />
<feOffset
dx="2.77556e-017"
dy="-2"
result="offset"
id="feOffset6188" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6190" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter7302">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7304" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7306" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7308" />
<feOffset
dx="0"
dy="2"
result="offset"
id="feOffset7310" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7312" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Drop Shadow"
id="filter7350">
<feFlood
flood-opacity="0.501961"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood7352" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite7354" />
<feGaussianBlur
in="composite1"
stdDeviation="0"
result="blur"
id="feGaussianBlur7356" />
<feOffset
dx="0"
dy="-2"
result="offset"
id="feOffset7358" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite7360" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#474747"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="13.823254"
inkscape:cy="10.45934"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:showpageshadow="false"
showborder="true"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
objecttolerance="10000"
guidetolerance="10000"
inkscape:snap-perpendicular="true"
inkscape:snap-tangential="true"
inkscape:snap-path-clip="true"
inkscape:snap-path-mask="true"
gridtolerance="10000"
showguides="false">
<inkscape:grid
type="xygrid"
id="grid3336"
dotted="false"
empspacing="8"
snapvisiblegridlinesonly="false"
enabled="true"
visible="true"
empcolor="#aaaaff"
empopacity="0.25098039"
color="#7878ff"
opacity="0.1254902"
spacingx="1"
spacingy="1" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Andrei Rudenko</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="Layer 1"
transform="translate(0,-10)">
<g
id="g88829"
style="fill:#cacaca;fill-opacity:1"
transform="matrix(1,0,0,-1,0,42)">
<path
inkscape:connector-curvature="0"
id="rect4159"
d="m 3,17 v 1 1 h 1 v 1 h 1.0000001 v 1 H 6 v 1 h 1 v 1 h 1.0000001 v 1 H 9 v 1 h 1 v 1 h 2 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 h 1 v -1 -1 h -2 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 h -1 v 1 H 11 10 V 22 H 9 V 21 H 8.0000001 V 20 H 7 V 19 H 6 V 18 H 5.0000001 v -1 z"
style="opacity:1;fill:#cacaca;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1" />
<rect
y="27"
x="3"
height="2"
width="16"
id="rect88825"
style="opacity:1;vector-effect:none;fill:#cacaca;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:fill markers stroke" />
</g>
</g>
</svg>
......@@ -907,6 +907,17 @@ void KisNodeManager::raiseNode()
juggler->raiseNode(selectedNodes());
}
void KisNodeManager::raiseTopNode()
{
KisNodeList nodes = selectedNodes();
KisNodeSP parent = activeNode()->parent();
KisNodeSP above = parent->lastChild();
KUndo2MagicString actionName = kundo2_i18n("Raise to Top");
KisNodeJugglerCompressed *juggler = m_d->lazyGetJuggler(actionName);
juggler->moveNode(nodes, parent, above);
}
void KisNodeManager::lowerNode()
{
KUndo2MagicString actionName = kundo2_i18n("Lower Nodes");
......@@ -914,6 +925,17 @@ void KisNodeManager::lowerNode()
juggler->lowerNode(selectedNodes());
}
void KisNodeManager::lowerBottomNode()
{
KisNodeList nodes = selectedNodes();
KisNodeSP parent = activeNode()->parent();
KisNodeSP above = 0;
KUndo2MagicString actionName = kundo2_i18n("Lower to Bottom");
KisNodeJugglerCompressed *juggler = m_d->lazyGetJuggler(actionName);
juggler->moveNode(nodes, parent, above);
}
void KisNodeManager::removeSingleNode(KisNodeSP node)
{
if (!node || !node->parent()) {
......
......@@ -200,11 +200,21 @@ public Q_SLOTS:
*/
void raiseNode();
/**
* move the active node to top of parent in the nodestack.
*/
void raiseTopNode();
/**
* move the active node down the nodestack
*/
void lowerNode();
/**
* move the active node down to bottom of the parent in the nodestack
*/
void lowerBottomNode();
void saveNodeAsImage();
void saveVectorLayerAsImage();
......
......@@ -181,14 +181,13 @@ LayerBox::LayerBox()
slotUpdateIcons();
m_wdgLayerBox->bnDelete->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnRaiseTop->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnRaise->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnLowerBottom->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnLower->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnProperties->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnDuplicate->setIconSize(QSize(22, 22));
m_wdgLayerBox->bnLower->setEnabled(false);
m_wdgLayerBox->bnRaise->setEnabled(false);
if (cfg.sliderLabels()) {
m_wdgLayerBox->opacityLabel->hide();
m_wdgLayerBox->doubleOpacity->setPrefix(QString("%1: ").arg(i18n("Opacity")));
......@@ -358,11 +357,21 @@ void LayerBox::setViewManager(KisViewManager* kisview)
new SyncButtonAndAction(m_removeAction, m_wdgLayerBox->bnDelete, this);
connect(m_removeAction, SIGNAL(triggered()), this, SLOT(slotRmClicked()));
action = actionManager->createAction("move_layer_up_top");
Q_ASSERT(action);
new SyncButtonAndAction(action, m_wdgLayerBox->bnRaiseTop, this);
connect(action, SIGNAL(triggered()), this, SLOT(slotRaiseTopClicked()));
action = actionManager->createAction("move_layer_up");
Q_ASSERT(action);
new SyncButtonAndAction(action, m_wdgLayerBox->bnRaise, this);
connect(action, SIGNAL(triggered()), this, SLOT(slotRaiseClicked()));
action = actionManager->createAction("move_layer_down_bottom");
Q_ASSERT(action);
new SyncButtonAndAction(action, m_wdgLayerBox->bnLowerBottom, this);
connect(action, SIGNAL(triggered()), this, SLOT(slotLowerBottomClicked()));
action = actionManager->createAction("move_layer_down");
Q_ASSERT(action);
new SyncButtonAndAction(action, m_wdgLayerBox->bnLower, this);
......@@ -503,11 +512,6 @@ void LayerBox::updateUI()
}
}
m_wdgLayerBox->bnRaise->setEnabled(activeNode && activeNode->isEditable(false) && (activeNode->nextSibling()
|| (activeNode->parent() && activeNode->parent() != m_image->root())));
m_wdgLayerBox->bnLower->setEnabled(activeNode && activeNode->isEditable(false) && (activeNode->prevSibling()
|| (activeNode->parent() && activeNode->parent() != m_image->root())));
m_wdgLayerBox->doubleOpacity->setEnabled(activeNode && activeNode->isEditable(false));
m_wdgLayerBox->cmbComposite->setEnabled(activeNode && activeNode->isEditable(false));
......@@ -711,12 +715,24 @@ void LayerBox::slotRaiseClicked()
m_nodeManager->raiseNode();
}
void LayerBox::slotRaiseTopClicked()
{
if (!m_canvas) return;
m_nodeManager->raiseTopNode();
}
void LayerBox::slotLowerClicked()
{
if (!m_canvas) return;
m_nodeManager->lowerNode();
}
void LayerBox::slotLowerBottomClicked()
{
if (!m_canvas) return;
m_nodeManager->lowerBottomNode();
}
void LayerBox::slotPropertiesClicked()
{
if (!m_canvas) return;
......@@ -1056,9 +1072,11 @@ void LayerBox::slotImageTimeChanged(int time)
void LayerBox::slotUpdateIcons() {
m_wdgLayerBox->bnAdd->setIcon(KisIconUtils::loadIcon("addlayer"));
m_wdgLayerBox->bnRaiseTop->setIcon(KisIconUtils::loadIcon("arrowuptop"));
m_wdgLayerBox->bnRaise->setIcon(KisIconUtils::loadIcon("arrowupblr"));
m_wdgLayerBox->bnDelete->setIcon(KisIconUtils::loadIcon("deletelayer"));
m_wdgLayerBox->bnLower->setIcon(KisIconUtils::loadIcon("arrowdown"));
m_wdgLayerBox->bnLowerBottom->setIcon(KisIconUtils::loadIcon("arrowdownbottom"));
m_wdgLayerBox->bnProperties->setIcon(KisIconUtils::loadIcon("properties"));
m_wdgLayerBox->bnDuplicate->setIcon(KisIconUtils::loadIcon("duplicatelayer"));
......
......@@ -101,7 +101,9 @@ private Q_SLOTS:
// from the layerbox to the node manager
void slotRmClicked();
void slotRaiseClicked();
void slotRaiseTopClicked();
void slotLowerClicked();
void slotLowerBottomClicked();
void slotPropertiesClicked();
void slotCompositeOpChanged(int index);
......
......@@ -189,6 +189,31 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="bnLowerBottom">
<property name="minimumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Move layer or mask to bottom</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="iconSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="bnLower">
<property name="minimumSize">
......@@ -239,6 +264,31 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="bnRaiseTop">
<property name="minimumSize">
<size>
<width>28</width>
<height>28</height>
</size>
</property>
<property name="toolTip">
<string>Move layer or mask to top</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="iconSize">
<size>
<width>22</width>
<height>22</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="bnProperties">
<property name="minimumSize">
......@@ -339,8 +389,10 @@
<tabstops>
<tabstop>cmbComposite</tabstop>
<tabstop>bnDuplicate</tabstop>
<tabstop>bnLowerBottom</tabstop>
<tabstop>bnLower</tabstop>
<tabstop>bnRaise</tabstop>
<tabstop>bnRaiseTop</tabstop>
<tabstop>bnProperties</tabstop>
<tabstop>bnDelete</tabstop>
</tabstops>
......