I totally agree with the color buttons being really confusing. What's funny is that it's not even consistent. For instance, preference "swapMouseButtons" comment is "if true, swaps mouse buttons 2 and 3". What's that suppose to mean? Weren't mouse buttons colored?? :)

However, I have a question: once you change the names to left, right, middle, what will happen if swapMouseButtons is true? Will "middleClick" still mean "middleClick"?

Cheers
Richo

On Mon, Jan 24, 2011 at 9:38 AM, Geert Claes <geert.wl.claes@gmail.com> wrote:


Guillermo Polito wrote:
>
> I hate yellowButtonPressed and redButtonPressed and blueButtonPressed
> messages.
>
> Why not lefClick, rightClick and "middleClick"?
>

I agree that the meaning of the colors is no longer useful, although "hate"
is maybe a bit harsh :)

Surely this has already been addressed in other environments?
http://api.jquery.com/mousedown api.jquery.com/mousedown �for example also
refers to the left, middle and right button.

Even Apple's multi-touch "magic-mouse" talks about left and right-clicks
(which is ironic as they have long resisted to even add a second button) ...
but also mouse events for the "360� scroll", "Screen zoom" and "two-finger
swipe".
--
View this message in context: http://forum.world.st/What-about-a-little-rename-in-MouseEvent-tp3233363p3233916.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.