This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Tinderbox File Types : Configuration Files : Custom badge artwork||aTbRef Site Map|
Custom badge artwork
Tinderbox includes about fifty badges. However, these can be added to by configuring extra user badges.
Creating a custom icon
badge is packaged as a Mac OS X icon file (extension ICNS). An icon file can include multiple images with different resolutions. These images are used by the operating system to render the icon at different sizes depending on the application context. Tinderbox supports badge images with resolutions of 48x48 pixels, 32x32 pixels or 16x16 pixels. There's nothing to stop you including larger sizes, but Tinderbox, as yet, won't use such sizes (but everything tends to get bigger over time!). The source of an image can be a vector graphic exported in a bitmap format such as JPEG or TIFF, or any bitmap with an image mask.
To package the icon file on Mac OS X, use an icon composer application such as IconBuilder and import the images (the 48x48 image is enough and small notes will show a scaled-down image). There are other commercial and free icon composer applications but note that the application Icon Composer included in the Apple Xcode Developer Tools does not seem to create an icon file compatible with Tinderbox.
Saving Icons to Tinderbox Configuration Directory
Tinderbox looks for user icons in the user's directory:
The /badges/ directory is not automatically created by Tinderbox on installation, so simply create it manually (N.B. name is case-sensitive).
|Up: Configuration Files|
|Previous: config.xml||Next: html_helpers.xml|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]