Always CAPI: drawing a pinboard object.
Hi I created a new PINBOARD-OBJECT class following the example present in the "circled-graph-nodes" example. Essentially I have a CIRCLED-ITEM that I want to display. To achieve this effect I do (setf co (make-instance 'circled-item :text "Here we go" :x 10 :y 10)) (manipulate-pinboard the-pinboard co :add-top) So far so good. Suppose now that I want to create an instance of the CIRCLED-ITEM that has a different color (of the ellipse). I try (setf co (make-instance 'circled-item :text "Here we go" :x 10 :y 50 :graphics-args (list :background :red))) (manipulate-pinboard the-pinboard co :add-top) now things are not all so good, as I get red all over the bounding rectangle. Does it mean that I have to munge the :graphics-args in INITIALIZE-INSTANCE to achieve the desired effect? Is there a better way to do this? Thanks Marco -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________