@Override public void setTitle (String title) { Display.setTitle(title); }
@Override public void setTitle (String title) { Display.setTitle(title); }
public void setTitle(String title){ if (created.get()) Display.setTitle(title); }
Display.setTitle("Terasology" + " | " + "Alpha"); try {
Display.setTitle(config.title); Display.setResizable(config.resizable); Display.setInitialBackground(config.initialBackgroundColor.r, config.initialBackgroundColor.g,
Display.setTitle(config.title); Display.setResizable(config.resizable); Display.setInitialBackground(config.initialBackgroundColor.r, config.initialBackgroundColor.g,
Display.setTitle(settings.getTitle()); Display.setResizable(settings.isResizable());
@Override public void setTitle (String title) { Display.setTitle(title); }
/** * Sets the title of the window. * * @param title the window title */ public void setTitle(String title) { Display.setTitle(title); }
/** * Sets the title of the window. * * @param title the window title */ public void setTitle(String title) { Display.setTitle(title); }
/** * Set the title of the window * * @param title The title to set on the window */ public void setTitle(String title) { Display.setTitle(title); }
public void setTitle(final String title) { Display.setTitle(title); }
@Override public void setTitle (String title) { Display.setTitle(title); }
public void setTitle(String title){ if (created.get()) Display.setTitle(title); }
private void msg(Actor actor, Data data, String xy) { String name, type = ""; if (data.variableType == -1) { name = "Actor"; } else if (data.variableType == 1) { type = "Ա"; name = data.name; } else if (data.variableType == 2) { type = "ֲ"; name = data.name; } else { type = ""; name = ""; } Display.setTitle(type + ":" + name + " :" + actor.getClass().getSimpleName() + " :" + xy + " Ϣ:" + messeg); }
@SuppressWarnings("resource") private void jem(File load) throws Exception { FileInputStream fis = new FileInputStream(load); fis.read(defByte, 0, 2); String str_head = game.bytesToHexString(defByte); if (str_head.equals("8950") || str_head.equals("ffd8")) { // ͼƬ, return; } File defFile = new File(load.getPath() + "_var3d_def"); FileOutputStream fos = new FileOutputStream(defFile); int XOR_CONST = defByte[0] & 0xFF; fos.write(defByte[1] ^ XOR_CONST); int read; while ((read = fis.read()) > -1) { fos.write(read ^ XOR_CONST); } fos.flush(); fos.close(); fis.close(); load.delete(); defFile.renameTo(load); Display.setTitle(load.getName() + ""); }
@SuppressWarnings("resource") private void jam(File load) throws Exception { int XOR_CONST = MathUtils.random(0xFF); FileInputStream fis = new FileInputStream(load); fis.read(defByte, 0, 2); String str_head = game.bytesToHexString(defByte); if (!str_head.equals("8950") && !str_head.equals("ffd8")) { // ͼƬ, return; } File defFile = new File(load.getPath() + "_var3d_def"); FileOutputStream fos = new FileOutputStream(defFile); fos.write(XOR_CONST); for (byte b : defByte) { fos.write(b ^ XOR_CONST); } int read; while ((read = fis.read()) > -1) { fos.write(read ^ XOR_CONST); } fos.flush(); fos.close(); fis.close(); load.delete(); defFile.renameTo(load); Display.setTitle(load.getName() + ""); }
modified = false; Display.setTitle("Adventure Editor v" + Versions.getVersion() + " - " + projectFile.getAbsolutePath());
/** * 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.setTitle(game.getTitle());