Changed: listbox controls redesign

This commit is contained in:
Ray 2021-07-29 21:07:06 +01:00
parent a09c42e817
commit 7ad253d408
23 changed files with 885 additions and 330 deletions

View File

@ -7,19 +7,19 @@
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"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="icons.svg"
id="svg8"
version="1.1"
class="feather feather-save"
stroke-linejoin="round"
stroke-linecap="round"
stroke-width="2"
stroke="currentColor"
width="36.465881"
height="56.465881"
viewBox="0 0 36.465881 56.465881"
fill="none"
viewBox="0 0 24 24"
height="24"
width="24">
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
class="feather feather-save"
version="1.1"
id="svg8"
sodipodi:docname="icons.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)">
<metadata
id="metadata14">
<rdf:RDF>
@ -35,134 +35,476 @@
<defs
id="defs12" />
<sodipodi:namedview
inkscape:current-layer="svg8"
inkscape:window-maximized="1"
inkscape:window-y="845"
inkscape:window-x="1072"
inkscape:cy="32.669404"
inkscape:cx="34.52045"
inkscape:zoom="8.8541667"
showgrid="false"
id="namedview10"
inkscape:window-height="1017"
inkscape:window-width="1920"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
fit-margin-bottom="0"
fit-margin-right="0"
fit-margin-left="0"
fit-margin-top="0"
inkscape:document-rotation="0"
pagecolor="#ffffff"
bordercolor="#666666"
pagecolor="#ffffff" />
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview10"
showgrid="false"
inkscape:zoom="6.2608413"
inkscape:cx="90.016116"
inkscape:cy="49.411899"
inkscape:window-x="1072"
inkscape:window-y="845"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<g
inkscape:export-ydpi="96"
id="g842"
transform="matrix(0.80171614,0,0,0.7982539,18.396568,-1.5965078)"
inkscape:export-xdpi="96"
transform="matrix(0.80171614,0,0,0.7982539,-19.821146,-4.9600081)"
id="g842">
inkscape:export-ydpi="96">
<path
d="M 19,21 H 5 A 2,2 0 0 1 3,19 V 5 A 2,2 0 0 1 5,3 h 11 l 5,5 v 11 a 2,2 0 0 1 -2,2 z"
id="path2" />
<polyline
points="17 21 17 13 7 13 7 21"
id="polyline4" />
<polyline
points="7 3 7 8 15 8"
id="polyline6" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.65647058,0,0,0.65647058,-38.541176,18.042352)"
id="g894"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<circle
style="stroke:#d4d4d4;stroke-opacity:1"
cx="12"
cy="12"
r="3"
id="circle880" />
<path
style="stroke:#d4d4d4;stroke-opacity:1"
d="m 19.4,15 a 1.65,1.65 0 0 0 0.33,1.82 l 0.06,0.06 a 2,2 0 0 1 0,2.83 2,2 0 0 1 -2.83,0 L 16.9,19.65 a 1.65,1.65 0 0 0 -1.82,-0.33 1.65,1.65 0 0 0 -1,1.51 V 21 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 V 20.91 A 1.65,1.65 0 0 0 9,19.4 1.65,1.65 0 0 0 7.18,19.73 l -0.06,0.06 a 2,2 0 0 1 -2.83,0 2,2 0 0 1 0,-2.83 L 4.35,16.9 a 1.65,1.65 0 0 0 0.33,-1.82 1.65,1.65 0 0 0 -1.51,-1 H 3 a 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 H 3.09 A 1.65,1.65 0 0 0 4.6,9 1.65,1.65 0 0 0 4.27,7.18 L 4.21,7.12 a 2,2 0 0 1 0,-2.83 2,2 0 0 1 2.83,0 L 7.1,4.35 A 1.65,1.65 0 0 0 8.92,4.68 H 9 A 1.65,1.65 0 0 0 10,3.17 V 3 a 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 v 0.09 a 1.65,1.65 0 0 0 1,1.51 1.65,1.65 0 0 0 1.82,-0.33 l 0.06,-0.06 a 2,2 0 0 1 2.83,0 2,2 0 0 1 0,2.83 L 19.65,7.1 A 1.65,1.65 0 0 0 19.32,8.92 V 9 a 1.65,1.65 0 0 0 1.51,1 H 21 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 h -0.09 a 1.65,1.65 0 0 0 -1.51,1 z"
id="path882" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="stroke:#d4d4d4;stroke-opacity:1"
id="g842-8"
transform="matrix(0.80171614,0,0,0.7982539,-39.211182,-4.9484586)">
<path
style="stroke:#d4d4d4;stroke-opacity:1"
id="path2-6"
id="path2"
d="M 19,21 H 5 A 2,2 0 0 1 3,19 V 5 A 2,2 0 0 1 5,3 h 11 l 5,5 v 11 a 2,2 0 0 1 -2,2 z" />
<polyline
style="stroke:#d4d4d4;stroke-opacity:1"
id="polyline4-7"
id="polyline4"
points="17 21 17 13 7 13 7 21" />
<polyline
style="stroke:#d4d4d4;stroke-opacity:1"
id="polyline6-7"
id="polyline6"
points="7 3 7 8 15 8" />
</g>
<g
inkscape:export-ydpi="96"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g894"
transform="matrix(0.65647058,0,0,0.65647058,2e-8,20)"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g894-2"
transform="matrix(0.65647058,0,0,0.65647058,-18.832941,20.583529)">
inkscape:export-ydpi="96">
<circle
id="circle880-3"
id="circle880"
r="3"
cy="12"
cx="12" />
cx="12"
style="stroke:#d4d4d4;stroke-opacity:1" />
<path
id="path882-5"
d="m 19.4,15 a 1.65,1.65 0 0 0 0.33,1.82 l 0.06,0.06 a 2,2 0 0 1 0,2.83 2,2 0 0 1 -2.83,0 L 16.9,19.65 a 1.65,1.65 0 0 0 -1.82,-0.33 1.65,1.65 0 0 0 -1,1.51 V 21 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 V 20.91 A 1.65,1.65 0 0 0 9,19.4 1.65,1.65 0 0 0 7.18,19.73 l -0.06,0.06 a 2,2 0 0 1 -2.83,0 2,2 0 0 1 0,-2.83 L 4.35,16.9 a 1.65,1.65 0 0 0 0.33,-1.82 1.65,1.65 0 0 0 -1.51,-1 H 3 a 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 H 3.09 A 1.65,1.65 0 0 0 4.6,9 1.65,1.65 0 0 0 4.27,7.18 L 4.21,7.12 a 2,2 0 0 1 0,-2.83 2,2 0 0 1 2.83,0 L 7.1,4.35 A 1.65,1.65 0 0 0 8.92,4.68 H 9 A 1.65,1.65 0 0 0 10,3.17 V 3 a 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 v 0.09 a 1.65,1.65 0 0 0 1,1.51 1.65,1.65 0 0 0 1.82,-0.33 l 0.06,-0.06 a 2,2 0 0 1 2.83,0 2,2 0 0 1 0,2.83 L 19.65,7.1 A 1.65,1.65 0 0 0 19.32,8.92 V 9 a 1.65,1.65 0 0 0 1.51,1 H 21 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 h -0.09 a 1.65,1.65 0 0 0 -1.51,1 z" />
id="path882"
d="m 19.4,15 a 1.65,1.65 0 0 0 0.33,1.82 l 0.06,0.06 a 2,2 0 0 1 0,2.83 2,2 0 0 1 -2.83,0 L 16.9,19.65 a 1.65,1.65 0 0 0 -1.82,-0.33 1.65,1.65 0 0 0 -1,1.51 V 21 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 V 20.91 A 1.65,1.65 0 0 0 9,19.4 1.65,1.65 0 0 0 7.18,19.73 l -0.06,0.06 a 2,2 0 0 1 -2.83,0 2,2 0 0 1 0,-2.83 L 4.35,16.9 a 1.65,1.65 0 0 0 0.33,-1.82 1.65,1.65 0 0 0 -1.51,-1 H 3 a 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 H 3.09 A 1.65,1.65 0 0 0 4.6,9 1.65,1.65 0 0 0 4.27,7.18 L 4.21,7.12 a 2,2 0 0 1 0,-2.83 2,2 0 0 1 2.83,0 L 7.1,4.35 A 1.65,1.65 0 0 0 8.92,4.68 H 9 A 1.65,1.65 0 0 0 10,3.17 V 3 a 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 v 0.09 a 1.65,1.65 0 0 0 1,1.51 1.65,1.65 0 0 0 1.82,-0.33 l 0.06,-0.06 a 2,2 0 0 1 2.83,0 2,2 0 0 1 0,2.83 L 19.65,7.1 A 1.65,1.65 0 0 0 19.32,8.92 V 9 a 1.65,1.65 0 0 0 1.51,1 H 21 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 h -0.09 a 1.65,1.65 0 0 0 -1.51,1 z"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
inkscape:export-ydpi="96"
transform="matrix(0.80171614,0,0,0.7982539,-1.6034323,-1.5965078)"
id="g842-8"
style="stroke:#d4d4d4;stroke-opacity:1"
inkscape:export-xdpi="96"
transform="matrix(0.7484492,0,0,0.7484492,12.533904,-3.390802)"
id="g958"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
inkscape:export-ydpi="96">
<path
d="M 19,21 H 5 A 2,2 0 0 1 3,19 V 5 A 2,2 0 0 1 5,3 h 11 l 5,5 v 11 a 2,2 0 0 1 -2,2 z"
id="path2-6"
style="stroke:#d4d4d4;stroke-opacity:1" />
<polyline
points="17 21 17 13 7 13 7 21"
id="polyline4-7"
style="stroke:#d4d4d4;stroke-opacity:1" />
<polyline
points="7 3 7 8 15 8"
id="polyline6-7"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.65647058,0,0,0.65647058,20,20)"
id="g894-2"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<circle
cx="12"
cy="12"
r="3"
id="circle880-3" />
<path
d="m 19.4,15 a 1.65,1.65 0 0 0 0.33,1.82 l 0.06,0.06 a 2,2 0 0 1 0,2.83 2,2 0 0 1 -2.83,0 L 16.9,19.65 a 1.65,1.65 0 0 0 -1.82,-0.33 1.65,1.65 0 0 0 -1,1.51 V 21 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 V 20.91 A 1.65,1.65 0 0 0 9,19.4 1.65,1.65 0 0 0 7.18,19.73 l -0.06,0.06 a 2,2 0 0 1 -2.83,0 2,2 0 0 1 0,-2.83 L 4.35,16.9 a 1.65,1.65 0 0 0 0.33,-1.82 1.65,1.65 0 0 0 -1.51,-1 H 3 a 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 H 3.09 A 1.65,1.65 0 0 0 4.6,9 1.65,1.65 0 0 0 4.27,7.18 L 4.21,7.12 a 2,2 0 0 1 0,-2.83 2,2 0 0 1 2.83,0 L 7.1,4.35 A 1.65,1.65 0 0 0 8.92,4.68 H 9 A 1.65,1.65 0 0 0 10,3.17 V 3 a 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 v 0.09 a 1.65,1.65 0 0 0 1,1.51 1.65,1.65 0 0 0 1.82,-0.33 l 0.06,-0.06 a 2,2 0 0 1 2.83,0 2,2 0 0 1 0,2.83 L 19.65,7.1 A 1.65,1.65 0 0 0 19.32,8.92 V 9 a 1.65,1.65 0 0 0 1.51,1 H 21 a 2,2 0 0 1 2,2 2,2 0 0 1 -2,2 h -0.09 a 1.65,1.65 0 0 0 -1.51,1 z"
id="path882-5" />
</g>
<g
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
id="g958"
transform="matrix(0.7484492,0,0,0.7484492,-0.74844918,39.251551)"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<circle
id="circle941"
r="10"
cy="12"
cx="12"
style="stroke:#d4d4d4;stroke-opacity:1" />
<path
id="path943"
d="m 9.09,9 a 3,3 0 0 1 5.83,1 c 0,2 -3,3 -3,3"
style="stroke:#d4d4d4;stroke-opacity:1" />
<line
id="line945"
y2="17"
x2="12.01"
y1="17"
x1="12"
style="stroke:#d4d4d4;stroke-opacity:1" />
</g>
<g
transform="matrix(0.7484492,0,0,0.7484492,19.251551,39.251551)"
id="g958-4"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<circle
style="stroke:#d4d4d4;stroke-opacity:1"
cx="12"
cy="12"
r="10"
id="circle941" />
id="circle941-9" />
<path
style="stroke:#d4d4d4;stroke-opacity:1"
d="m 9.09,9 a 3,3 0 0 1 5.83,1 c 0,2 -3,3 -3,3"
id="path943" />
id="path943-1" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="12"
y1="17"
x2="12.01"
y2="17"
id="line945" />
id="line945-3" />
</g>
<g
transform="translate(36,-4)"
id="g1510"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="12"
y1="5"
x2="12"
y2="19"
id="line1496" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="5"
y1="12"
x2="19"
y2="12"
id="line1498" />
</g>
<g
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1510-0"
transform="translate(56,-4)">
<line
id="line1496-5"
y2="19"
x2="12"
y1="5"
x1="12" />
<line
id="line1498-1"
y2="12"
x2="19"
y1="12"
x1="5" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.81929378,0,0,0.81929378,38.361382,18.491799)"
id="g1560"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<path
style="stroke:#d4d4d4;stroke-opacity:1"
d="m 12,20 h 9"
id="path1546" />
<path
style="stroke:#d4d4d4;stroke-opacity:1"
d="m 16.5,3.5 a 2.1213203,2.1213203 0 0 1 3,3 L 7,19 3,20 4,16 Z"
id="path1548" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g958-4"
transform="matrix(0.7484492,0,0,0.7484492,31.790374,-3.2213904)">
<circle
id="circle941-9"
r="10"
cy="12"
cx="12" />
id="g1560-8"
transform="matrix(0.81929378,0,0,0.81929378,58.361382,18.491799)">
<path
id="path943-1"
d="m 9.09,9 a 3,3 0 0 1 5.83,1 c 0,2 -3,3 -3,3" />
id="path1546-2"
d="m 12,20 h 9" />
<path
id="path1548-4"
d="m 16.5,3.5 a 2.1213203,2.1213203 0 0 1 3,3 L 7,19 3,20 4,16 Z" />
</g>
<line
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
x1="41"
y1="48"
x2="55"
y2="48"
id="line1498-7" />
<line
id="line1498-1-9"
y2="48"
x2="75"
y1="48"
x1="61"
style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.88705882,0,0,0.88705882,36.451765,57.338728)"
id="g1631"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<polygon
style="stroke:#d4d4d4;stroke-opacity:1"
points="19,20 9,12 19,4 "
id="polygon1617" />
<line
id="line945-3"
style="stroke:#d4d4d4;stroke-opacity:1"
x1="5"
y1="19"
x2="5"
y2="5"
id="line1619" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1631-1"
transform="matrix(0.88705882,0,0,0.88705882,56.451765,57.338728)">
<polygon
id="polygon1617-1"
points="19,4 19,20 9,12 " />
<line
id="line1619-8"
y2="5"
x2="5"
y1="19"
x1="5" />
</g>
<g
transform="matrix(0.712,0,0,0.712,-0.12988243,63.506823)"
id="g1706"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<polyline
style="stroke:#d4d4d4;stroke-opacity:1"
points="3 6 5 6 21 6"
id="polyline1686" />
<path
style="stroke:#d4d4d4;stroke-opacity:1"
d="m 19,6 v 14 a 2,2 0 0 1 -2,2 H 7 A 2,2 0 0 1 5,20 V 6 M 8,6 V 4 a 2,2 0 0 1 2,-2 h 4 a 2,2 0 0 1 2,2 v 2"
id="path1688" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="10"
y1="11"
x2="10"
y2="17"
x2="12.01"
y1="17"
id="line1690" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="14"
y1="11"
x2="14"
y2="17"
id="line1692" />
</g>
<g
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1706-5"
transform="matrix(0.712,0,0,0.712,19.691294,63.39953)">
<polyline
id="polyline1686-0"
points="3 6 5 6 21 6" />
<path
id="path1688-2"
d="m 19,6 v 14 a 2,2 0 0 1 -2,2 H 7 A 2,2 0 0 1 5,20 V 6 M 8,6 V 4 a 2,2 0 0 1 2,-2 h 4 a 2,2 0 0 1 2,2 v 2" />
<line
id="line1690-1"
y2="17"
x2="10"
y1="11"
x1="10" />
<line
id="line1692-7"
y2="17"
x2="14"
y1="11"
x1="14" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.88297886,0,0,0.81929262,37.468085,78.361347)"
id="g1746"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<polygon
style="stroke:#d4d4d4;stroke-opacity:1"
points="5,3 19,12 5,21 "
id="polygon1735" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1746-7"
transform="matrix(0.88297886,0,0,0.81929262,57.468085,78.361347)">
<polygon
id="polygon1735-2"
points="5,21 5,3 19,12 " />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.80034632,0,0,0.80034632,78.399307,-1.6006926)"
id="g1783"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<rect
style="stroke:#d4d4d4;stroke-opacity:1"
x="3"
y="3"
width="18"
height="18"
rx="2"
ry="2"
id="rect1766" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="12"
y1="8"
x2="12"
y2="16"
id="line1768" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="8"
y1="12"
x2="16"
y2="12"
id="line1770" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1783-8"
transform="matrix(0.80034632,0,0,0.80034632,98.399307,-1.6006926)">
<rect
id="rect1766-0"
ry="2"
rx="2"
height="18"
width="18"
y="3"
x="3" />
<line
id="line1768-6"
y2="16"
x2="12"
y1="8"
x1="12" />
<line
id="line1770-7"
y2="12"
x2="16"
y1="12"
x1="8" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.80034632,0,0,0.80034632,78.399307,18.399307)"
id="g1823"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<rect
style="stroke:#d4d4d4;stroke-opacity:1"
x="3"
y="3"
width="18"
height="18"
rx="2"
ry="2"
id="rect1809" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="8"
y1="12"
x2="16"
y2="12"
id="line1811" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1823-1"
transform="matrix(0.80034632,0,0,0.80034632,98.399307,18.399307)">
<rect
id="rect1809-3"
ry="2"
rx="2"
height="18"
width="18"
y="3"
x="3" />
<line
id="line1811-8"
y2="12"
x2="16"
y1="12"
x1="8" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
transform="matrix(0.81745949,0,0,0.81745949,81.164106,40.822659)"
id="g1863"
style="fill:none;stroke:#d4d4d4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1">
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="3"
y1="12"
x2="21"
y2="12"
id="line1846" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="3"
y1="6"
x2="21"
y2="6"
id="line1848" />
<line
style="stroke:#d4d4d4;stroke-opacity:1"
x1="3"
y1="18"
x2="21"
y2="18"
id="line1850" />
</g>
<g
inkscape:export-ydpi="96"
inkscape:export-xdpi="96"
style="fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round"
id="g1863-1"
transform="matrix(0.81745949,0,0,0.81745949,101.35765,40.982382)">
<line
id="line1846-4"
y2="12"
x2="21"
y1="12"
x1="3" />
<line
id="line1848-6"
y2="6"
x2="21"
y1="6"
x1="3" />
<line
id="line1850-4"
y2="18"
x2="21"
y1="18"
x1="3" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 15 KiB

BIN
Resources/UI/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

BIN
Resources/UI/menu2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

View File

@ -22,14 +22,14 @@ namespace RyzStudio.Windows.ThemedForms
listBox1.BorderStyle = BorderStyle.None;
}
protected override void OnResize(EventArgs e)
{
base.OnResize(e);
//protected override void OnResize(EventArgs e)
//{
// base.OnResize(e);
//int b = (styleActive.BorderWidth + 1) + styleActive.BorderPadding;
// //int b = (styleActive.BorderWidth + 1) + styleActive.BorderPadding;
//this.Height = comboBox1.Height + (b + textboxPadding.Top) + ((b - 1) + textboxPadding.Bottom);
}
// //this.Height = comboBox1.Height + (b + textboxPadding.Top) + ((b - 1) + textboxPadding.Bottom);
//}
protected override void OnGotFocus(EventArgs e)
{
@ -49,12 +49,10 @@ namespace RyzStudio.Windows.ThemedForms
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public new Padding Margin { get => base.Margin; set => base.Margin = value; }
[Category("Action")]
[Browsable(true)]
[Browsable(false)]
public event EventHandler OnAdd;
[Category("Action")]
[Browsable(true)]
[Browsable(false)]
public event EventHandler OnEdit;
protected override void updateBackground(Graphics g, ThemeStyle style)
@ -95,36 +93,7 @@ namespace RyzStudio.Windows.ThemedForms
return;
}
this.OnEdit?.Invoke(sender, e);
}
/// <summary>
/// Remove
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void imageBox2_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button != MouseButtons.Left)
{
return;
}
if (listBox1.SelectedIndex < 0)
{
return;
}
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
if (pos > (listBox1.Items.Count - 1))
{
pos = (listBox1.Items.Count - 1);
}
listBox1.SelectedIndex = pos;
contextMenuStrip1.Show(Cursor.Position);
}
/// <summary>
@ -142,23 +111,7 @@ namespace RyzStudio.Windows.ThemedForms
}
}
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos - 1), item);
listBox1.SelectedIndex = (pos - 1);
moveUpToolStripMenuItem_Click(sender, e);
}
/// <summary>
@ -176,26 +129,13 @@ namespace RyzStudio.Windows.ThemedForms
}
}
if (listBox1.SelectedIndex >= (listBox1.Items.Count - 1))
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos + 1), item);
listBox1.SelectedIndex = (pos + 1);
moveDownToolStripMenuItem_Click(sender, e);
}
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e) => imageBox5_MouseClick(sender, e);
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
{
editToolStripMenuItem_Click(sender, e);
}
private void listBox1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
@ -229,5 +169,202 @@ namespace RyzStudio.Windows.ThemedForms
}
}
#region context menu
/// <summary>
/// Add
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void addItemToolStripMenuItem_Click(object sender, EventArgs e)
{
this.OnAdd?.Invoke(sender, e);
}
/// <summary>
/// Copy
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void toolStripMenuItem2_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
listBox1.Items.Add(item);
listBox1.SelectedIndex = (listBox1.Items.Count- 1);
}
/// <summary>
/// Edit
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void editToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex < 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
this.OnEdit?.Invoke(sender, e);
}
/// <summary>
/// Remove
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void removeToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex < 0)
{
return;
}
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
if (pos > (listBox1.Items.Count - 1))
{
pos = (listBox1.Items.Count - 1);
}
listBox1.SelectedIndex = pos;
}
/// <summary>
/// Remove all
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void toolStripMenuItem1_Click(object sender, EventArgs e)
{
listBox1.Items.Clear();
}
/// <summary>
/// Move to top
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveToTopToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert(0, item);
listBox1.SelectedIndex = 0;
}
/// <summary>
/// Move up
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveUpToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex <= 0)
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos - 1), item);
listBox1.SelectedIndex = (pos - 1);
}
/// <summary>
/// Move down
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveDownToolStripMenuItem_Click(object sender, EventArgs e)
{
if (listBox1.SelectedIndex >= (listBox1.Items.Count - 1))
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert((pos + 1), item);
listBox1.SelectedIndex = (pos + 1);
}
/// <summary>
/// Move to bottom
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void moveToBottomToolStripMenuItem_Click(object sender, EventArgs e)
{
int n = (listBox1.Items.Count - 1);
if (listBox1.SelectedIndex >= (listBox1.Items.Count - 1))
{
return;
}
if (listBox1.SelectedItem == null)
{
return;
}
object item = listBox1.SelectedItem;
int pos = listBox1.SelectedIndex;
listBox1.Items.RemoveAt(pos);
listBox1.Items.Insert(n, item);
listBox1.SelectedIndex = n;
}
#endregion
}
}

