RotaryDialMorphs

Description

Rotary dials are good for displaying some kinds of data. Temperature, pressure, voltage, stuff like that. This package provides a generic foundation class along with several data specific subclasses for temp. humidity, air pressure and compass heading. Any morph can be used for the indicator needle and background. There are several examples in the generic RotaryDialMorph class to illustrate the plainest options and how to have the dial run around the upper sector of a circle, the lower or all the way around, along with having the data range increase clockwise or anti-clockwise. The Barometer morph and the specific morphs use some fancy needle and dial graphics developed with considerable help from Bob Arning. There is a lot of scope for improving and factoring the generation of dial markings and needle designs. Some variety of style object must surely be a possibility. See *http://wiki.squeak.org/squeak/6572* for more doc.

Details

Source
SqueakSource
Dialect
squeak (25% confidence)

Categories

UI / Graphics Education / Howto System / OS Multimedia Concurrency
← Back to results