[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Background Color in dialog-items
- To: info-mcl@cambridge.apple.com
- Subject: Background Color in dialog-items
- From: welch@aristotle.ils.nwu.edu (John Welch)
- Date: Tue, 19 Apr 94 9:34:50 CDT
Help!
I can't get radio-button-dialog-items or check-box-dialog-items to
display in any background color other than white. I have no problem changing
the text or frame colors of these items but the background stays stubbornly
white. If there is a patch for this bug I would be very gratefull to know
where I can get it. Below I have included an example to show that I am not
hallucinating:
(setf test (make-instance 'window :color-p t ))
(add-subviews test
(make-dialog-item
'radio-button-dialog-item
#@(10 10)
#@(100 20)
"Test"
nil))
(add-subviews test
(make-dialog-item
'radio-button-dialog-item
#@(10 50)
#@(100 20)
"Test"
nil))
(set-back-color test *green-color*)
(set-part-color (first (subviews test)) :text *red-color*)
(set-part-color (first (subviews test)) :frame *red-color*)
;;; Now for the part that does not work
(set-part-color (first (subviews test)) :body *green-color*)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Thanks for any help you can provide,
John Welch
welch@ils.nwu.edu