addIcon(pName,pSVG,pCodepoint) Where is the icon?
Brian Milby
brian at milby7.com
Thu Oct 17 09:41:34 EDT 2024
In short, yes your will need to add icons each launch of the IDE / app.
I was going to suggest looking at SvgIconTool after your first post but realized I only moved entire families of icons and did not use the individual icon function.
One way would be to create a family of any custom icons (or just add to an existing) and then export the family. Restoring the family on launch would get your icons back. The export is an array that you can encode/save then reverse process to restore.
Hope this at least gives you an idea.
Brian Milby
brian at milby7.com
> On Oct 17, 2024, at 9:12 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi all,
>
> yesterday I successfully added a custom SVG icon via:
> ...
> get addicon("fontawesome/metronom",tPath,0)
> ...
>
> Today I opened the stack where i used that icon and it is gone?
>
> Do I need to save the icon/library somehow?
> Or what can/need I do to have this icon "stick" in the library and
> appear again in my stack permanently?
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list