Enhancing your applications : Extending the parts palette : Preparing images : Preparing a resource DLL for UNIX systems

Preparing a resource DLL for UNIX systems
For Linux (UNIX):
This section applies only to VA Smalltalk for UNIX systems.
The UNIX operating system does not directly support resource DLLs. If you are building applications for UNIX only, you can build your icons using an icon editor and use them directly in VA Smalltalk by specifying the file name in the appropriate settings view.
If you are building an application for deployment on multiple platforms, you can take advantage of the same icon mapping facility that VA Smalltalk uses to provide portability. To exploit this mapping facility, do the following:
1.
2.
icon 800 MiscIcon/athltcat.ico
icon 801 MiscIcon/runner.ico
icon 802 MiscIcon/world.ico
Put this file in the VA Smalltalk (startup) directory or in a directory specified in the bitmapPath path in your abt.ini file. VA Smalltalk uses this file to locate your actual icon files.
3.
bitmapPath=/home/guest/myicons:/home/guest/mybitmaps
When VA Smalltalk needs to access icon 801 in the userpal module, it searches as follows:
a.
b.
c.
 
Note:
When an OS/2 icon file contains multiple formats, VA Smalltalk selects the largest format available (normally 40 by 40). When an icon or bitmap cannot be found, VA Smalltalk uses a solid white icon or bitmap instead.
You can include icons and bitmaps in the same DLL and mapping file.