Cool. But I think the idea is not to use Sensor anymore but InputEventSensor. At least, when possible.

Cheers

Mariano

On Fri, Jan 15, 2010 at 5:24 PM, Torsten Bergmann <astares@gmx.de> wrote:
There is also the World's smallest drawing program

http://wiki.squeak.org/squeak/126

which has to be adapted due to sensor changes
(take care it is dog slow compared to squeak):


| myPen |
myPen := Pen new defaultNib: 2.
myPen up.
myPen goto: Sensor cursorPoint.
myPen down.
[Sensor waitButton. Sensor yellowButtonPressed] whileFalse:
� �[Sensor redButtonPressed
� � � �ifTrue: [myPen goto: Sensor cursorPoint]].
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project