[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New & Improved matts-utils-3aug92.sea.hqx on cambridge.



Dear Friends:

New goodies on cambridge.apple.com in /pub/mcl2/contrib :

-rw-rw-rw-   1 ftp   camb     90666 Aug  4 12:59 matts-utils-3aug92.sea.hqx
-rw-rw-rw-   1 ftp   camb      5205 Aug  4 12:58 matts-utils-readme.text

>From matts-utils-readme.text:

03-Aug-92 mc	matts-utils-3Aug92.sea.hqx includes these changes:
		 cl.lisp - New
		 drag-gray-region-lisp.lisp - New
		 object-dropper.lisp - New
		 object-fred-dialog-item.lisp - New
		 progress-indication.lisp - Updated

Following are descriptions of the new files. Read
matts-utils-readme.text for a full description of the package.

matt

#### cl.lisp
Defines the cl (compile-load) function which is a simpler alternative for
managing a system's files than defsystem. Abides by the KISS (Keep It
Simple, Silly) philosophy.

#### drag-gray-region-lisp.lisp
Defines a LISP-level drag-gray-region function. Replaces
drag-gray-region.lisp with a cleaner, simpler function.

#### object-dropper.lisp
Defines a extensible object drop functionality. *Very* handy. Examples
extend FRED to handle dropping by inserting strings, extend
object-fred-dialog-items (see below) to insert objects, and define a
function button-dialog-item that runs a function on objects dropped on
it.

(export '(F-CAN-RECEIVE-DROP INVERT-DROP-HIGHLIGHT RECEIVE-DROP
          MACPTR-REGION-GLOBAL TRACK-MOUSE-FOR-DROPPING))

#### object-fred-dialog-item.lisp
Defines the object-fred-dialog-item subclass of fred-dialog-item, which
knows how to display strings and non-string objects. Strings are displayed
in a user-selected font different from non-string objects. A non-string
object's text is selected and deleted as a whole when users select or
delete parts of its text. Examples extend Apple's mouse-copy.lisp example
file so that command-clicking on inspector and other windows adds a "link"
to the clicked-on object in object-fred-dialog-items. *Very handy, too.

(export '(OBJECT-FRED-DIALOG-ITEM FONT-SPEC-STRING-OFDI
          FONT-SPEC-NON-STRING-OFDI ADD-LINK EDIT-L-DATA L-STR-OBJ-OFDI
          L-STR-OBJ-OFDI-SELECTED L-STR-OBJ-OFDI-IN-RANGE *L-OBJECT-GIVEN*))