Icon bar Sprite for Application
Alan Robertson (52) 420 posts |
When writing an App and displaying the icon on the icon bar, the WimpManager allows two different methods:
The Style Guide does not seem to specifically mention which method to use. Is there a definitive method one should use? Or is it okay to choose whichever one best suits the developer? |
Andrew Conroy (370) 740 posts |
If your iconbar icon is the same as your filer application icon, then I think you might as well use the Wimp sprite pool as it’s already there, otherwise I think it’s considered good practice to use a private sprite area to avoid ‘pollutng’ the Wimp pool with too many icons. I await being corrected by those who (always) know better though. |
Steve Fryatt (216) 2107 posts |
What Andrew says. If the icon isn’t using your application sprite, for which you’ll get a “free” name registration as part of your AppName allocation, then to use the Wimp Pool you’ll need to allocate the names of the sprites that you plan to use via Allocate — there’s a WimpSprite option for doing this. If the sprites aren’t generally useful in the way that your main application icon is, then it’s less anti-social to put them in your own area. |
Alan Robertson (52) 420 posts |
Thanks for the answers. Seems like I’m okay to use either method, with a slight preference to using the Wimp Pool if just using my Applications Filer icon as icon bar Sprite. |