add Flush and Exit button icons

pull/1/head
parent 49e4c6ea3f
commit 2d598844c9

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

@ -13,7 +13,9 @@
version="1.1"
id="svg8"
inkscape:version="1.0.2 (1.0.2+r75+1)"
sodipodi:docname="button_icons.svg">
sodipodi:docname="button_icons.svg"
inkscape:export-xdpi="100.33"
inkscape:export-ydpi="100.33">
<defs
id="defs2" />
<sodipodi:namedview
@ -27,14 +29,14 @@
inkscape:cx="227.7237"
inkscape:cy="269.18313"
inkscape:document-units="mm"
inkscape:current-layer="g848"
inkscape:current-layer="g851"
inkscape:document-rotation="0"
showgrid="false"
units="px"
inkscape:window-width="1832"
inkscape:window-height="1037"
inkscape:window-height="1013"
inkscape:window-x="80"
inkscape:window-y="35"
inkscape:window-y="59"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
@ -44,7 +46,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -63,6 +65,38 @@
id="path859" />
</g>
</g>
<g
inkscape:label="FLUSH"
inkscape:groupmode="layer"
id="g851"
style="display:none">
<g
aria-label=""
id="text855"
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
transform="matrix(17.340596,0,0,17.340596,-457.92172,-851.19861)">
<path
d="m 29.583304,52.395144 c 0,-0.0635 -0.05292,-0.116416 -0.116417,-0.116416 h -0.243415 c -0.0635,0 -0.116417,0.05292 -0.116417,0.116416 v 2.158993 c 0,0.07408 0.05292,0.127 0.116417,0.127 h 0.243415 c 0.0635,0 0.116417,-0.05292 0.116417,-0.127 z m 0.96308,0 c 0,-0.0635 -0.05292,-0.116416 -0.116416,-0.116416 h -0.243416 c -0.0635,0 -0.116416,0.05292 -0.116416,0.116416 v 2.158993 c 0,0.07408 0.05292,0.127 0.116416,0.127 h 0.243416 c 0.0635,0 0.116416,-0.05292 0.116416,-0.127 z m 0.96308,0 c 0,-0.0635 -0.05292,-0.116416 -0.116416,-0.116416 h -0.243416 c -0.0635,0 -0.116416,0.05292 -0.116416,0.116416 v 2.158993 c 0,0.07408 0.05292,0.127 0.116416,0.127 h 0.243416 c 0.0635,0 0.116416,-0.05292 0.116416,-0.127 z m 0.486832,2.719908 c 0,0.179916 -0.105833,0.285749 -0.127,0.285749 h -3.122073 c -0.02117,0 -0.127,-0.105833 -0.127,-0.285749 v -3.555989 h 3.376073 z m -2.529409,-4.04282 0.179917,-0.433916 c 0.01058,-0.02117 0.05292,-0.04233 0.07408,-0.04233 h 1.185329 c 0.02117,0 0.05292,0.02117 0.0635,0.04233 l 0.179916,0.433916 z m 3.492489,0.116416 c 0,-0.0635 -0.0635,-0.116416 -0.126999,-0.116416 h -1.164163 l -0.264583,-0.624415 c -0.07408,-0.179916 -0.296332,-0.338666 -0.497415,-0.338666 h -1.195913 c -0.201082,0 -0.433915,0.15875 -0.507998,0.338666 l -0.264583,0.624415 h -1.153579 c -0.0635,0 -0.116416,0.05292 -0.116416,0.116416 v 0.243416 c 0,0.07408 0.05292,0.126999 0.116416,0.126999 h 0.359832 v 3.566572 c 0,0.412749 0.275166,0.751415 0.603248,0.751415 h 3.122073 c 0.328083,0 0.603249,-0.349249 0.603249,-0.761998 v -3.555989 h 0.359832 c 0.0635,0 0.126999,-0.05292 0.126999,-0.126999 z"
style="stroke-width:0.264583"
id="path857" />
</g>
</g>
<g
inkscape:label="EXIT"
inkscape:groupmode="layer"
id="g864"
style="display:inline">
<g
aria-label=""
id="text872"
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
transform="matrix(12.751688,0,0,12.751688,-203.60685,-612.59669)">
<path
d="m 24.358506,49.383417 c 0.243416,0 0.455082,0.08467 0.624414,0.253999 0.169333,0.169333 0.264583,0.380999 0.264583,0.634998 v 6.159481 c 0,0.253999 -0.09525,0.465665 -0.264583,0.634998 -0.169332,0.169332 -0.380998,0.253999 -0.624414,0.253999 h -6.159481 c -0.253999,0 -0.465665,-0.08467 -0.634998,-0.253999 -0.169333,-0.169333 -0.253999,-0.380999 -0.253999,-0.634998 v -1.756828 h 0.888997 v 1.756828 h 6.159481 v -6.159481 h -6.159481 v 1.756828 h -0.888997 v -1.756828 c 0,-0.253999 0.07408,-0.465665 0.243416,-0.634998 0.169333,-0.169333 0.380999,-0.253999 0.645581,-0.253999 z m -3.926405,5.535066 1.132414,-1.132413 h -4.254487 v -0.867831 h 4.254487 l -1.132414,-1.15358 0.624415,-0.624414 2.21191,2.211909 -2.21191,2.21191 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.5833px;font-family:'Inconsolata Nerd Font';-inkscape-font-specification:'Inconsolata Nerd Font, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;stroke-width:0.264583"
id="path874" />
</g>
</g>
<g
inkscape:label="LOOP"
inkscape:groupmode="layer"
@ -82,7 +116,7 @@
inkscape:label="STOP"
inkscape:groupmode="layer"
id="g854"
style="display:inline">
style="display:none">
<g
aria-label="ﲢ"
id="text852"

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@ -76,6 +76,7 @@ def main():
button_color=(sg.theme_background_color(), sg.theme_background_color()),
border_width=0,
enable_events=True,
#bind_space_key=True,
key="REC"),
sg.Button(
image_data=convert_to_bytes('assets/button_STOP.png', (40, 40)),
@ -92,7 +93,17 @@ def main():
key="LOOP")
],
[sg.Image(filename="", key="-IMAGE-")],
[sg.Button("Flush", size=(10, 1)), sg.Button("Exit", size=(10, 1))]
[sg.Button(
image_data=convert_to_bytes('assets/button_FLUSH.png', (40,40)),
button_color=(sg.theme_background_color(), sg.theme_background_color()),
border_width=0,
key="Flush"),
sg.Button(
image_data=convert_to_bytes('assets/button_EXIT.png', (40,40)),
button_color=(sg.theme_background_color(), sg.theme_background_color()),
border_width=0,
key="Exit")
]
]
# create window

Loading…
Cancel
Save