| Adding a MouseScrollWheel listener to a Figure - how? [message #238478] |
Wed, 12 September 2007 12:29 |
Simon Pope Messages: 28 Registered: July 2009 |
Junior Member |
|
|
I have a Draw2d Figure and I want to respond to scroll wheel events. I
am completely stumped as to how I should pass MouseScrollWheel events.
The only way I can see at the moment is to create a new EventDispatcher
to replace the default in a LightWeightSystem and then from the
dispatcher call handleMouseScrollWheel(Event event) if the registered
IFigure supports the method (by implementing a new interface).
Is there a better way to do this? Anyone? Will MouseWheel support be
added to IFigure? I don't see anything in Bugzilla...
|
|
|
Powered by
FUDForum. Page generated in 0.01487 seconds