Fullscreen isn't *full* screen
in
Contributed Library Questions
•
3 years ago
Hi, I'm trying to get a proper fullscreen:
When I run this (Sketch->Run or Sketch-Present), the resulting "fullscreen" is not actually fullscreen. There is black space where the top menu bar normally is (this area is not accessible to the cursor) and black space where the MacOS docker normally is (this space is accessible to the cursor). How can I get the full area of the screen to be used?
If I export the above code into an executable and select "Full Screen (present mode)", the same thing happens. Initially, I see a gray area which covers the full screen, but once the program initializes, it no longer covers the entire screen.
I have also tried commenting out line 8. When I do this, the entire screen is covered in Sketch->Present mode and also when exporting in "Full Screen (present mode)". The only downside to this view is that if the cursor moves too far down the screen, the MacOS docker pops up---this did not happen when using the fullscreen API. Since I'm trying to use this processing app as part of a "kiosk", I need as minimal "distractions" as possible.
Can I get the best of both worlds? A fullscreen which uses the entire fullscreen, but one which does not allow the MacOS docker to pop up when the cursor moves too far down.
- FullScreen fs;
- void setup()
- {
- size(1440,900);
- background(255, 204, 0);
- fs = new FullScreen(this);
- fs.setShortcutsEnabled(false);
- fs.enter();
- }
When I run this (Sketch->Run or Sketch-Present), the resulting "fullscreen" is not actually fullscreen. There is black space where the top menu bar normally is (this area is not accessible to the cursor) and black space where the MacOS docker normally is (this space is accessible to the cursor). How can I get the full area of the screen to be used?
If I export the above code into an executable and select "Full Screen (present mode)", the same thing happens. Initially, I see a gray area which covers the full screen, but once the program initializes, it no longer covers the entire screen.
I have also tried commenting out line 8. When I do this, the entire screen is covered in Sketch->Present mode and also when exporting in "Full Screen (present mode)". The only downside to this view is that if the cursor moves too far down the screen, the MacOS docker pops up---this did not happen when using the fullscreen API. Since I'm trying to use this processing app as part of a "kiosk", I need as minimal "distractions" as possible.
Can I get the best of both worlds? A fullscreen which uses the entire fullscreen, but one which does not allow the MacOS docker to pop up when the cursor moves too far down.
1