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 |
rev |
line source |
5626
|
1 #ifndef _LWLIB_UTILS_H_
|
|
2 #define _LWLIB_UTILS_H_
|
|
3
|
5707
|
4 void XtNoClearRefreshWidget (/* Widget */);
|
5626
|
5
|
5707
|
6 typedef void (*XtApplyToWidgetsProc) (/* Widget, XtPointer */);
|
|
7 typedef void* (*XtApplyUntilToWidgetsProc) (/* Widget, XtPointer */);
|
5626
|
8
|
5707
|
9 void XtApplyToWidgets (/* Widget, XtApplyToWidgetsProc, XtPointer */);
|
|
10 void *XtApplyUntilToWidgets (/* Widget, XtApplyUntilToWidgetsProc, XtPointer */);
|
5626
|
11
|
5707
|
12 Widget *XtCompositeChildren (/* Widget, unsigned int * */);
|
5626
|
13
|
|
14 /* returns True is the widget is being destroyed, False otherwise */
|
|
15 Boolean
|
5707
|
16 XtWidgetBeingDestroyedP (/* Widget widget */);
|
5626
|
17
|
5707
|
18 void XtSafelyDestroyWidget (/* Widget */);
|
5626
|
19
|
|
20 #endif /* _LWLIB_UTILS_H_ */
|