[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: view drawing question
- To: osiris@cs.utexas.edu (Rob Browning)
- Subject: Re: view drawing question
- From: "Adam Alpern" <ala@neural.hampshire.edu>
- Date: Wed, 20 Jul 1994 18:28:51 -0400 (EDT)
- Cc: info-mcl@cambridge.apple.com
- In-reply-to: <199407202148.QAA22186@cs.utexas.edu> from "Rob Browning" at Jul 20, 94 04:49:24 pm
;; overriding a group object's view-draw-contents to draw say a border, you
;; need to make sure to call-next method to draw the subviews like this
;;
;; (defmethod view-draw-contents :around (self group-object)
;; ;; draw the border here
;; (call-next-method) ; to draw the subviews after the border (i.e. on top)
;; )
Silly me, forgetting to (call-next-method). That did do the trick,
thanks. I'm still slightly puzzled since I was explicitly drawing the
subview contents after drawing the group view, but I guess I just
overlooked the method combinations. Thanks!
-Adam
--
Adam Alpern, Hampshire College
ala@neural.hampshire.edu