[BUG][FIX] YellowButtonBit and BlueButtonBit are swapped

Karl Ramberg karl.ramberg at chello.se
Wed Mar 6 16:56:20 UTC 2002


Hannes Hirzel wrote:
 
> To ease set-up of Squeak in a class we would need a simple
> MouseButtonTestMorph:
> 
> A subclass of Rectangle
> 
> red    click -> background color switches to red
> yellow click ->                              yellow
> blue   click ->                              blue
> 
> Implementing this would actually be a nice exercise for a new squeaker.
> (An old Squeaker like Bob Arning and Ned Konz would probably need 15
> minutes, while a newbie would probably need an afternoon). It would
> as well make a good topic for writing a tutorial.
> 

I suggested a while ago that the cursor should change it's color
accoring to 
the button used. So clicking the blue button will turn the cursor blue.
I have not implemented it yet, but it wounld be a cute little tutorial-mode-
preference :-)

Karl



More information about the Squeak-dev mailing list