| Summary: | Add Mapping from AWT Component -> NEWT [Screen, MonitorDevice] | ||
|---|---|---|---|
| Product: | [JogAmp] Newt | Reporter: | Sven Gothel <sgothel> |
| Component: | awt | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | --- | ||
| Version: | 2.3.0 | ||
| Hardware: | All | ||
| OS: | all | ||
| Type: | FEATURE | SCM Refs: |
3ec3d5cedd7902b2fe14dc56a3f845cfe0752905
a28e1610e1c29279847bce80e1aa80a947ff799e
37ec129f36097f41ed0d45cbccd7a93e493e2bb9
|
| Workaround: | --- | ||
| Bug Depends on: | |||
| Bug Blocks: | 1373 | ||
|
Description
Sven Gothel
2015-02-17 06:03:05 CET
3ec3d5cedd7902b2fe14dc56a3f845cfe0752905
MonitorDevice: Add 'throws IllegalStateException' for [query|set]CurrentMode(..) if !screen.isNativeValid()
a28e1610e1c29279847bce80e1aa80a947ff799e
NativeWindow: Refactor getLocationOnScreenSafe(..) and getLocationOnScreenNonBlocking(..) from JAWTWindow -> AWTMisc (to be reused)
37ec129f36097f41ed0d45cbccd7a93e493e2bb9
- AWT-Component -> NEWT-Display:
- NewtFactoryAWT.createDisplay
- AWT-Component -> NEWT-Screen:
- NewtFactoryAWT.createScreen
- AWT-Component -> NEWT-MonitorMode:
- NewtFactoryAWT.getMonitorDevice
- NewtFactoryAWT.getMonitorDevice
- If OSX, utilizing OSX's AWT Component -> MonitorDevice-Index mapping
- Otherwise using the coverage to identify MonitorDevice
See TestGearsES2GLJPanelAWT 'GetPixelScale',
demonstrating the mapping while pressing 'p' (cached MonitorMode)
and pressing SHIFT-'p' (non-cached MonitorMode).
|