view lwlib/lwlib-Xm.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 3b584c9b5e4a
children 6ed38ee607e9
line wrap: on
line source

#ifndef LWLIB_XM_H
#define LWLIB_XM_H

#include "lwlib-int.h"

extern widget_creation_entry xm_creation_table [];

Widget 
xm_create_dialog (/* widget_instance* instance */);

Boolean
lw_motif_widget_p (/* Widget widget */);

void
xm_update_one_widget (/* widget_instance* instance, Widget widget,
		      widget_value* val, Boolean deep_p */);

void
xm_update_one_value (/* widget_instance* instance, Widget widget,
		     widget_value* val */);

void
xm_destroy_instance (/* widget_instance* instance */);

void
xm_set_keyboard_focus (/* Widget parent, Widget w */);

void
xm_popup_menu (/* Widget widget */);

void
xm_pop_instance (/* widget_instance* instance, Boolean up */);

void
xm_set_main_areas (/* Widget parent, Widget menubar, Widget work_area */);

void
xm_manage_resizing (/* Widget w, Boolean flag */);

#endif /* LWLIB_XM_H */