mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
* Make double-clicking on the titlebar work * We don't actually need this * Draw a Restore icon when the window is Maximized * Update React State when BrowserWindow changes behind our back * Cleanup * Don't show the border if the window is maximized * Fight with the linter
61 lines
3.3 KiB
XML
61 lines
3.3 KiB
XML
<svg display="none" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<defs>
|
|
<symbol id="close-tab" viewBox="0 0 24 24">
|
|
<title>close tab</title>
|
|
<g><path d='M13.1919001,11.9997324 L23.7528721,22.5607045 C24.0822321,22.8904941 24.0822321,23.4241533 23.7528721,23.7526581 C23.4235121,24.0824473 22.8898521,24.0824473 22.5609201,23.7526581 L11.999948,13.1916857 L1.43897601,23.7526581 C1.109612,24.0824473 0.575952002,24.0824473 0.247020001,23.7526581 C-0.0823400003,23.4237253 -0.0823400003,22.8900657 0.247020001,22.5607045 L10.80842,11.9997324 L0.247020001,1.43961681 C-0.0823400003,1.110684 -0.0823400003,0.576168002 0.247020001,0.247663201 C0.576384002,-0.0825544003 1.11004,-0.0825544003 1.43897601,0.247663201 L11.999948,10.8082072 L22.5609201,0.247663201 C22.8902801,-0.0825544003 23.4239401,-0.0825544003 23.7528721,0.247663201 C24.0822321,0.576596002 24.0822321,1.111112 23.7528721,1.43961681 L13.1919001,11.9997324 L13.1919001,11.9997324 L13.1919001,11.9997324 Z'></path></g>
|
|
</symbol>
|
|
<symbol id="hamburger-menu" viewBox="0 0 10 10">
|
|
<title>hamburger menu</title>
|
|
<rect y="0.5" width="10" height="1" fill="currentColor"/>
|
|
<rect y="4.5" width="10" height="1" fill="currentColor"/>
|
|
<rect y="8.5" width="10" height="1" fill="currentColor"/>
|
|
</symbol>
|
|
<symbol id="minimize-window" viewBox="0 0 10 10">
|
|
<title>minimize window</title>
|
|
<g fill="none" fill-rule="evenodd">
|
|
<polygon points="0 0 10 0 10 10 0 10"/>
|
|
<path stroke="currentColor" d="M9.5,5 L0.5,5" stroke-linecap="square"/>
|
|
</g>
|
|
<g fill="none" fill-rule="evenodd">
|
|
<polygon points="0 0 10 0 10 10 0 10"/>
|
|
<rect width="10" height="1" y="4.5" fill="currentColor"/>
|
|
</g>
|
|
</symbol>
|
|
<symbol id="maximize-window" viewBox="0 0 10 10">
|
|
<title>maximize window</title>
|
|
<defs>
|
|
<polygon id="maximize-window-a" points="0 0 10 0 10 10 0 10"/>
|
|
<mask id="maximize-window-b" width="10" height="10" x="0" y="0">
|
|
<use xlink:href="#maximize-window-a"/>
|
|
</mask>
|
|
</defs>
|
|
<g fill="none" fill-rule="evenodd">
|
|
<polygon fill="none" points="0 0 10 0 10 10 0 10"/>
|
|
<use stroke="currentColor" stroke-width="2" mask="url(#maximize-window-b)" xlink:href="#maximize-window-a"/>
|
|
</g>
|
|
</symbol>
|
|
<symbol id="restore-window" viewBox="0 0 10.2 10.2">
|
|
<title>restore window</title>
|
|
<defs>
|
|
<mask id="restore-window-b" width="10.2" height="10.2" x="0" y="0">
|
|
<use xlink:href="#restore-window-a"/>
|
|
</mask>
|
|
</defs>
|
|
<g fill="none" fill-rule="evenodd">
|
|
<path fill="currentColor"
|
|
d='M2.1,0v2H0v8.1h8.2v-2h2V0H2.1z M7.2,9.2H1.1V3h6.1V9.2z M9.2,7.1h-1V2H3.1V1h6.1V7.1z' />
|
|
<use stroke="currentColor" xlink:href="#restore-window-a"/>
|
|
</g>
|
|
</symbol>
|
|
<symbol id="close-window" viewBox="0 0 10 10">
|
|
<title>close window</title>
|
|
<g fill="none" fill-rule="evenodd">
|
|
<g stroke="currentColor" transform="translate(.25 .25)" stroke-linecap="square">
|
|
<path d="M0.5,0.5 L9,9"/>
|
|
<path d="M0.5,0.5 L9,9" transform="matrix(-1 0 0 1 9.5 0)"/>
|
|
</g>
|
|
<polygon points="0 0 10 0 10 10 0 10"/>
|
|
</g>
|
|
</symbol>
|
|
</defs>
|
|
</svg>
|