|
NAMEXmtRegisterImprovedIcons() - replace the standard error, warning and information icons with larger ``improved'' icons. SYNOPSIS#include <Xmt/Pixmap.h>
void XmtRegisterImprovedIcons(Widget w, XmtColorTable table) ARGUMENTSINPUTS DESCRIPTIONXmtRegisterImprovedIcons() replaces the standard Motif error, warning and information icons by calling XmInstallImage() to register larger, multi-color icons with the names xm_error, xm_warning, and xm_information. Any error, warning or information dialog created after this function is called will use the new icons. The ``improved'' icons are defined as XPM data and are converted to XImage structures using the symbolic color definitions of the color table table. The new icons use only the ``standard'' symbolic color names defined by XmtRegisterStandardColors(), so you can usually specify NULL for table and rely on the default application color table. Note that the ``improved'' icons are multi-plane color pixmaps. Since the XmMessageBox widget cannot display non-rectangular icons, these color icons are inappropriate for any XmMessageBox widget that has a background color different than the background color specified in table. SEE ALSOChapter 4, Using Color,
|