Android: getTouchInput() interface add

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
kim..ng 14 years ago
parent d472a16f7f
commit a697b6efa4
  1. 7
      engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglAbstractDisplay.java
  2. 1
      engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglCanvas.java
  3. 1
      engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglDisplay.java
  4. 5
      engine/src/lwjgl-ogl/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java

@ -35,6 +35,7 @@ package com.jme3.system.lwjgl;
import com.jme3.input.JoyInput;
import com.jme3.input.KeyInput;
import com.jme3.input.MouseInput;
import com.jme3.input.TouchInput;
import com.jme3.input.lwjgl.JInputJoyInput;
import com.jme3.input.lwjgl.LwjglKeyInput;
import com.jme3.input.lwjgl.LwjglMouseInput;
@ -242,7 +243,11 @@ public abstract class LwjglAbstractDisplay extends LwjglContext implements Runna
}
return keyInput;
}
public TouchInput getTouchInput() {
return null;
}
public void setAutoFlushFrames(boolean enabled){
this.autoFlush = enabled;
}

@ -366,5 +366,4 @@ public class LwjglCanvas extends LwjglAbstractDisplay implements JmeCanvasContex
// TODO: Fix deadlock that happens after the error (throw runtime exception?)
}
}
}

@ -32,6 +32,7 @@
package com.jme3.system.lwjgl;
import com.jme3.input.TouchInput;
import com.jme3.system.JmeContext.Type;
import org.lwjgl.LWJGLException;
import org.lwjgl.opengl.Display;

@ -35,6 +35,7 @@ package com.jme3.system.lwjgl;
import com.jme3.input.JoyInput;
import com.jme3.input.KeyInput;
import com.jme3.input.MouseInput;
import com.jme3.input.TouchInput;
import com.jme3.input.dummy.DummyKeyInput;
import com.jme3.input.dummy.DummyMouseInput;
import java.util.concurrent.atomic.AtomicBoolean;
@ -196,6 +197,10 @@ public class LwjglOffscreenBuffer extends LwjglContext implements Runnable {
public JoyInput getJoyInput() {
return null;
}
public TouchInput getTouchInput() {
return null;
}
public void setTitle(String title) {
}

Loading…
Cancel
Save