View File

@ -35,14 +35,26 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox5 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox4 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox3 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox2 = new RyzStudio.Windows.Forms.TImageBox();
this.imageBox1 = new RyzStudio.Windows.Forms.TImageBox();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.addItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveToTopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveDownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.moveToBottomToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
((System.ComponentModel.ISupportInitialize)(this.imageBox5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox1)).BeginInit();
this.contextMenuStrip1.SuspendLayout();
this.SuspendLayout();
//
// listBox1
@ -50,12 +62,12 @@ namespace RyzStudio.Windows.ThemedForms
this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.listBox1.BackColor = System.Drawing.Color.FromKnownColor(KnownColor.Window);
this.listBox1.BackColor = System.Drawing.SystemColors.Window;
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 15;
this.listBox1.Location = new System.Drawing.Point(4, 4);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(98, 109);
this.listBox1.Size = new System.Drawing.Size(98, 214);
this.listBox1.TabIndex = 0;
this.listBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDoubleClick);
this.listBox1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.listBox1_PreviewKeyDown);
@ -69,16 +81,16 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox5.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox5.ErrorImage = null;
this.imageBox5.HoverImage = global::FizzyLauncher.UIResource.edit2;
this.imageBox5.Image = global::FizzyLauncher.UIResource.edit;
this.imageBox5.ImageHover = global::FizzyLauncher.UIResource.edit2;
this.imageBox5.ImageNormal = global::FizzyLauncher.UIResource.edit;
this.imageBox5.HoverImage = global::FizzyLauncher.UIResource.menu2;
this.imageBox5.Image = global::FizzyLauncher.UIResource.menu;
this.imageBox5.ImageHover = global::FizzyLauncher.UIResource.menu2;
this.imageBox5.ImageNormal = global::FizzyLauncher.UIResource.menu;
this.imageBox5.ImageSelected = null;
this.imageBox5.InitialImage = null;
this.imageBox5.IsSelected = false;
this.imageBox5.Location = new System.Drawing.Point(106, 24);
this.imageBox5.Name = "imageBox5";
this.imageBox5.NormalImage = global::FizzyLauncher.UIResource.edit;
this.imageBox5.NormalImage = global::FizzyLauncher.UIResource.menu;
this.imageBox5.SelectedImage = null;
this.imageBox5.Size = new System.Drawing.Size(18, 18);
this.imageBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
@ -97,22 +109,22 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox4.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox4.ErrorImage = null;
this.imageBox4.HoverImage = global::FizzyLauncher.UIResource.arrow_down2;
this.imageBox4.Image = global::FizzyLauncher.UIResource.arrow_down;
this.imageBox4.ImageHover = global::FizzyLauncher.UIResource.arrow_down2;
this.imageBox4.ImageNormal = global::FizzyLauncher.UIResource.arrow_down;
this.imageBox4.HoverImage = global::FizzyLauncher.UIResource.triangle_down2;
this.imageBox4.Image = global::FizzyLauncher.UIResource.triangle_down;
this.imageBox4.ImageHover = global::FizzyLauncher.UIResource.triangle_down2;
this.imageBox4.ImageNormal = global::FizzyLauncher.UIResource.triangle_down;
this.imageBox4.ImageSelected = null;
this.imageBox4.InitialImage = null;
this.imageBox4.IsSelected = false;
this.imageBox4.Location = new System.Drawing.Point(106, 92);
this.imageBox4.Location = new System.Drawing.Point(106, 68);
this.imageBox4.Name = "imageBox4";
this.imageBox4.NormalImage = global::FizzyLauncher.UIResource.arrow_down;
this.imageBox4.NormalImage = global::FizzyLauncher.UIResource.triangle_down;
this.imageBox4.SelectedImage = null;
this.imageBox4.Size = new System.Drawing.Size(18, 18);
this.imageBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.imageBox4.TabIndex = 5;
this.imageBox4.TabStop = false;
this.toolTip1.SetToolTip(this.imageBox4, "Move Bottom");
this.toolTip1.SetToolTip(this.imageBox4, "Move Down");
this.imageBox4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox4_MouseClick);
this.imageBox4.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox4_MouseClick);
//
@ -125,16 +137,16 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox3.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox3.ErrorImage = null;
this.imageBox3.HoverImage = global::FizzyLauncher.UIResource.arrow_up2;
this.imageBox3.Image = global::FizzyLauncher.UIResource.arrow_up;
this.imageBox3.ImageHover = global::FizzyLauncher.UIResource.arrow_up2;
this.imageBox3.ImageNormal = global::FizzyLauncher.UIResource.arrow_up;
this.imageBox3.HoverImage = global::FizzyLauncher.UIResource.triangle_up2;
this.imageBox3.Image = global::FizzyLauncher.UIResource.triangle_up;
this.imageBox3.ImageHover = global::FizzyLauncher.UIResource.triangle_up2;
this.imageBox3.ImageNormal = global::FizzyLauncher.UIResource.triangle_up;
this.imageBox3.ImageSelected = null;
this.imageBox3.InitialImage = null;
this.imageBox3.IsSelected = false;
this.imageBox3.Location = new System.Drawing.Point(106, 72);
this.imageBox3.Location = new System.Drawing.Point(106, 48);
this.imageBox3.Name = "imageBox3";
this.imageBox3.NormalImage = global::FizzyLauncher.UIResource.arrow_up;
this.imageBox3.NormalImage = global::FizzyLauncher.UIResource.triangle_up;
this.imageBox3.SelectedImage = null;
this.imageBox3.Size = new System.Drawing.Size(18, 18);
this.imageBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
@ -144,34 +156,6 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox3_MouseClick);
this.imageBox3.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox3_MouseClick);
//
// imageBox2
//
this.imageBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.imageBox2.BackColor = System.Drawing.Color.Transparent;
this.imageBox2.BackColorHover = System.Drawing.Color.Transparent;
this.imageBox2.BackColorNormal = System.Drawing.Color.Transparent;
this.imageBox2.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox2.ErrorImage = null;
this.imageBox2.HoverImage = global::FizzyLauncher.UIResource.minus2;
this.imageBox2.Image = global::FizzyLauncher.UIResource.minus;
this.imageBox2.ImageHover = global::FizzyLauncher.UIResource.minus2;
this.imageBox2.ImageNormal = global::FizzyLauncher.UIResource.minus;
this.imageBox2.ImageSelected = null;
this.imageBox2.InitialImage = null;
this.imageBox2.IsSelected = false;
this.imageBox2.Location = new System.Drawing.Point(106, 48);
this.imageBox2.Name = "imageBox2";
this.imageBox2.NormalImage = global::FizzyLauncher.UIResource.minus;
this.imageBox2.SelectedImage = null;
this.imageBox2.Size = new System.Drawing.Size(18, 18);
this.imageBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.imageBox2.TabIndex = 3;
this.imageBox2.TabStop = false;
this.toolTip1.SetToolTip(this.imageBox2, "Remove Item");
this.imageBox2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox2_MouseClick);
this.imageBox2.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox2_MouseClick);
//
// imageBox1
//
this.imageBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@ -181,16 +165,16 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox1.BackColorSelected = System.Drawing.Color.Transparent;
this.imageBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.imageBox1.ErrorImage = null;
this.imageBox1.HoverImage = global::FizzyLauncher.UIResource.plus2;
this.imageBox1.Image = global::FizzyLauncher.UIResource.plus;
this.imageBox1.ImageHover = global::FizzyLauncher.UIResource.plus2;
this.imageBox1.ImageNormal = global::FizzyLauncher.UIResource.plus;
this.imageBox1.HoverImage = global::FizzyLauncher.UIResource.square_plus2;
this.imageBox1.Image = global::FizzyLauncher.UIResource.square_plus;
this.imageBox1.ImageHover = global::FizzyLauncher.UIResource.square_plus2;
this.imageBox1.ImageNormal = global::FizzyLauncher.UIResource.square_plus;
this.imageBox1.ImageSelected = null;
this.imageBox1.InitialImage = null;
this.imageBox1.IsSelected = false;
this.imageBox1.Location = new System.Drawing.Point(106, 4);
this.imageBox1.Name = "imageBox1";
this.imageBox1.NormalImage = global::FizzyLauncher.UIResource.plus;
this.imageBox1.NormalImage = global::FizzyLauncher.UIResource.square_plus;
this.imageBox1.SelectedImage = null;
this.imageBox1.Size = new System.Drawing.Size(18, 18);
this.imageBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
@ -200,23 +184,118 @@ namespace RyzStudio.Windows.ThemedForms
this.imageBox1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox1_MouseClick);
this.imageBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.imageBox1_MouseClick);
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addItemToolStripMenuItem,
this.toolStripMenuItem2,
this.toolStripSeparator3,
this.editToolStripMenuItem,
this.toolStripSeparator2,
this.removeToolStripMenuItem,
this.toolStripMenuItem1,
this.toolStripSeparator1,
this.moveToTopToolStripMenuItem,
this.moveUpToolStripMenuItem,
this.moveDownToolStripMenuItem,
this.moveToBottomToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(181, 242);
//
// addItemToolStripMenuItem
//
this.addItemToolStripMenuItem.Name = "addItemToolStripMenuItem";
this.addItemToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.addItemToolStripMenuItem.Text = "&Add";
this.addItemToolStripMenuItem.Click += new System.EventHandler(this.addItemToolStripMenuItem_Click);
//
// editToolStripMenuItem
//
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
this.editToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.editToolStripMenuItem.Text = "&Edit";
this.editToolStripMenuItem.Click += new System.EventHandler(this.editToolStripMenuItem_Click);
//
// removeToolStripMenuItem
//
this.removeToolStripMenuItem.Name = "removeToolStripMenuItem";
this.removeToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.removeToolStripMenuItem.Text = "&Remove";
this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click);
//
// moveToTopToolStripMenuItem
//
this.moveToTopToolStripMenuItem.Name = "moveToTopToolStripMenuItem";
this.moveToTopToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.moveToTopToolStripMenuItem.Text = "Move To &Top";
this.moveToTopToolStripMenuItem.Click += new System.EventHandler(this.moveToTopToolStripMenuItem_Click);
//
// moveUpToolStripMenuItem
//
this.moveUpToolStripMenuItem.Name = "moveUpToolStripMenuItem";
this.moveUpToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.moveUpToolStripMenuItem.Text = "Move &Up";
this.moveUpToolStripMenuItem.Click += new System.EventHandler(this.moveUpToolStripMenuItem_Click);
//
// moveDownToolStripMenuItem
//
this.moveDownToolStripMenuItem.Name = "moveDownToolStripMenuItem";
this.moveDownToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.moveDownToolStripMenuItem.Text = "Move &Down";
this.moveDownToolStripMenuItem.Click += new System.EventHandler(this.moveDownToolStripMenuItem_Click);
//
// moveToBottomToolStripMenuItem
//
this.moveToBottomToolStripMenuItem.Name = "moveToBottomToolStripMenuItem";
this.moveToBottomToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.moveToBottomToolStripMenuItem.Text = "Move To &Bottom";
this.moveToBottomToolStripMenuItem.Click += new System.EventHandler(this.moveToBottomToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.toolStripMenuItem1.Text = "Remove A&ll";
this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(177, 6);
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(180, 22);
this.toolStripMenuItem2.Text = "&Copy";
this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(177, 6);
//
// TListBox
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.imageBox5);
this.Controls.Add(this.imageBox4);
this.Controls.Add(this.imageBox3);
this.Controls.Add(this.imageBox2);
this.Controls.Add(this.imageBox1);
this.Controls.Add(this.listBox1);
this.Name = "TListBox";
this.Padding = new System.Windows.Forms.Padding(4, 4, 3, 3);
this.Size = new System.Drawing.Size(128, 120);
this.Size = new System.Drawing.Size(128, 225);
((System.ComponentModel.ISupportInitialize)(this.imageBox5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.imageBox1)).EndInit();
this.contextMenuStrip1.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -225,10 +304,22 @@ namespace RyzStudio.Windows.ThemedForms
private System.Windows.Forms.ListBox listBox1;
private Forms.TImageBox imageBox1;
private Forms.TImageBox imageBox2;
private Forms.TImageBox imageBox3;
private Forms.TImageBox imageBox4;
private Forms.TImageBox imageBox5;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
private System.Windows.Forms.ToolStripMenuItem addItemToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem removeToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripMenuItem moveToTopToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem moveUpToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem moveDownToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem moveToBottomToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
}
}

