On Mon, Jan 24, 2011 at 10:22 AM, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:
Exactly : logicalRight can be different than physicalRight.
If you tell me this distinction is useless, then I'll ask you to
consider touch screen and other modern input devices.
That's why I ask this community to reformulate and think.

Mmm, maybe we can work in little steps.� I think that renaming is a good first step for a refactor.� To refactor code you need to understand it, and the colors makes me not to understand it.

Then you'll can argue at will whether the logical level shall be named
#right #logicalRight or #blue, I don't care.

Then we can change it again.

For newer kind of events (gestures), we have a more difficult dilemna:
emulate the feel or use native OS facilities...
The question is of same nature as native look.
Even if we choose to rely on OS, we have to think of cross platform
portability and ways to emulate missing capabilities.
In other words, I doubt we can afford the elimination of a level of indirection.

Maybe it's time to refactor indeed, but please, bring up your brain
one level above this colour naming battle.
Don't replay battles of the past, turn toward the future.

Oh, that was no my intention.� I didn't even know of past battles before this thread.� I was only tired of unmeaningful colors.
Please, don't turn the discussion like that, I didn't mean that :S.

Guille

Nicolas

2011/1/24 Geert Claes <geert.wl.claes@gmail.com>:
>
>
> 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.
>
>