示例#1
0
 public CanvasFrame(string title, int screenNumber, DisplayMode displayMode, double gamma)
 {
   base.\u002Ector(title, CanvasFrame.getScreenDevice(screenNumber).getDefaultConfiguration());
   CanvasFrame canvasFrame = this;
   this.latency = 120L;
   this.keyEvent = (KeyEvent) null;
   this.canvas = (Canvas) null;
   this.needInitialResize = false;
   this.bufferStrategy = (BufferStrategy) null;
   this.init(true, displayMode, gamma);
 }
示例#2
0
 public CanvasFrame(string title, GraphicsConfiguration gc, double gamma)
 {
   base.\u002Ector(title, gc);
   CanvasFrame canvasFrame = this;
   this.latency = 120L;
   this.keyEvent = (KeyEvent) null;
   this.canvas = (Canvas) null;
   this.needInitialResize = false;
   this.bufferStrategy = (BufferStrategy) null;
   this.init(false, (DisplayMode) null, gamma);
 }