View File

@ -60,4 +60,10 @@
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>114, 17</value>
</metadata>
</root>

116
UIResource.Designer.cs generated
View File

@ -60,46 +60,6 @@ namespace FizzyLauncher {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap arrow_down {
get {
object obj = ResourceManager.GetObject("arrow_down", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap arrow_down2 {
get {
object obj = ResourceManager.GetObject("arrow_down2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap arrow_up {
get {
object obj = ResourceManager.GetObject("arrow_up", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap arrow_up2 {
get {
object obj = ResourceManager.GetObject("arrow_up2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -160,26 +120,6 @@ namespace FizzyLauncher {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap edit {
get {
object obj = ResourceManager.GetObject("edit", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap edit2 {
get {
object obj = ResourceManager.GetObject("edit2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -243,9 +183,9 @@ namespace FizzyLauncher {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap minus {
internal static System.Drawing.Bitmap menu {
get {
object obj = ResourceManager.GetObject("minus", resourceCulture);
object obj = ResourceManager.GetObject("menu", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -253,9 +193,9 @@ namespace FizzyLauncher {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap minus2 {
internal static System.Drawing.Bitmap menu2 {
get {
object obj = ResourceManager.GetObject("minus2", resourceCulture);
object obj = ResourceManager.GetObject("menu2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -263,9 +203,9 @@ namespace FizzyLauncher {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap plus {
internal static System.Drawing.Bitmap square_plus {
get {
object obj = ResourceManager.GetObject("plus", resourceCulture);
object obj = ResourceManager.GetObject("square_plus", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -273,9 +213,9 @@ namespace FizzyLauncher {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap plus2 {
internal static System.Drawing.Bitmap square_plus2 {
get {
object obj = ResourceManager.GetObject("plus2", resourceCulture);
object obj = ResourceManager.GetObject("square_plus2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -299,5 +239,45 @@ namespace FizzyLauncher {
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap triangle_down {
get {
object obj = ResourceManager.GetObject("triangle_down", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap triangle_down2 {
get {
object obj = ResourceManager.GetObject("triangle_down2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap triangle_up {
get {
object obj = ResourceManager.GetObject("triangle_up", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap triangle_up2 {
get {
object obj = ResourceManager.GetObject("triangle_up2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -118,18 +118,6 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="arrow_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\arrow_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="arrow_down2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\arrow_down2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="arrow_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\arrow_up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="arrow_up2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\arrow_up2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="close" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -148,12 +136,6 @@
<data name="disk2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\disk2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="edit" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\edit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="edit2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\edit2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="file" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\file.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -172,17 +154,17 @@
<data name="help2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\help2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="minus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\minus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="menu" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\menu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="minus2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\minus2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="menu2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\menu2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\plus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="square_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\square_plus.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="plus2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\plus2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="square_plus2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\square_plus2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="trash" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\trash.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -190,4 +172,16 @@
<data name="trash2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\trash2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="triangle_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\triangle_down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="triangle_down2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\triangle_down2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="triangle_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\triangle_up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="triangle_up2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>Resources\UI\triangle_up2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@ -317,6 +317,11 @@ namespace FizzyLauncher.Windows.Forms
return;
}
if (listBox1.ListBox.SelectedItem == null)
{
return;
}
EditTileForm.ShowEditDialog(listBox1);
}