Ben Fry
a3ff124499
more tweaks for Eclipse complaints and moving JFX out of core
2021-06-20 20:11:21 -04:00
Ben Fry
5b42803804
get less ambitious with PImage ( fixes #169 , #180 , #200 )
2021-06-15 07:06:22 -04:00
Anadroid
118e22e329
Formatting brief descriptions
2021-04-13 16:54:57 +02:00
Anadroid
db91449e33
Changed comments for all the web references in core
2020-09-10 13:51:11 +02:00
Ben Fry
b8de4b85a8
reworking saveImpl() and how AWT code is invoked for images ( resolves #80 )
2020-08-16 09:34:02 -04:00
Ben Fry
53c1278f0c
remove the last usages of AWT in PApplet ( fixes #55 )
2020-01-20 08:45:10 -05:00
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
d259373553
moving more things through PImageAWT
2020-01-19 21:40:20 -05:00
Ben Fry
e46eceab96
a little scarier: moving java.awt and javax.imageio out of PImage
2020-01-19 21:24:35 -05:00
Ben Fry
753c5996a7
move loadImage() into PSurface
2020-01-19 21:04:15 -05:00
Ben Fry
05f3cb0b2d
move link() calls that use Desktop into PSurface
2020-01-19 20:50:04 -05:00
Ben Fry
b27d971aca
move loadImage() and parts of getDesktopFile() into ShimAWT
2020-01-19 17:51:01 -05:00
Ben Fry
8535a462f0
move runSketch() init code into ShimAWT
2020-01-19 16:28:37 -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
Liam James
f80f1ed0e2
Migrate array declaration fixes from #5981
2020-01-19 10:18:08 +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
Jakub Valtar
0174387a68
Make sure Java2D is backed by INT_ARGB image
...
It would be nice to use a possibly faster compatible image, but all our code expects non-premultiplied INT_ARGB so sticking to it for now.
Fixes #5519
2018-06-01 22:40:24 +02:00
Ben Fry
1b84d46587
remove unhelpful deprecation, other notes and todo items
2017-10-29 17:32:19 -04: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
6eb3554688
Revert updatePixels() to set modified flag to true
...
PImage.modify flag is now used for two purposes and should be split into
two variables:
- internally by renderers to signal that pixels[] changed and need to be
drawn
- externally to signal other renderers that this image changed in some
way and they should update their cache
Reverts 3e5500c457
Fixes #5040
2017-05-02 22:40:25 +02:00
Jakub Valtar
a6f50d402a
Fix typos made during pixelDensity update
...
Fixes #5028
2017-04-25 23:49:18 +02:00
Ben Fry
fa836591b0
Merge pull request #5011 from JakubValtar/blow-up
...
Window placement and pixel density cleanup
2017-04-21 16:57:20 -04:00
Ben Fry
a05a375104
set the font, even if not deriving
2017-03-17 20:41:39 -04:00
Ben Fry
c8c4539204
don't derive the font again if the size is unchanged ( #4956 )
2017-03-12 09:59:12 -04:00
Jakub Valtar
f8bbc3b3fe
pixelDensity (Java2D): fix pixel operations
2017-02-19 01:41:23 +01:00
Jakub Valtar
3e5500c457
pixelDensity (Java2D): set modified to false after updatePixels()
2017-02-17 13:38:09 +01:00
Jakub Valtar
a28a043c3e
pixelDensity (Java2D): fix set() clamping on wrong boundary
2017-02-17 13:37:20 +01:00
Jakub Valtar
0342545a4f
pixelDensity (Java2D): scale mouse input
2017-02-16 16:15:36 +01:00
Jakub Valtar
b5002d297a
pixelDensity (Java2D): set default transform
2017-02-16 16:13:53 +01:00
Jakub Valtar
f0c75dae16
pixelDensity (Java2D): scale window up
2017-02-16 16:13:23 +01:00
Ben Fry
2c0c1b9a36
bring back getImage() to fix #4473
2016-08-12 21:34:50 -04: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
Akarshit Wal
a38b4e89fb
Reapplied blendMode
2016-02-29 21:34:17 +05:30
Ben Fry
9756ee1089
avoid another "Zero length string passed to TextLayout constructor" error, other notes
2015-11-05 10:05:51 -05: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
fd1b9f9fb0
a little housekeeping
2015-09-05 08:38:40 -04:00
Jakub Valtar
621d064545
Clean up textFont and textSize, add impl
2015-09-04 10:43:01 -04:00
Ben Fry
dbd264205b
Merge pull request #3523 from JakubValtar/remove-alpha-filler
...
Remove alpha filler
2015-08-13 14:18:39 -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
Jakub Valtar
de81b08c35
Remove alpha filler
...
No longer needed because primary surface is now ARGB
4cc46d8c9f
2015-07-31 14:59:27 -04:00