X-Git-Url: http://git.kpe.io/?p=reversi.git;a=blobdiff_plain;f=io-clim.lisp;h=61357dd081511da952d49430492473fda1b54d89;hp=e0146f5bb825bb0133edc486ae57fc19a75795cf;hb=970bffc5f1e6a294659016aec57f17c822dee8cc;hpb=87dee98916c658b89ed1a685562c403e3da530ef diff --git a/io-clim.lisp b/io-clim.lisp index e0146f5..61357dd 100644 --- a/io-clim.lisp +++ b/io-clim.lisp @@ -8,7 +8,7 @@ ;;;; Programer: Kevin M. Rosenberg ;;;; Date Started: 1 Nov 2001 ;;;; -;;;; $Id: io-clim.lisp,v 1.9 2003/04/03 16:29:52 kevin Exp $ +;;;; $Id: io-clim.lisp,v 1.10 2003/05/01 19:26:46 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2001-2002 by Kevin M. Rosenberg ;;;; @@ -19,6 +19,8 @@ (in-package :reversi) +#+mcclim (shadowing-import 'clim-internals::stream-set-cursor-position) + (defparameter cell-inner-width 40) (defparameter cell-inner-height 40) (defparameter half-cell-inner-width 20) @@ -675,10 +677,7 @@ (+ label-height (* cell-height i) half-cell-inner-height)) :align-x :left :align-y :center)) - (if (find-package 'mcclim) - (setf (stream-set-cursor-position stream) - (values label-width label-height)) - (stream-set-cursor-position stream label-width label-height)) + (stream-set-cursor-position stream label-width label-height) (surrounding-output-with-border (stream) (formatting-table (stream :y-spacing 0 :x-spacing 0) (dotimes (row 8)