annotate lwlib/lwlib-Xlw.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_XLW_H
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #define LWLIB_XLW_H
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3
5627
7ff2d6076466 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 5626
diff changeset
4 #include "lwlib-int.h"
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 extern widget_creation_entry xlw_creation_table [];
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 extern widget_creation_function xlw_create_dialog;
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 Boolean
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
10 lw_lucid_widget_p (/* Widget widget */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 void
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
13 xlw_update_one_widget (/* widget_instance* instance, Widget widget,
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
14 widget_value* val, Boolean deep_p */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 void
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
17 xlw_update_one_value (/* widget_instance* instance, Widget widget,
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
18 widget_value* val */);
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 void
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
21 xlw_destroy_instance (/* widget_instance* instance */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 void
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
24 xlw_pop_instance (/* widget_instance* instance, Boolean up */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 void
5707
118a6ad56ae0 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 5627
diff changeset
27 xlw_popup_menu (/* Widget widget */);
5626
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
93bb7e0935ba Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 #endif /* LWLIB_XLW_H */