view lwlib/lwlib-Xol.h @ 14948:044a7dcbeb06

(gomoku-click): Position on nearest square. Adapt keymap accordingly. (gomoku-mouse-play): Use it to play nearest to mouse click. (gomoku-terminate-game): Factorize messages. (gomoku): Allow interactive passing of board size. Don't make a fuss about restarting a game that hasn't progressed. (gomoku-offer-a-draw): Give user the choice it pretended to give. (gomoku-point-x): Deleted function. (gomoku-point-y, gomoku-point-square): Simplified because point is always on a square. (gomoku-goto-xy, gomoku-plot-square): Fix line count due to intangible newlines. (gomoku-init-display): Once again fairly fast due to minimization of characters in buffer and text-property operations. Cursor cannot be be off a square. (gomoku-display-statistics): Simplified equivalently. (gomoku-winning-qtuple-beg, gomoku-winning-qtuple-end) (gomoku-winning-qtuple-dx, gomoku-winning-qtuple-dy): Pseudo variables only used for non-functional argument passing deleted. (gomoku-cross-winning-qtuple): Accordingly deleted function and (gomoku-check-filled-qtuple): Accordingly adapted. (gomoku-cross-qtuple): Don't be confused by tabs. (gomoku-move-down, gomoku-move-up): Simplified because point is always on square. (gomoku-beginning-of-line, gomoku-end-of-line): New commands necessary because intangible newlines perverted these.
author Richard M. Stallman <rms@gnu.org>
date Fri, 05 Apr 1996 19:38:42 +0000
parents f999ebca00da
children
line wrap: on
line source

#ifndef LWLIB_XOL_H
#define LWLIB_XOL_H

#include "lwlib-int.h"

extern widget_creation_entry xol_creation_table [];
extern Widget xol_create_dialog (widget_instance *);

Boolean
lw_olit_widget_p (Widget widget);

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

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

void
xol_destroy_instance (widget_instance* instance);

void
xol_pop_instance (widget_instance* instance, Boolean up);

void
xol_popup_menu (Widget widget);

#endif /* LWLIB_XOL_H */