jMonkeyEngine-Contributions / Lemur

Lemur is a jMonkeyEngine-based UI toolkit.
http://jmonkeyengine-contributions.github.io/Lemur/
BSD 3-Clause "New" or "Revised" License
116 stars 32 forks source link

Master #37

Closed Pesegato closed 7 years ago

Pesegato commented 8 years ago

Added the mousePressed event to DefaultMouseListener

Pesegato commented 8 years ago

The fixed version of #36

Pesegato commented 8 years ago

Nevermind, it worked as you said. Feel free to discard my PR is you want.

Pesegato commented 8 years ago

However... somehow your solution feels like an hack. mousePressed() has been part of AWT since 1.1 I think...

pspeed42 commented 8 years ago

Yeah, but in that case it's part of the AWT MouseListener interface. JME uses a completely different event model... adding some protected method for this isn't worth it as it provides no value.

On Thu, Jun 16, 2016 at 6:04 AM, Pesegato notifications@github.com wrote:

However... somehow your solution feels like an hack. mousePressed() has been part of AWT since 1.1 I think...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jMonkeyEngine-Contributions/Lemur/pull/37#issuecomment-226442833, or mute the thread https://github.com/notifications/unsubscribe/AGrfnp2awQ77BLwC7DjAOkBza0gpnbZEks5qMR_KgaJpZM4I3N7l .