Re: [Sbcl-help] Re: Type error with sbcl-0.8.2 and clx_0.5.1

Christophe Rhodes <[email protected]> Fri, 08 Aug 2003 09:08:01 +0100
Newsgroups gmane.lisp.clx.devel,gmane.lisp.steel-bank.general
Message-ID <[email protected]>
Parry Husbands <[email protected]> writes:

> Sorry to follow up to my own post, but...

Not at all... not when you're helping track down bugs :-)

> I added 12 to the pixmap-format definition in clx.lisp and things
> seemed to work (all the CLX programs I tried worked and
> McCLIM-2003-07-31 to a point).
>
> The change in clx.lisp is:
>
> (def-clx-class (pixmap-format (:copier nil) (:print-function print-pixmap-format))
>   (depth 0 :type image-depth)
>   (bits-per-pixel 8 :type (member 1 4 8 12 16 24 32))
>   (scanline-pad 8 :type (member 8 16 32)))
>
> Thanks.

OK.  There might be later issues in terms of the pixarray functions in
image.lisp, but that's a good first step... many thanks.

Cheers,

Christophe
-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)