public BasicApplicationArguments( OpenGLLayer layer, DisplayMode displayMode, FullscreenMode fullscreen, boolean vsync, FSAA fsaa, boolean mouseYInverted) { this.oglLayer = layer; this.displayMode = new int[] { displayMode.getWidth(), displayMode.getHeight(), displayMode.getBPP(), displayMode.getFrequency() }; this.fullscreen = fullscreen.isFullscreen(); this.undecorated = fullscreen == FullscreenMode.WINDOWED_UNDECORATED; this.vsync = vsync; this.fsaa = fsaa; this.invertMouseY = mouseYInverted; }
/** * Sets the selected FullscreenMode. * * @param fullscreenMode. */ public void setFullscreenMode(FullscreenMode fullscreenMode) { this.fullscreen = fullscreenMode.isFullscreen(); this.undecorated = fullscreenMode.isUndecorated(); }