[GOODIE] Ruler2Morph-nk

ned at bike-nomad.com ned at bike-nomad.com
Fri Jul 18 22:16:12 UTC 2003


from preamble:

"Change Set:		Ruler2Morph-nk
Date:			18 July 2003 (v3)
Author:			Ned Konz

v3: add arrowheads and blank cursor

v2: omit BroomMorph method that had crept in.

This is a little measurement tool that will let you read distances and
angles interactively.
It grabs the mouse focus, and you can dismiss it with a yellow-button
click or ESC keystroke.

Note that the angles are in Morphic terms; that is, they're measured
clockwise.

I add it to my personal world menu using:

aMenu add: 'ruler' target: Ruler2Morph action: #startMeasuring.

"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ruler2Morph-nk.cs.gz
Type: application/octet-stream
Size: 1945 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030718/2a984401/Ruler2Morph-nk.cs.obj


More information about the Squeak-dev mailing list