projects
/
reversi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r4307: Auto commit for Debian build
[reversi.git]
/
io-clim.lisp
diff --git
a/io-clim.lisp
b/io-clim.lisp
index 78775ded4a0e29dbd134490ffb1b889d574965e1..da52b7a184ce731de730b0dcf9a44a6508011e85 100644
(file)
--- a/
io-clim.lisp
+++ b/
io-clim.lisp
@@
-8,7
+8,7
@@
;;;; Programer: Kevin M. Rosenberg
;;;; Date Started: 1 Nov 2001
;;;;
;;;; Programer: Kevin M. Rosenberg
;;;; Date Started: 1 Nov 2001
;;;;
-;;;; $Id: io-clim.lisp,v 1.
3 2002/10/25 13:09:1
1 kevin Exp $
+;;;; $Id: io-clim.lisp,v 1.
6 2003/04/01 17:53:5
1 kevin Exp $
;;;;
;;;; This file is Copyright (c) 2001-2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file is Copyright (c) 2001-2002 by Kevin M. Rosenberg
;;;;
@@
-40,7
+40,7
@@
id name searcher eval ply strategy start-time
searcher-id eval-id)
id name searcher eval ply strategy start-time
searcher-id eval-id)
-(defun make-gui-player (&key id name strategy searcher-id eval-id
ply
)
+(defun make-gui-player (&key id name strategy searcher-id eval-id
(ply 0)
)
(let ((p (make-gui-player-struct :id id :ply ply
:name name :strategy strategy
:searcher-id searcher-id :eval-id eval-id))
(let ((p (make-gui-player-struct :id id :ply ply
:name name :strategy strategy
:searcher-id searcher-id :eval-id eval-id))
@@
-198,11
+198,11
@@
reversi-help-table)
:menu (("Game"
:menu reversi-game-table
reversi-help-table)
:menu (("Game"
:menu reversi-game-table
- :
mnemonic
#\G
+ :
keystroke
#\G
:documentation "Game commands")
("Help"
:menu reversi-help-table
:documentation "Game commands")
("Help"
:menu reversi-help-table
- :
mnemonic
#\H
+ :
keystroke
#\H
:documentation "Help Commands"))))
(:menu-bar t)
(:layouts
:documentation "Help Commands"))))
(:menu-bar t)
(:layouts
@@
-247,7
+247,7
@@
record stream state)
state
(multiple-value-bind (xoff yoff)
record stream state)
state
(multiple-value-bind (xoff yoff)
- (convert-from-relative-to-absolute-coordinates
+ (c
lim::c
onvert-from-relative-to-absolute-coordinates
stream (output-record-parent record))
(with-bounding-rectangle* (left top right bottom) record
(draw-rectangle* stream
stream (output-record-parent record))
(with-bounding-rectangle* (left top right bottom) record
(draw-rectangle* stream
@@
-671,7
+671,8
@@
(+ label-height (* cell-height i)
half-cell-inner-height))
:align-x :left :align-y :center))
(+ label-height (* cell-height i)
half-cell-inner-height))
:align-x :left :align-y :center))
- (stream-set-cursor-position stream label-width label-height)
+ (setf (stream-set-cursor-position stream)
+ (values label-width label-height))
(surrounding-output-with-border (stream)
(formatting-table (stream :y-spacing 0 :x-spacing 0)
(dotimes (row 8)
(surrounding-output-with-border (stream)
(formatting-table (stream :y-spacing 0 :x-spacing 0)
(dotimes (row 8)