Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!oakhill!nddsun1!axon!leivian From: leivian@axon.sps.mot.com (Bob Leivian) Newsgroups: comp.sys.next Subject: How do you draw lines into the current view for Rubberbanding Message-ID: <1004@nddsun1.sps.mot.com> Date: 16 May 91 23:58:24 GMT Sender: root@nddsun1.sps.mot.com Organization: Motorola PCRL, Tempe, AZ Lines: 38 first of all thanks to all who helped with by previous requests, I now have a pretty compilcated application ported to NeXTStep and know alot more about NeXT and OBJ C but... (he's back...) I would like to draw lines into the current view in XOR mode to do rubberbanding, I can't find anything on this except composite, which has an XOR mode but do I need to have two full window rectangles and clear one and draw into it and then composite them? I would like to do something like this mouseMoved: e { ... PSmoveto(old.x, old.y); PS..setXORmode... (); /* where is this */ PSlineto(anchor.x, anchor.y); PSlineto(e->location.x, e->location.y); old = e->location; ... } also bonus question for extra brownie points... In IB I created a .nib that has a controlPanel (subclass of panel) that has the buttons and sliders set up to control an instance of an object that is dynamically created by the program. However when I 'new' the panel (with a loadNibSection in the +new method) I still just get an empty panel, no buttons or sliders, even though the loadNib comes back without an error -- any hints of where to look thanks for any help -- Bob -- Bob Leivian leivian@email.pcrl.sps.mot.com Neural Network Development Group (602) 897-5117 2100 E. Elliot MD508 Tempe, AZ 85284