Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to draw a widget on a PGraphics. #1

Open
aengelke opened this issue Aug 25, 2013 · 3 comments
Open

Allow to draw a widget on a PGraphics. #1

aengelke opened this issue Aug 25, 2013 · 3 comments

Comments

@aengelke
Copy link

For a PApplet, you could use applet.g

@martinleopold
Copy link
Owner

It can't be generalized to PGraphics, since some features of PApplet are needed (e.g. events). But a PGraphics could be specified as "render target". Give me some motivation. How would you use that feature?

@aengelke
Copy link
Author

aengelke commented Oct 4, 2013

In a windowed system, it would be easier to render the UI on a PGraphics and to move the PGraphics in the sketch than changing each components position.

@martinleopold
Copy link
Owner

true. for now it's possible to move the whole GUI overlay around by using PUI.position()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants