forked from Blendman974/faceclaw
Even store integration
This commit is contained in:
1 parent
5cd61da362
commit
add8763028
16 files changed
+737
-56
No files matched your search
@@ -143,6 +143,11 @@ export function renderIcon(name: IconName, size: number): GrayImage | null {
|
||||
return renderSvgCached(name, ICON_SVGS[name], size);
|
||||
}
|
||||
|
||||
/** Render an app-provided SVG using the same small renderer and cache. */
|
||||
export function renderSvgIcon(cacheName: string, svg: string, size: number): GrayImage | null {
|
||||
return renderSvgCached(`custom:${cacheName}`, svg, size);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render an icon with a glyph character substituted in — currently only the
|
||||
* terminal icon, whose "_" becomes the glyph (">3" instead of ">_"). Falls
|
||||
|
||||
Reference in new issue
Block a user