view lwlib/lwlib-utils.h @ 24841:d2d412758428

(clear_cached_bitmap_slots): Remove. (get_bitmap_with_cache): Check if CreateBitmap failed. Adjust cache size dynamically so cache is never larger than the system limit of GDI resources. Do cache clearing inline. Move global variables to local scope.
author Jason Rumney <jasonr@gnu.org>
date Sun, 13 Jun 1999 17:49:12 +0000
parents 118a6ad56ae0
children 6ed38ee607e9
line wrap: on
line source

#ifndef _LWLIB_UTILS_H_
#define _LWLIB_UTILS_H_

void XtNoClearRefreshWidget (/* Widget */);

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

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

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

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

void XtSafelyDestroyWidget (/* Widget */);

#endif /* _LWLIB_UTILS_H_ */