ftp.nice.ch/peanuts/GeneralData/Usenet/news/1991/CSNProg-91.tar.gz#/comp-sys-next-programmer/1991/Dec/Rubberband-Rectangle-Class-Submitted

This is Rubberband-Rectangle-Class-Submitted in view mode; [Up]


Date: Sun 26-Dec-1991 20:17:45 From: slugg@mouthers Subject: Rubberband Rectangle Class Submitted Several people on comp.sys.next.programmer have pointed to /usr/lib/NextStep/windowPackage.ps as an example of how to implement a rubberband rectangle on the NeXT computer. But no one that I know of ever went beyond saying that it could be done. I have submitted to Internet servers some source code and a demo app for an Objective-C Rubberband rectangle object class. It uses the same postscript code that the window manager uses to draw the dotted lines when you resize standard windows (literally the same code is invoked). For you it turns the Rubberband rectangle into an easy four lines of code (alloc, stretch, getrect, and free). I have submitted it as Rubberband.tar.Z at nova.cs.purdue.edu and cs.orst.edu, both in pub/next/submissions. Have fun. I hope someone will find this useful. I reserve no rights and accept no liability.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.