diff options
author | Sven Gothel <[email protected]> | 2012-12-24 08:03:50 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-12-24 08:03:50 +0100 |
commit | 17fde6c517b4ccf91b07c7e86974019bcbfee642 (patch) | |
tree | 1f3e6da0798d709b7c38b7b3f8d7028778231ab5 /doc | |
parent | d45f777e7969769eaa9b7d7f3eb5b34c10268368 (diff) |
NEWT peserve 'mouseButtonModMask' to be sent for all mouse- and key events. TODO: NEWT Event Factories. Misc: Cleaned up spacing.
On some native OS, the accumulation of pressed button modifier-mask is not available, e.g. OS X.
NEWT WindowImpl.doMouseEvent(..), invoked by native NEWT events,
will track the pressed mouse button modifier-mask, similar to mouseButtonPressed to synthesize the DRAGGED event.
Added NEWT WindowImpl.doKeyEvent(..) to honor the pressed mouse button modifier-mask,
i.e. pass it w/ key events as well.
TODO: Unify synthesization of NEWT event artifacts as described by the above,
allowing NEWT event translation to benefit from same code to gain same semantics.
Notable: AWTNewtEventFactory and SWTNewtEventFactory
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions