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

Created ability for fullscreen usage #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alexhalbi
Copy link

Hello,

I modified the program so you can use it in fullscreen. Unfortuanately I could only test it in 16:9 screen ratio and not in 4:3 where the image is wider than the screen. This needs to be tested before further. It dynamically adjusts all items with the help of offset_left, offset_top and resize_factor.

Students and others added 4 commits March 10, 2016 11:28
@oskay
Copy link
Contributor

oskay commented Oct 3, 2017

It looks like this forces the application to run full screen, rather than (for example) giving it an option.

If the reason to be running this full screen is to hide things in the background of the computer, then using Present mode in Processing may be a better option than stretching to full screen; this will prevent distortion due to stretching to the full screen.

I would also note that a processing sketch window can be made to be resizeable, using the method described here:
https://github.com/processing/processing/wiki/Window-Size-and-Full-Screen

@alexhalbi
Copy link
Author

That is correct since I would need to do recalculate the offsets and the resizing factor all the time if I would enable resizing/maximizing, but this should be easy to add from this point on.
But since I would like to have the application fullscreen so all of the screen area can be used for drawing (by young children) I simply made it fullscreen.
With present mode, the window would stay tiny so that is not an option for my use-case. Having a bigger drawing area simply makes drawing easier so that's why I rescaled.

@oskay
Copy link
Contributor

oskay commented Oct 4, 2017

Present mode does not require that the window stay tiny. Using scaling plus present mode (rather than the fullscreen mode) could allow large display, without distortion.

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

Successfully merging this pull request may close these issues.

2 participants