Commit Graph

23 Commits

Author SHA1 Message Date
Ben Fry
26d04aed77 swap getModifiers() for getModifiersEx() to deal with deprecation (fixes #4) 2020-01-20 07:51:23 -05:00
Ben Fry
4a6cdf5252 remove redundant boxing and casting (#51)
remove redundant boxing and casting
2020-01-20 07:29:44 -05:00
Ben Fry
d3feb64237 introduce ShimAWT, moving selectInput/OutputFolder to PSurface, being AWT purge 2020-01-19 16:24:16 -05:00
Liam James
108f9b6a6b remove redundant boxing and casting 2020-01-19 11:50:54 +10:00
Ben Fry
ff80f4d552 replacing MACOSX with MACOS 2019-10-08 15:01:17 -04:00
Jakub Valtar
d512d21fcf Move Ctrl+Left Mouse code from surfaces to PApplet 2018-10-09 09:19:36 +02:00
Jakub Valtar
eb64449f9b Make sure Ctrl+Left Mouse on MacOS is consistent
Make sure PRESS, DRAG and RELEASE report the same mouse button on MacOS.

- If CTRL was pressed during Left PRESS, report Right Button until the button is released, regardless of whether CTRL is still down.
- If CTRL was not pressed during Left PRESS, report Left Button until the button is released, regardless of CTRL state.

Fixes #5672
2018-10-07 21:55:14 +02:00
Ben Fry
82c772f178 Windows ignores setMinimumSize(), add workaround for #5052 2017-09-03 08:36:23 -04:00
kisarur
114d3788c1 a working fix for the window resizing to zero issue in Windows was added 2017-08-28 03:23:47 +05:30
Jakub Valtar
0342545a4f pixelDensity (Java2D): scale mouse input 2017-02-16 16:15:36 +01:00
Jakub Valtar
f0c75dae16 pixelDensity (Java2D): scale window up 2017-02-16 16:13:23 +01:00
gohai
6ce890bffb Add a temporary workaround for the CHIP
Reported this to the CHIP team: Seeing some odd exception from deep within Java's awt classes ("Width (0) and height (0) must be non-zero"). This is triggered because the libX11 function XQueryBestCursor is returning a width and height of zero, which seems to be a bug. I am guessing that this will also pop up with other Java applications.

This makes things work on the CHIP w/ OS image 4.4 and latest packages. I also tested on OS X, but I am not familiar enough with the Tweak Mode to say for sure.
2016-07-01 14:18:09 +02:00
Ben Fry
5acbcee17e simplify screen placement when screen is too small (#3913) 2015-10-23 15:27:29 -04:00
Jakub Valtar
697497d4cc Manage changing inset size when calling setResizable() 2015-09-26 11:43:53 -04:00
Ben Fry
167ab5ce0b surface.setLocation() for the default renderer (fixes #3821) 2015-09-18 10:18:16 -04:00
Ben Fry
80e61d288c Fix flickering cursor regression with Java2D on Windows introduced by #3472 2015-09-11 16:39:49 -04:00
Ben Fry
b8ed1abcdb add surface.setAlwaysOnTop(boolean) for all renderers (fixes #3718) 2015-09-11 09:33:41 -04:00
Ben Fry
b7d5f987ad add workaround for setTitle() resetting cursor() (fixes #3472) 2015-08-08 14:54:17 -04:00
Ben Fry
81c0732f22 change how size(displayWidth, displayHeight) works (fixes #3545) 2015-08-07 10:06:08 -04:00
Ben Fry
ce8dda9330 change how icons are set on frames, notes from github 2015-07-03 10:46:15 -04:00
Ben Fry
fbfaab084e implement setIconImage() for PSurfaceAWT 2015-06-28 20:42:46 -04:00
Ben Fry
44404f4062 excising nearly all AWT from PGraphics 2015-06-21 23:55:10 -04:00
Ben Fry
ef9d4c4d2f more package movement for the separate renderers 2015-06-21 22:24:49 -04:00