Re: How to add a badge to an icon?
Roland Hughes via Foxgui-users <[email protected]> Fri, 3 Jan 2025 07:38:54 -0600
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
Traditionally you use a graphics tool, create 2 different icons, then use the appropriate icon. This is irregardless (never should have banned that word!) of the graphics library you are using. The left-handed-you-must-have-been-drunk-on-a-Tuesday method is create two icons of the exact same size and place them in the exact same position. One icon will be at least 50% transparent so when placed on top you can still see some of the other below. On 1/3/25 06:20, Jean Truc wrote: > Hi folks, > > in an icon list, I'd like to add badges to icons. For example, if a > file is a link, I'd like to add a link sign to the file icon. Or if a > file is important, some attention badge could be added to the file icon. > > My problem probably comes down to: how do I dynamically mix two icons > (badge icon over file icon)? > > Thanks for any help or idea, > JT > > > _______________________________________________ > Foxgui-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/foxgui-users -- Roland Hughes, President Logikal Solutions (630)-205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog