X11 Work Bench Toolkit 1.0
|The width of the returned pixmaps. |
|height of the returned pixmaps |
|depth of the returned 'image' pixmap. The mask pixmap always has a depth of '1'. |
Compatibility structure for use with MyLoadPixmapFromData() whenever libXpm is not in use.
When libXpm is in use, XPM_ATTRIBUTES becomes a #define for XpmAttributes, the structure used by XpmCreatePixmapFromData(). Because so many elements are not needed, MyLoadPixmapFromData() uses this scaled-down version whenever libXpm is not being used by the library.
The configure option "–enable-libXpm" forces linkage with libXpm. Note that this is NOT the default option, since performance is adversely affected when using libXpm. However, for 100% compatibility, it may be necessary to use libXpm as MyLoadPixmapFromData() has not been tested on all platforms.
When libXpm is NOT in use, the follow structure is defined:
When libXpm IS in use, the following macro is defined:
In summary, this structure is a scaled-down version of the standard X11 structure 'XpmAttributes', and is defined ONLY when libXpm is not in use (based on the configure script). Only those structure members that are needed by this toolkit have been defined in the scaled-down version.
For more information, see MyLoadPixmapFromData()