view lwlib/lwlib-utils.h @ 53096:0393f4b21967

(init_iterator): Initialize it->start to position before reseating (in case start position is invisible). (init_to_row_start): Set it->start to row-start. (redisplay_window): Accept optional_new_start if start position is invisible (in which case IT_CHARPOS overshoots PT). (display_line): Setup row->start from it->start (rather than it->current which is wrong if first char on line is invisible). When done, reseat it->start to it->current (= start of next row). (expose_area): Fix exposure of text area when first char (e.g. TAB) is only partially visible.
author Kim F. Storm <storm@cua.dk>
date Tue, 18 Nov 2003 23:44:11 +0000
parents 695cf19ef79e
children 375f2633d815 e16f43875a48
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_ */

/* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809
   (do not change this comment) */