view lwlib/lwlib-utils.h @ 31761:d9efa91b06ab

(xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color symbols are specified, add color translations to the cache. (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New functions. (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and xpm_cache_color. (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes structures to xpm_init_color_cache.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 20 Sep 2000 10:59:45 +0000
parents 6ed38ee607e9
children 695cf19ef79e
line wrap: on
line source

#ifndef _LWLIB_UTILS_H_
#define _LWLIB_UTILS_H_

void XtNoClearRefreshWidget __P ((Widget));

typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer));
typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer));

void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer));
void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer));

Widget *XtCompositeChildren __P ((Widget, unsigned int *));

/* returns True is the widget is being destroyed, False otherwise */
Boolean
XtWidgetBeingDestroyedP __P ((Widget widget));

void XtSafelyDestroyWidget __P ((Widget));

#endif /* _LWLIB_UTILS_H_ */