mirror of
https://github.com/processing/processing4.git
synced 2026-05-03 17:35:00 +02:00
implement focused, focusGained(), focusLost() in OpenGL (fixes #3564)
This commit is contained in:
@@ -719,12 +719,16 @@ public class PSurfaceJOGL implements PSurface {
|
||||
public void windowGainedFocus(com.jogamp.newt.event.WindowEvent arg0) {
|
||||
// pg.parent.focusGained(null);
|
||||
// System.err.println("gain focus");
|
||||
sketch.focused = true;
|
||||
sketch.focusGained();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void windowLostFocus(com.jogamp.newt.event.WindowEvent arg0) {
|
||||
// pg.parent.focusLost(null);
|
||||
// System.err.println("lost focus");
|
||||
sketch.focused = false;
|
||||
sketch.focusLost();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
0241 core (3.0b3)
|
||||
X `focused` variable always false in P2D/P3D
|
||||
X https://github.com/processing/processing/issues/3564
|
||||
|
||||
|
||||
opengl
|
||||
@@ -6,8 +8,6 @@ X IndexOutOfBoundsException with pixelDensity(2) and P2D
|
||||
X https://github.com/processing/processing/issues/3568
|
||||
X Shaders output to bottom left corner rather than full window in 3.0b2
|
||||
X https://github.com/processing/processing/issues/3572
|
||||
_ `focused` variable always false in P2D/P3D
|
||||
_ https://github.com/processing/processing/issues/3564
|
||||
_ Use PBOs for async texture copy
|
||||
_ https://github.com/processing/processing/issues/3569
|
||||
_ filter(PShader) broken in HiDPI mode
|
||||
|
||||
26
todo.txt
26
todo.txt
@@ -22,16 +22,22 @@ X https://github.com/processing/processing/issues/3314
|
||||
_ Invalid code signature on OS X
|
||||
_ https://github.com/processing/processing/issues/3575
|
||||
|
||||
cleaning/earlier
|
||||
X move to launch4j 3.7 http://launch4j.sourceforge.net/
|
||||
X actually upgraded to 3.8
|
||||
X make examples pull/build automatic during dist
|
||||
|
||||
gsoc
|
||||
X Breakpoints don't 'jump' after hitting Enter on blank line
|
||||
X https://github.com/processing/processing/issues/3552
|
||||
X https://github.com/processing/processing/pull/3571
|
||||
|
||||
cleaning/earlier
|
||||
X move to launch4j 3.7 http://launch4j.sourceforge.net/
|
||||
X actually upgraded to 3.8
|
||||
X make examples pull/build automatic during dist
|
||||
X dialog box icon is fuzzy on OS X retina machines
|
||||
X https://github.com/processing/processing/issues/2117
|
||||
o solution might be our own dialog boxes
|
||||
X ctrl/ctrl-shift-n sometimes stops working
|
||||
X https://github.com/processing/processing/issues/188
|
||||
X believed to be fixed in the last few months
|
||||
|
||||
|
||||
known issues
|
||||
_ launch4j doesn't work from folders with non-native charsets
|
||||
@@ -75,6 +81,7 @@ _ distinguish errors and warnings
|
||||
_ https://github.com/processing/processing/issues/3406
|
||||
_ finish the gui
|
||||
_ https://github.com/processing/processing/issues/3072
|
||||
_ see notes in the 'dialogs' section below, implement our own option panes?
|
||||
_ tiny trail of dots when moving the selection bar up/down on retina
|
||||
_ need 'actively pressed' version of 'play' and 'stop'
|
||||
_ could do rollover as well, but do other apps use them?
|
||||
@@ -445,9 +452,6 @@ PDE - Processing Development Environment
|
||||
|
||||
PDE / Dialogs
|
||||
|
||||
_ dialog box icon is fuzzy on OS X retina machines
|
||||
_ https://github.com/processing/processing/issues/2117
|
||||
_ solution might be our own dialog boxes
|
||||
_ two-tiered dialogs for everything - use big font/little font style throughout
|
||||
_ http://javagraphics.blogspot.com/2008/06/joptionpane-making-alternative.html
|
||||
_ option to suppress warning dialogs
|
||||
@@ -581,12 +585,6 @@ _ https://github.com/processing/processing/issues/136
|
||||
_ EditorToolbar has two TODO items for open menu handling
|
||||
|
||||
|
||||
PDE / Editor Header
|
||||
|
||||
_ ctrl/ctrl-shift-n sometimes stops working
|
||||
_ https://github.com/processing/processing/issues/188
|
||||
|
||||
|
||||
PDE / Export
|
||||
|
||||
_ if the lib folder goes missing from export, give an error
|
||||
|
||||
Reference in New Issue
Block a user