view lwlib/lwlib-utils.h @ 17015:fe0b3661b584

(direct_output_forward_char): #if-0-out redundant check against truncated text at end of line. Add giving-up for buffers with reverse direction. (remake_frame_glyphs): Use FRAME_MESSAGE_BUF_SIZE() instead of FRAME_WIDTH, as the message may include multi-byte character and the length may be longer than width. (width_run_cache_on_off): Disable width-run-cache when multi-byte characters are enabled. (skip_invisible): Don't put the boundary in the middle of multibyte characters. (direct_output_forward_char): Bug fix. Add XFASTINT (w->left) for losing cursor check. Include charset.h. (update_line): Handle wide-column characters.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Feb 1997 06:35:00 +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_ */