addIcon issue

Mike Kerner MikeKerner at roadrunner.com
Sun Aug 21 08:45:12 EDT 2022


I have an svg widget that draws correctly, so I'm trying to add it to the
library, but addIcon does not seem to be working.
After calling addIcon, I try to search for the icon, but it does not appear
in the icon picker, and adding it by name does not work, either.
Here's the line:
get addIcon("test","m 13,21.59 -4.29,-4.3 -1.42,1.42 5,5 a 1,1 0 0 0 1.41,0
l 13,-13 -1.41,-1.42 z M 25,0 H 7 A 7,7 0 0 0 0,7 v 18 a 7,7 0 0 0 7,7 h 18
a 7,7 0 0 0 7,-7 V 7 A 7,7 0 0 0 25,0 Z m 5,25 a 5,5 0 0 1 -5,5 H 7 A 5,5 0
0 1 2,25 V 7 A 5,5 0 0 1 7,2 h 18 a 5,5 0 0 1 5,5 z",0)


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


More information about the use-livecode mailing list