[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: self and CLOS
- To: jbk@world.std.com (Jeffrey B Kane)
- Subject: Re: self and CLOS
- From: kab (Kim Barrett)
- Date: Thu, 02 Jul 92 12:27:46 EST
- Cc: cartier@math.uqam.ca (Guillaume Cartier), info-mcl@cambridge.apple.com
> You simply have to use the accessors you defined above...
> i.e. the top left bottom and right accessor methods:
>
> (defmethod draw ((me square-thing) (wind view)
> &optional (t (top me)) (l (left me))
> (b (bottom me)) (r (right me)))
> (paint-rect wind l t r b)
> (frame-rect wind l t r b))
One small nit: T is a constant, so can't be setq'ed or locally bound.