annotate lwlib/lwlib-utils.h @ 25259:9f7a9dceb11b

Mostly rewritten. Customized. To support an s2G doomsday clock, speed control is added and changes are made to allow large numbers of rings: rings now show the whole ring number, not just the last digit; consecutive rings are allowed to be the same size when necessary to fit all the rings in the window; and poles can be oriented horizontally. Face support is thrown in gratuitously. (hanoi): Changed default number of rings back to 3. (hanoi-unix, hanoi-unix-64): New commands (hanoi-horizontal-flag, hanoi-move-period, hanoi-use-faces, hanoi-pole-face, hanoi-base-face, hanoi-even-ring-face, hanoi-odd-ring-face): New variables. (hanoi-internal, hanoi-current-time-float, hanoi-put-face, hanoi-n, hanoi-insert-ring, hanoi-goto-char, hanoi-sit-for, hanoi-ring-to-pos, hanoi-pos-on-tower-p): New functions. (hanoi-0): Renamed from hanoi0, for symmetry with hanoi-n. (hanoi-topos, hanoi-draw-ring): Removed.
author Karl Heuer <kwzh@gnu.org>
date Sat, 14 Aug 1999 03:24:48 +0000
parents 118a6ad56ae0
children 6ed38ee607e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #ifndef _LWLIB_UTILS_H_
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #define _LWLIB_UTILS_H_
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
4 void XtNoClearRefreshWidget (/* Widget */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
6 typedef void (*XtApplyToWidgetsProc) (/* Widget, XtPointer */);
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
7 typedef void* (*XtApplyUntilToWidgetsProc) (/* Widget, XtPointer */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
9 void XtApplyToWidgets (/* Widget, XtApplyToWidgetsProc, XtPointer */);
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
10 void *XtApplyUntilToWidgets (/* Widget, XtApplyUntilToWidgetsProc, XtPointer */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
12 Widget *XtCompositeChildren (/* Widget, unsigned int * */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 /* returns True is the widget is being destroyed, False otherwise */
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 Boolean
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
16 XtWidgetBeingDestroyedP (/* Widget widget */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
18 void XtSafelyDestroyWidget (/* Widget */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 #endif /* _LWLIB_UTILS_H_ */