diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-12-03 15:25:21 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-12-15 06:57:28 +0100 |
commit | 918c589c657be0c0885610d2eaafcd21a3ab1ba9 (patch) | |
tree | 81b5d4429c9fd5f543192635443e8a12728bdf0c /xT/xT.svg | |
parent | 21095a11d60ef7c1a2d72dca60f90faf640965e6 (diff) | |
download | xK-918c589c657be0c0885610d2eaafcd21a3ab1ba9.tar.gz xK-918c589c657be0c0885610d2eaafcd21a3ab1ba9.tar.xz xK-918c589c657be0c0885610d2eaafcd21a3ab1ba9.zip |
Add a Qt Widgets frontend to xC
This is very much a work in progress, though functional.
Qt Widgets are basically non-working on Android,
though Qt Quick requires a radically different approach.
Diffstat (limited to 'xT/xT.svg')
-rw-r--r-- | xT/xT.svg | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/xT/xT.svg b/xT/xT.svg new file mode 100644 index 0000000..0dd85bc --- /dev/null +++ b/xT/xT.svg @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg version="1.1" width="48" height="48" viewBox="0 0 48 48" + xmlns="http://www.w3.org/2000/svg"> + + <defs> + <radialGradient id="grey-x"> + <stop stop-color="hsl(66, 0%, 90%)" offset="0" /> + <stop stop-color="hsl(66, 0%, 80%)" offset="1" /> + </radialGradient> + <radialGradient id="orange"> + <stop stop-color="hsl(36, 100%, 60%)" offset="0" /> + <stop stop-color="hsl(23, 100%, 60%)" offset="1" /> + </radialGradient> + <filter id="shadow" x="-50%" y="-50%" width="200%" height="200%"> + <feDropShadow dx="0" dy="0" stdDeviation="0.05" + flood-color="rgba(0, 0, 0, .5)" /> + </filter> + </defs> + + <!-- XXX: librsvg screws up shadows on rotated objects. --> + <g filter="url(#shadow)" transform="translate(24 28) rotate(-45) scale(16)"> + <path fill="url(#grey-x)" stroke="hsl(66, 0%, 30%)" stroke-width="0.1" + d="M-.25 -1 H.25 V-.25 H1 V.25 H.25 V1 H-.25 V.25 H-1 V-.25 H-.25 Z" /> + </g> + <g filter="url(#shadow)" transform="translate(24 3) scale(16)"> + <path fill="url(#orange)" stroke="hsl(36, 100%, 20%)" stroke-width="0.1" + d="M-.8 0 H.8 V.5 H.25 V2.625 H-.25 V.5 H-.8 Z" /> + </g> +</svg> |