mirror of
https://github.com/koreader/koreader
synced 2024-11-18 03:25:46 +00:00
24424e505e
- Add IconWidget, use it for icons instead of ImageWidget. Specify icons by name only, look for them (with either .svg or .png suffixes) in multiple directories (including koreader/settings/icons/ to allow customizing them). Don't crash when icon name not found, shown a black background warning icon instead. - Don't trust the icons' native sizes: replace scale_for_dpi=true with width/height=DGENERIC_ICON_SIZE, so all icons get the same (tunable) size - except in a few specific use cases. - Top and bottom menu bars: normalize, and have icons properly centered in them, extend vertical line separators up to the edges. - TOC: adjust expand/collapse icons size to items size
70 lines
2.3 KiB
XML
70 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<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"
|
|
version="1.1"
|
|
width="48"
|
|
height="48"
|
|
viewBox="0 0 48 48"
|
|
enable-background="new 0 0 24.00 24.00"
|
|
xml:space="preserve"
|
|
id="svg4"
|
|
sodipodi:docname="icon-not-found.svg"
|
|
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
|
inkscape:export-xdpi="48"
|
|
inkscape:export-ydpi="48"><sodipodi:namedview
|
|
pagecolor="#ffffff"
|
|
bordercolor="#666666"
|
|
borderopacity="1"
|
|
objecttolerance="10"
|
|
gridtolerance="10"
|
|
guidetolerance="10"
|
|
inkscape:pageopacity="0"
|
|
inkscape:pageshadow="2"
|
|
inkscape:window-width="1914"
|
|
inkscape:window-height="932"
|
|
id="namedview8"
|
|
showgrid="true"
|
|
inkscape:zoom="15.3125"
|
|
inkscape:cx="24"
|
|
inkscape:cy="24"
|
|
inkscape:window-x="0"
|
|
inkscape:window-y="126"
|
|
inkscape:window-maximized="0"
|
|
inkscape:current-layer="svg4"
|
|
inkscape:document-rotation="0"><inkscape:grid
|
|
type="xygrid"
|
|
id="grid13"
|
|
originx="0"
|
|
originy="0"
|
|
empspacing="4" /></sodipodi:namedview><metadata
|
|
id="metadata10"><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 /></cc:Work></rdf:RDF></metadata><defs
|
|
id="defs8" />
|
|
<rect
|
|
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:2"
|
|
id="rect830"
|
|
width="144"
|
|
height="144"
|
|
x="0"
|
|
y="0" />
|
|
<path
|
|
style="fill:none;stroke:#FFFFFF;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
d="M 24,15 V 30.333333"
|
|
id="path840"
|
|
sodipodi:nodetypes="cc" /><path
|
|
style="fill:none;stroke:#FFFFFF;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
d="M 24,33.666666 V 36"
|
|
id="path850"
|
|
sodipodi:nodetypes="cc" /><path
|
|
style="fill:none;stroke:#FFFFFF;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
|
d="M 43.43746,40 H 4.56254 L 24,6.3333333 Z"
|
|
id="path853" />
|
|
</svg>
|