add to icon family?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

add to icon family?

Post by jameshale » Wed Mar 29, 2023 5:50 pm

Hi all,

Is it possible to add an svg icon to the icon family so that it gets included in a standalone?

I have made/modified some icons and used the tools on revshare to create a family which I can use in the IDE to populate the header and navigation bar widgets.
However they aren't included when I build a standalone.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9567
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: add to icon family?

Post by dunbarx » Wed Mar 29, 2023 6:07 pm

James.

I never use icons.

There is an icon svg library. Can't you add any new icon to that library, and include it in the standalone settings?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: add to icon family?

Post by richmond62 » Wed Mar 29, 2023 6:23 pm

It would be very interesting if someone could explain just how
one might go about importing SVG images into this:
-
SShot 2023-03-29 at 20.18.08.png
-
There is no sign of any sort of IMPORT button or otherwise.

Come to think of things, it would be quite interesting to know where
the 'standard' SVG icons are stored.

Certainly if they are, somehow, derived from a font, there is probably no way
one can add anything to them.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: add to icon family?

Post by jacque » Thu Mar 30, 2023 6:27 pm

If I remember right you can use addIconFamily from the message box to add your custom family to the stack. Then be sure you have included the SVG library in standalone inclusions.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: add to icon family?

Post by jameshale » Fri Mar 31, 2023 3:09 am

I read the dictionary entry for this but cannot understand how to use it, as far as I can gather it adds to the families available in the IDE only

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 474
Joined: Thu Sep 04, 2008 6:23 am
Location: Melbourne Australia

Re: add to icon family?

Post by jameshale » Fri Mar 31, 2023 11:24 am

Got it, thanks to Panos.
Well this solution adds it to the stack so it can be used.
Mentioned in this lesson: https://livecode.com/polylist-widget-in-the-spotlight/
In the comments.
Needs to be in opencard.

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”