Created ability for fullscreen usage
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.
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
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.
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.