Issue 3586 in pharo: Rename color buttons in MouseEvent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 3586 in pharo: Rename color buttons in MouseEvent

pharo
Status: Accepted
Owner: [hidden email]

New issue 3586 by [hidden email]: Rename color buttons in MouseEvent
http://code.google.com/p/pharo/issues/detail?id=3586

I hate yellowButtonPressed and redButtonPressed and blueButtonPressed  
messages.

Why not lefClick, rightClick and "middleClick"?


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3586 in pharo: Rename color buttons in MouseEvent

pharo

Comment #1 on issue 3586 by [hidden email]: Rename color buttons in  
MouseEvent
http://code.google.com/p/pharo/issues/detail?id=3586

Here is a squeak wiki post about colored mouse buttons:  
http://wiki.squeak.org/squeak/897

And the part that says "The Smalltalk image from which Squeak is derived  
was designed to run with a three-button mouse on an Alto or Dorado  
computer. These buttons were known as the Red button, Yellow button, and  
Blue button, and some mice on the Parc computers really had buttons of  
these colors."  allows me to think that originally, the buttons were named  
just like the hardware :).

So calling them left, right and middle...  Is right the same but more  
meaningful.

Another classification there puts them as:


        red:primary yellow:secondary blue:meta, tertiary


So we could call them primary, secondary and (tertiary or meta).  I like  
it :).

Cheers,
Guille