dzaima

Results 65 comments of dzaima

[PSurface](https://github.com/processing/processing4/blob/master/core/src/processing/core/PSurface.java) is the main class for such things, and there's no direct way to toggle fullscreen through it. However, if you're using `P2D`, you can use ```java GLWindow glw =...

I can't find any way either, even with access to [the frame](https://github.com/processing/processing4/blob/master/core/src/processing/awt/PSurfaceAWT.java#L73). It doesn't seem like awt allows changing it dynamically, so it'd probably need to recreate the frame (and...

What is the exact error given, if there is any? Also, please format your code block (select it and click the "insert code" button), otherwise the current posted code is...

The `g.get()` call should be before `g.endDraw();` for it to work and not corrupt the original `g`.

These variables are defined [here](https://github.com/processing/processing/blob/master/core/src/processing/core/PConstants.java#L42) for use as general constants (used a lot by [PGraphics](https://github.com/processing/processing/blob/4bb41d9851f24584c064d75e759e6ac3b0f65928/core/src/processing/core/PGraphics.java#L2276) for example). There are many things not documented in the reference, I don't think it's...

The code responsible for the behavior, in `PShape`s constructor: https://github.com/processing/processing/blob/8e86389c7e017d0e4d61f81fb942c25e3ed348c7/core/src/processing/core/PShape.java#L316-L325 So it's intentional that `createShape` copies the state of the primary graphics on calling. The confusing thing is that `setStroke(int)`...

Noticed that there's `setZOrder` and `setTitlebarVisible`, guided by macOS, which together would handle some of that, but would need a 3rd thing to hide from taskbar. X11 does provide separate...

On X11, mouse & scroll movement, while the mouse is within the bounds of the window, is already sent regardless of whether it's focused or not. And, given that both...

Thing is, I _want_ `clang` to be the default, given that all of my optimization work is for it, and it gives a dozen or so percent faster binaries. `make...

There isn't any type of permanent storage for the app set up at all, and there are a couple more things that'd benefit from persistence between sessions. But I've largely...