Rotary Dial Morphs
Project 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.
Members
Tags
squeak,
uiLicense
Code commited to this repository will be automatically under
MIT license.
Registration
MCHttpRepository
location: 'http://www.squeaksource.com/RotaryDialMorphs'
user: ''
password: ''
Packages
Links
http://www.squeaksource.com/RotaryDialMorphs.htmlhttp://www.squeaksource.com/RotaryDialMorphsStatistics
Registered: | 20 April 2017 4:41:29 pm |
Total Releases: | 0 |
Total Versions: | 3 |
Total Downloads: | 151 |