private void updateFullScreenDisplay() throws LWJGLException { Display.setDisplayMode(getFullScreenDisplayMode()); Display.setFullscreen(true); Display.setLocation(0, 0); }
Display.setDisplayMode(Display.getDesktopDisplayMode()); Display.setLocation(0, 0); Display.setFullscreen(false); config.setDisplayModeSetting(displayModeSetting); config.setWindowedFullscreen(true); Display.setDisplayMode(config.getDisplayMode()); Display.setLocation(config.getWindowPosX(), config.getWindowPosY()); Display.setFullscreen(false); Display.setResizable(true); config.setDisplayModeSetting(displayModeSetting);
Display.setDisplayModeAndFullscreen(displayMode); } else { Display.setFullscreen(false); Display.setDisplayMode(displayMode); Display.setFullscreen(settings.isFullscreen());
Display.setFullscreen(fullscreen);
Display.setFullscreen(fullscreen);
public void setFullScreen(final boolean fullScreen) throws LWJGLException { Display.setFullscreen(fullScreen); }
/** * Indicate whether we want to be in fullscreen mode. Note that the current * display mode must be valid as a fullscreen mode for this to work * * @param fullscreen True if we want to be in fullscreen mode * @throws SlickException Indicates we failed to change the display mode */ public void setFullscreen(boolean fullscreen) throws SlickException { if (isFullscreen() == fullscreen) { return; } if (!fullscreen) { try { Display.setFullscreen(fullscreen); } catch (LWJGLException e) { throw new SlickException("Unable to set fullscreen="+fullscreen, e); } } else { setDisplayMode(width, height, fullscreen); } getDelta(); }
Display.setFullscreen(_settings.isFullScreen()); Display.create(format); } catch (final Exception e) {
/** * Starts the lwjgl engine and shows a window, where the point clouds are rendered */ public void startEngine() { int width = 800; int height = 600; try { Display.setDisplayMode(new DisplayMode(width, height)); Display.setFullscreen(false); Display.setTitle("Gaalop Visualization Window"); Display.create(); } catch (LWJGLException e) { e.printStackTrace(); System.exit(0); } GL11.glEnable(GL11.GL_DEPTH_TEST); GL11.glShadeModel(GL11.GL_SMOOTH); changeSize(width, height); GL11.glDisable(GL11.GL_LIGHTING); // init OpenGL GL11.glViewport(0, 0, width, height); GL11.glMatrixMode(GL11.GL_PROJECTION); GL11.glLoadIdentity(); GLU.gluPerspective((float) 65.0, (float) width / (float) height, (float) 0.1, 100); GL11.glMatrixMode(GL11.GL_MODELVIEW); }
Display.setFullscreen(true); } else { Display.setFullscreen(false);
Display.setDisplayModeAndFullscreen(displayMode); } else { Display.setFullscreen(false); Display.setDisplayMode(displayMode); Display.setFullscreen(settings.isFullscreen());
Display.setFullscreen(fullscreen);
Display.setFullscreen(fullscreen);